Skip to content

Decouple API-key cyber access programs from model discovery - #49714

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/f9cf1d2bd7c231645d50178cc6721b55a8d63268
Sep 30, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/f9cf1d2bd7c231645d50178cc6721b55a8d63268

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Decouple API-key cyber access programs from model discovery

What changed

Allow API-key sessions using the OpenAI provider to forward explicit cyber access programs when features.api_key_cyber_access_programs is enabled, regardless of features.api_key_model_discovery.

Testing

Expand the app-server test to cover all four combinations of the two feature flags, checking forwarded programs and failures when forwarding is disabled. Default the API-key test helper to model discovery disabled.

## What changed

Allow API-key sessions using the OpenAI provider to forward explicit cyber access programs when `features.api_key_cyber_access_programs` is enabled, regardless of `features.api_key_model_discovery`.

## Testing

Expand the app-server test to cover all four combinations of the two feature flags, checking forwarded programs and failures when forwarding is disabled. Default the API-key test helper to model discovery disabled.

GitOrigin-RevId: f9cf1d2bd7c231645d50178cc6721b55a8d63268
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/f9cf1d2bd7c231645d50178cc6721b55a8d63268 branch from f20a30a to f151a0f Compare September 30, 2026 19:21
@copyberry
copyberry Bot merged commit f151a0f into main Sep 30, 2026
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/f9cf1d2bd7c231645d50178cc6721b55a8d63268 branch September 30, 2026 19:21
@github-actions

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@github-actions github-actions Bot locked and limited conversation to collaborators Sep 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant