Relationships
#4847 Docs: document swamp workflow approve --resume in the manual
Opened by zack · 11/17/2026
swamp-club#4828 adds a --resume flag to swamp workflow approve. When the approval leaves no gate pending (allGatesDecided), the same invocation resumes the run and exits with the resume's exit code; otherwise it approves only, exits 0 and lists the remaining gates under pendingGates. With --json it prints the approval document (with resuming true or false) followed by the documents swamp workflow resume prints. Under --server it never sends a resume when serve already auto-resumed the run or the run's owner resumes it, and serve authorizes the resume against the run action, so an approve-only caller gets the approval saved and the resume refused. It takes no resume inputs.
Pages to update:
- content/manual/reference/workflows.md: the manual_approval section says approving a gate does not continue the run and a resume does. Add the --resume form and the rules above.
- content/manual/how-to/gate-a-workflow-with-manual-approval: the approve-then-resume steps can show the one-command form for gates that need no resume inputs.
Open
No activity in this phase yet.
Sign in to post a ripple.