Skip to content

fix: honour the CLI exit code as the run verdict - #4

Merged
finalerock44 merged 1 commit into
mainfrom
fix/honour-cli-exit-code
Sep 15, 2026
Merged

finalerock44 merged 1 commit into
mainfrom
fix/honour-cli-exit-code

Conversation

@finalerock44

Copy link
Copy Markdown
Contributor

dcd cloud exits 2 when the run itself failed (a failed test, or a cancelled one), but only exit 1 was treated as an error — so the separate dcd status call was the only gate on the job's outcome.

Now exit 2 fails the job regardless of what the status call reports, and a non-terminal status alongside a clean exit warns instead of passing mutely.

`dcd cloud` exits 2 when the run itself failed (a failed test, or a
cancelled one), but only exit 1 was treated as an error — so the separate
`dcd status` call was the only gate on the job's outcome.

Now exit 2 fails the job regardless of what the status call reports, and a
non-terminal status alongside a clean exit warns instead of passing mutely.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@finalerock44 finalerock44 self-assigned this Sep 15, 2026
@finalerock44
finalerock44 merged commit 6578800 into main Sep 15, 2026
2 checks passed
@finalerock44
finalerock44 deleted the fix/honour-cli-exit-code branch September 15, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant