You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use Wait to correlate external results and wake-up signals #447
AI disclosure: Codex (gpt-6.2-astra) helped draft this issue from the maintainer's requested API changes.
Use case
A workflow node pauses while the host waits for an external result or a wake-up signal. The host uses the opaque wait_id to correlate the result or signal with a wait of the given wait_type.
Current behavior
#446 introduced the unreleased ExternalWait reason with the wire tag external_wait. Its payload requires a frame_id even though Graphon already tracks the execution frame in node events and runtime state.
Proposed change
Rename the reason to Wait, serialize it with TYPE="wait", and remove frame_id from the reason. Keep node_id, node_title, and node_execution_id so consumers can identify the node that paused. The unreleased tag requires no migration.
Cover two executions of the same node waiting in different frames. Their distinct wait IDs should survive event and snapshot round trips.
Activity