Repository navigation
feat(runtime): support external wait pause reasons - #446
Merged
Merged
Conversation
Persist the host wait ID and frame-local node execution identity through existing pause events and runtime snapshots. Leave job submission and result ownership with the host.
zyssyz123
marked this pull request as ready for review
November 27, 2026 03:27
Assisted-by: Codex:gpt-6.2-astra
Assisted-by: Codex:gpt-6.2-astra
Assisted-by: Codex:gpt-6.2-astra
Assisted-by: Codex:gpt-6.2-astra
QuantumGhost
approved these changes
Nov 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Important
!Related Issue
Closes #445
Summary
ExternalWaitgives hosts a shared pause reason for work such as human input and external Agent tasks. It carries a requiredwait_typewith dot-separated ASCII identifiers and a requiredwait_idstring whose meaning the host defines. Upstream Dify producers reservedify.*. Graphon preserves the ID verbatim. Node events and runtime snapshots carry execution and frame identity, and the existing Human Input event and snapshot formats remain compatible.The regression covers two frames running the same node, event and snapshot round trips, valid and invalid wait type names, and opaque IDs. The 54 focused tests pass on each of Python 3.12 and 3.13. All 29 documentation tests, Ruff, ty, import boundaries, and the lock check pass.
Review suggestion · Dify integration
Checklist
!