Repository navigation
feat(workflows): add cooperative pause and resume #8320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
wenshao
merged 35 commits into
QwenLM:main
from
qqqys:codex/issue-8105-workflow-pause-resume
Aug 8, 2026
Merged
Changes from 2 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
b88fdac
feat(workflows): add cooperative pause and resume
qwen-code-dev-bot b84c144
fix(workflows): restrict pause to background runs
qqqys 2337d58
fix(cli): clarify foreground workflow pause errors
qwen-code-dev-bot beba054
fix(core): preserve dispatch errors across cancellation
qwen-code-dev-bot 552cb77
test(core): cover late workflow state callbacks
qwen-code-dev-bot e0ec123
fix(workflows): address review suggestions (#8320)
qwen-code-dev-bot ad9adcd
test(workflows): pin review-flagged mutation-surviving branches (#8320)
9b9d2f5
test(cli): use valid agent status in detail-view reset test (#8320)
e2d9f09
test(workflows): harden pause-gate settle probes with a full flush (#…
7b35105
fix(workflows): address round-5 review findings (#8320)
75c6653
Merge branch 'main' into codex/issue-8105-workflow-pause-resume
wenshao bb9be5c
Merge branch 'main' into codex/issue-8105-workflow-pause-resume
qwen-code-dev-bot 4b27640
Merge branch 'main' into codex/issue-8105-workflow-pause-resume
qwen-code-dev-bot 3fc2555
test(ci): sync review timeout assertions with repository variables (#…
qwen-code-dev-bot 56822a1
Merge remote-tracking branch 'origin/main' into codex/issue-8105-work…
qwen-code-dev-bot b2c97d5
Merge remote-tracking branch 'origin/main' into codex/issue-8105-work…
qwen-code-dev-bot 25fb589
fix(workflows): address round-6 review findings (#8320)
qwen-code-dev-bot f3ea784
Merge branch 'main' into codex/issue-8105-workflow-pause-resume
qwen-code-dev-bot eb6e6a4
Merge branch 'main' into codex/issue-8105-workflow-pause-resume
wenshao eafa7fb
Merge branch 'main' into codex/issue-8105-workflow-pause-resume
qwen-code-dev-bot 4f89c15
fix(workflows): address round-7 review findings (#8320)
qwen-code-dev-bot e005d60
Merge branch 'main' into codex/issue-8105-workflow-pause-resume
qwen-code-dev-bot da95171
fix(workflows): address round-8 review findings (#8320)
qwen-code-dev-bot 57e9044
Merge branch 'main' into codex/issue-8105-workflow-pause-resume
wenshao c594078
fix(workflows): address round-9 review findings (#8320)
qwen-code-dev-bot 3f5f27d
Merge branch 'main' into codex/issue-8105-workflow-pause-resume
wenshao e27867d
Merge branch 'main' into codex/issue-8105-workflow-pause-resume
qwen-code-dev-bot 9685fb0
fix(workflows): address round-10 review findings (#8320)
qwen-code-dev-bot fd8a6ed
Merge branch 'main' into codex/issue-8105-workflow-pause-resume
wenshao 81d7702
fix(workflows): address round-11 review findings (#8320)
qwen-code-dev-bot 5c117fa
Merge branch 'main' into codex/issue-8105-workflow-pause-resume
qwen-code-dev-bot 89b7803
fix(workflows): address round-12 review findings (#8320)
qwen-code-dev-bot 750133f
fix(workflows): address round-13 review findings (#8320)
qwen-code-dev-bot 444b52b
fix(workflows): address round-14 review findings (#8320)
qwen-code-dev-bot e41fb76
fix(workflows): address round-15 review findings (#8320)
qwen-code-dev-bot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Suggestion] The error message "could not be paused because its state changed" is misleading when
registry.pause()returnsfalsebecause the workflow is not backgrounded. The command checkstarget.status === 'running'before callingpause(), but the registry also gates onentry.isBackgrounded— so a foreground workflow withstatus === 'running'passes the command's check but fails the registry's, and the user sees a state-change error that doesn't apply. — Failure scenario: user types/workflows p <runId>on a foreground workflow and receives "could not be paused because its state changed" when the actual reason is that the workflow isn't running in the background.— qwen3.7-max via Qwen Code /review