Files
vercel__workflow/.changeset/bulk-cancel-cli.md
Karthik Kalyan 2150798ca6 feat(cli): bulk-cancel runs in a single operation (#3348)
* feat(cli): bulk-cancel runs in a single operation

Replace the per-run cancel loop in `workflow cancel` with one `cancelRuns`
call, validate `--limit` (1-500), print a compact outcome summary with
per-run lines for surfaced failures, and exit nonzero only when a run fails.
The bulk logic lives in a dependency-injected `performBulkCancel` helper so it
is unit-testable without an oclif harness.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* fix(cli): address bulk cancel review feedback

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-05 14:54:21 -07:00

239 B

@workflow/cli
@workflow/cli
minor

workflow cancel now bulk-cancels runs matched by --status (pending/running) or --workflowName in a single operation. Prints a compact outcome summary and exits nonzero only when a run genuinely fails.