Backport release/v6.6: Tolerate failed Codex review executions - #3951
Conversation
Codex failures previously terminated the shell before the existing fallback review could be generated and posted to Slack. Handle failed invocations as non-blocking so the workflow publishes its fallback review instead. (cherry picked from commit cc6d8ea)
PR SummaryLow Risk Overview Both Codex paths (embedded Backport of #3807 onto Reviewed by Cursor Bugbot for commit c7299b2. Bugbot is set up for automated code reviews on this repo. Configure here. |
|
The latest Buf updates on your PR. Results from workflow Buf / buf (pull_request).
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release/v6.6 #3951 +/- ##
================================================
- Coverage 58.78% 58.12% -0.66%
================================================
Files 2220 2151 -69
Lines 183137 174998 -8139
================================================
- Hits 107649 101722 -5927
+ Misses 65781 64235 -1546
+ Partials 9707 9041 -666
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit c7299b2. Configure here.
| < prompt.txt \ | ||
| > codex.log 2>&1; then | ||
| echo "Codex review failed; publishing fallback review." >&2 | ||
| fi |
There was a problem hiding this comment.
Missing Codex failure log dump
Low Severity
The small-diff Codex failure handler redirects all output to codex.log but never prints it, unlike the large-diff handler which runs cat codex.log. Because failures are now non-fatal, the common path can succeed with only a generic message and no reason for the failure in the CI logs.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit c7299b2. Configure here.


Backport of #3807 to
release/v6.6.