Repository navigation
Serialize Codex probe pairs and preserve final service tiers - #272
Merged
Merged
Conversation
HTExplicit
enabled auto-merge (squash)
October 10, 2026 02:53
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.
Concurrent validations for different models or client windows on one account can currently interleave their two STATE shots: A mint, B mint, A continuation, B continuation. Each shot releases the shared execution permit. That violates the pinned ranxi probe's same-account serialization contract and can invalidate the observation while another validation is running.
Hold one existing account/global execution lease from the target's mint through continuation. Nested shots reuse that lease, and source acquisition still finishes before the target lease begins. Other accounts retain access to the remaining execution slots; cancellation releases capacity. STATE acceptance, account configuration, lease expiry, model selection and business retry behavior remain unchanged.
Qualification also reconstructed service_tier solely from a routing hint that intentionally omits default, auto and scale. Carry the final body/frame tier in local request context for HTTP, passthrough and WS, use it in the probe body and proof key, and retain it when rebinding preparation to the caller's cancellation. The actual business body and routing hint format remain unchanged.
Validation: a deterministic regression reproduced interleaving in both public preparation and administrator diagnostic contexts before the fix and passes afterward. Focused checks cover nested lease ownership, cancellation, distinct-account progress, shared-waiter cancellation, configuration cancellation and bounded candidate replacement. Native HTTP tool-continuation checks compare both probe and business tiers for priority, default, flex, ultrafast and omission; default/auto/scale/omission proofs remain independent despite identical hints. Existing WS diagnostic continuation and configured-prewarm checks pass. The v6 live failure receipts are retained; code checks do not by themselves establish that all upstream failures are resolved. Live verification follows the fixed-version deployment.