Repository navigation
Expose retryability advice for run failures - #6382
Merged
Merged
Conversation
markstuart-oai
requested review from
a team,
rm-openai and
seratch
as code owners
December 2, 2026 23:34
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
jbeckwith-oai
approved these changes
Dec 2, 2026
jbeckwith-oai
left a comment
Contributor
There was a problem hiding this comment.
No actionable findings. Reviewed retryability classification, conflicting and unknown evidence, strict HTTP status handling, and preservation of application-owned retry policy.
Comprehensive static review with independent review. No candidate code or tests were run locally. Hosted CI has no failures observed; some checks are still running.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This pull request lets applications inspect retryability advice on
RunErrorandRunRetrying. Recognized error codes and HTTP statuses produce a boolean, while missing, unknown, or conflicting evidence producesNone. Automatic retry behavior remains unchanged. Applications remain responsible for deciding whether repeating a turn or tool call is safe.Test plan
All 49 isolated tests in
test_gateway_errors.pypassed, covering scripted retry and HTTP failure metadata.The full verification script ran on all five changes together. Formatting, lint, mypy for Linux and Windows, and Pyright passed. All 285 focused tests passed.
make testsreported 464 passes and five failures involving a command hook, sandbox file writes, and a subagent. The same five tests failed on unmodifiedv1-alpha. This workspace blocks user namespace mapping.Issue number
None
Checks
.agents/skills/code-change-verification/scripts/run.sh/reviewbefore submitting this PR