Repository navigation
Accept max request effort and ultra telemetry in protected Responses requests - #5439
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
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.
The Credential Proxy could refuse a native Codex request before it reached the configured model. One captured request used
xhighfor HTTPreasoning.effortandultrain turn metadata. Another usedmaxin both fields.The protected Responses route now accepts
maxas a request effort. The JSON string inclient_metadata["x-codex-turn-metadata"]acceptsmaxandultraforreasoning_effort. The proxy checks the fields independently and forwards their original values. It rejects HTTPultraand rejects unknown values, includingpersistent, in either field before reading the Secret. The grant still limits the model, and the saved HTTPS endpoint must match the destination authorized by the Credential Source.Verification
5498f394, with zero skips. The extended case checks the request received by an HTTPS fixture, the complete protected response, and the Secret-read and send counts after refusals. With only the validator reverted to the base version, the proxy refused the request and the case failed at its ready-handle assertion.On the first hosted run, all 84 static-egress tests and lane cleanup passed. The lane had 3,996 passes and one failure. In the unchanged installation preflight test, the child printed the expected refusal but exited on
SIGTERMafter about 31 seconds. The same case passed locally on Node.js 24.22.1. The failed job passed on its single retry at the same PR head.Hosted checks passed for
cc7702b2fe3e46c85b9c407c665ec04c91614282. CI · CodeQL