Skip to content

fix: ignore non-zero exit codes for opencode non-interactive agents#602

Merged
khaliqgant merged 2 commits intomainfrom
opencode-ignore-exits
Mar 20, 2026
Merged

fix: ignore non-zero exit codes for opencode non-interactive agents#602
khaliqgant merged 2 commits intomainfrom
opencode-ignore-exits

Conversation

@khaliqgant
Copy link
Member

@khaliqgant khaliqgant commented Mar 20, 2026

opencode run exits with non-zero even on success, causing the workflow runner to retry steps that completed correctly. Add ignoreExitCode flag to CliDefinition and set it for opencode so verification (not exit code) determines success.


Open with Devin

opencode run exits with non-zero even on success, causing the workflow
runner to retry steps that completed correctly. Add ignoreExitCode flag
to CliDefinition and set it for opencode so verification (not exit code)
determines success.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

The truncated 8-char prefix wasn't useful for resuming or debugging
runs. Print the full ID so it can be copied directly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@khaliqgant khaliqgant merged commit d54e8c1 into main Mar 20, 2026
32 of 33 checks passed
@khaliqgant khaliqgant deleted the opencode-ignore-exits branch March 20, 2026 14:52
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