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
specify workflow run accepts --input key=value, but a paused run cannot receive any new or updated workflow input through specify workflow resume. workflow resume <run_id> re-runs the paused step using only the inputs captured at start time. When information needed to continue only becomes available after the run pauses, there is no supported way to supply it; the run can only re-pause or proceed with stale inputs.
Proposed Solution
Allow workflow resume to accept the same workflow inputs that workflow run already accepts, reusing the existing input model rather than introducing a new mechanism:
Reuse the exact typed validation path used for initial run inputs.
Merge supplied inputs over the run's persisted inputs; keys not supplied are unchanged.
Default behaviour with no --input is identical to today.
This is related to but distinct from #2405 (file-reference inputs at run time); this issue is about supplying inputs at resume time. It adds a new CLI argument, so per CONTRIBUTING.md (new arguments "make sure that it was discussed and agreed upon by the project maintainers") I'm filing this as a discussion issue first and not attaching a PR until there's agreement.
Alternatives Considered
Aborting and re-running the whole workflow with new --input — loses run state/history.
Smuggling values through files a step reads out-of-band — undocumented and not validated.
Component
Specify CLI (initialization, commands)
AI Agent (if applicable)
None — engine/CLI feature, agent-independent.
Use Cases
A long workflow pauses at a point where a value (path, id, flag) is discovered only mid-run; the operator resumes with that value.
Re-running a paused step with a corrected input after a typo, without restarting the run.
Acceptance Criteria
workflow resume <run_id> --input k=v resumes with k merged into the run's inputs, validated by the existing input typing.
Without --input, resume behaviour is unchanged.
Works in both interactive and non-interactive invocation.
Additional Context
AI disclosure: this issue was drafted with AI assistance (Claude); current resume behaviour (no input flag) was verified against main before filing.
Problem Statement
specify workflow runaccepts--input key=value, but a paused run cannot receive any new or updated workflow input throughspecify workflow resume.workflow resume <run_id>re-runs the paused step using only the inputs captured at start time. When information needed to continue only becomes available after the run pauses, there is no supported way to supply it; the run can only re-pause or proceed with stale inputs.Proposed Solution
Allow
workflow resumeto accept the same workflow inputs thatworkflow runalready accepts, reusing the existing input model rather than introducing a new mechanism:Design intent:
--answer/--gate-answer/--gate-scriptstyle control; see the closed feat(workflows): add --gate-script for non-interactive gate testing #2667 direction).runinputs.--inputis identical to today.This is related to but distinct from #2405 (file-reference inputs at run time); this issue is about supplying inputs at resume time. It adds a new CLI argument, so per CONTRIBUTING.md (new arguments "make sure that it was discussed and agreed upon by the project maintainers") I'm filing this as a discussion issue first and not attaching a PR until there's agreement.
Alternatives Considered
--input— loses run state/history.Component
Specify CLI (initialization, commands)
AI Agent (if applicable)
None — engine/CLI feature, agent-independent.
Use Cases
Acceptance Criteria
workflow resume <run_id> --input k=vresumes withkmerged into the run's inputs, validated by the existing input typing.--input, resume behaviour is unchanged.Additional Context
AI disclosure: this issue was drafted with AI assistance (Claude); current
resumebehaviour (no input flag) was verified againstmainbefore filing.