Repository navigation
Add runtime assertion authentication modes and an auth provider - #55636
Merged
copyberry[bot] merged 1 commit intoOct 20, 2026
Conversation
## What changed Add `RuntimeAuthProvider` to resolve request authentication through the runtime auth manager. Support `dual_header` mode, which sends a bearer credential alongside `x-openai-agent-assertion`, and `assertion_only` mode, which uses `Authorization: AgentAssertion …`. Replace stale authentication headers and sign a fresh assertion for each request attempt. Propagate registration failures without falling back to credential-only authentication, preserving policy errors and classifying transport failures, rate limits, and server errors as transient. Add the disabled-by-default `features.runtime_agent_instances` configuration with independent `enabled` and `mode` settings, schema support, and structured override merging. Selecting a mode alone does not enable the feature. ## Testing Add coverage for both modes with API key and ChatGPT credentials, stale header replacement, fresh assertions, credential refresh without runtime replacement, registration failures, and configuration parsing and merging. GitOrigin-RevId: 9e93d25762600f0ff592c5248fe4c8c2c8182c8d
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/9e93d25762600f0ff592c5248fe4c8c2c8182c8d
branch
from
October 20, 2026 17:29
e4b3a5d to
cb00a67
Compare
Contributor
Codex Review SummaryThis 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. |
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/9e93d25762600f0ff592c5248fe4c8c2c8182c8d
branch
October 20, 2026 17:30
NGA-Holly
temporarily deployed
to
issue-triage
October 20, 2026 17:38 — with
GitHub Actions
Inactive
NGA-Holly
temporarily deployed
to
issue-triage
October 20, 2026 17:38 — with
GitHub Actions
Inactive
NGA-Holly
temporarily deployed
to
issue-triage
October 20, 2026 17:38 — with
GitHub Actions
Inactive
FullerElectric
temporarily deployed
to
issue-triage
October 20, 2026 17:38 — with
GitHub Actions
Inactive
FullerElectric
temporarily deployed
to
issue-triage
October 20, 2026 17:38 — with
GitHub Actions
Inactive
FullerElectric
temporarily deployed
to
issue-triage
October 20, 2026 17:38 — with
GitHub Actions
Inactive
adilorenzo10
temporarily deployed
to
issue-triage
October 20, 2026 17:52 — with
GitHub Actions
Inactive
adilorenzo10
temporarily deployed
to
issue-triage
October 20, 2026 17:52 — with
GitHub Actions
Inactive
adilorenzo10
temporarily deployed
to
issue-triage
October 20, 2026 17:52 — with
GitHub Actions
Inactive
studioflows
temporarily deployed
to
issue-triage
October 20, 2026 17:53 — with
GitHub Actions
Inactive
studioflows
temporarily deployed
to
issue-triage
October 20, 2026 17:53 — with
GitHub Actions
Inactive
studioflows
temporarily deployed
to
issue-triage
October 20, 2026 17:53 — with
GitHub Actions
Inactive
This branch was previously deployed
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Add runtime assertion authentication modes and an auth provider
What changed
Add
RuntimeAuthProviderto resolve request authentication through the runtime auth manager. Supportdual_headermode, which sends a bearer credential alongsidex-openai-agent-assertion, andassertion_onlymode, which usesAuthorization: AgentAssertion ….Replace stale authentication headers and sign a fresh assertion for each request attempt. Propagate registration failures without falling back to credential-only authentication, preserving policy errors and classifying transport failures, rate limits, and server errors as transient.
Add the disabled-by-default
features.runtime_agent_instancesconfiguration with independentenabledandmodesettings, schema support, and structured override merging. Selecting a mode alone does not enable the feature.Testing
Add coverage for both modes with API key and ChatGPT credentials, stale header replacement, fresh assertions, credential refresh without runtime replacement, registration failures, and configuration parsing and merging.