Skip to content

Don't send AllInputsClosed event to source nodes#1302

Merged
haixuanTao merged 1 commit intomainfrom
no-allinputsclosed-for-source-nodes
Jan 16, 2026
Merged

Don't send AllInputsClosed event to source nodes#1302
haixuanTao merged 1 commit intomainfrom
no-allinputsclosed-for-source-nodes

Conversation

@phil-opp
Copy link
Copy Markdown
Collaborator

This keeps the event channel open for source nodes so that they can receive manual stop events. It also simplifies our policy around dealing with event stream closure: All nodes (including source nodes) should now exit once the event stream closes (i.e. after receiving a stop event of any kind).

Note that this is technically a breaking change. However, we don't expect that there are nodes that rely on the immediate stop event and event stream closure. Because of this, we plan to treat this as a bugfix without doing a semver-breaking release. We should mention it prominently in the release docs though.

Alternative to #992

Fixes #500

This keeps the event channel open for source nodes so that they can receive manual stop events. It also simplifies our policy around dealing with event stream closure: All nodes (including source nodes) should now exit once the event stream closes (i.e. after receiving a stop event of any kind).
@haixuanTao haixuanTao merged commit ddb0173 into main Jan 16, 2026
28 checks passed
@haixuanTao haixuanTao deleted the no-allinputsclosed-for-source-nodes branch January 16, 2026 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nodes with no inputs has empty events stream

2 participants