Skip to content

test(core): expose rollback errors in budget test - #843

Merged
GraciousGazelles merged 7 commits into
mainfrom
repair/rollout-budget-rollback-error-w11999
Sep 9, 2026
Merged

GraciousGazelles merged 7 commits into
mainfrom
repair/rollout-budget-rollback-error-w11999

Conversation

@GraciousGazelles

Copy link
Copy Markdown
Collaborator

Diagnostic-only test change for w11999 admission openai#59956.

The rollback wait now binds to the submitted operation ID and fails immediately on a matching EventMsg::Error, preserving the existing 10-second timeout and budget assertion. No production code or retry behavior changed.

Hosted validation should run the exact targeted test: core::suite::rollout_budget::restates_the_current_remainder_after_rollback.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request updates the integration test restates_the_current_remainder_after_rollback in rollout_budget.rs to replace the generic wait_for_event helper with a robust, timeout-bounded event loop. This loop explicitly awaits the event matching the rollback_id and handles success (ThreadRolledBack) or failure (Error) cases. There are no review comments, so I have no feedback to provide.

@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Sep 9, 2026
Merged via the queue into main with commit af688af Sep 9, 2026
90 checks passed
@GraciousGazelles
GraciousGazelles deleted the repair/rollout-budget-rollback-error-w11999 branch September 9, 2026 07: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.

2 participants