Skip to content

PAC 1 - Add system proxy feature config surface#26706

Merged
canvrno-oai merged 10 commits into
mainfrom
canvnro/codex-pac-pr1-conf
Jun 16, 2026
Merged

PAC 1 - Add system proxy feature config surface#26706
canvrno-oai merged 10 commits into
mainfrom
canvnro/codex-pac-pr1-conf

Conversation

@canvrno-oai

@canvrno-oai canvrno-oai commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

Summary

Introduces the default-off respect_system_proxy feature flag used to gate first-class system PAC/proxy support for Codex-owned native clients.

With the feature disabled or absent, behavior remains unchanged. This PR establishes the configuration and managed-requirement surface; proxy discovery and request routing are implemented by follow-up PRs.

Configuration

User configuration uses the standard boolean feature form:

[features]
respect_system_proxy = true

Managed feature requirements use the corresponding boolean key. The effective runtime configuration is exposed as a boolean and defaults to false.

Implementation

  • Registers respect_system_proxy as an under-development, default-off feature.
  • Resolves user configuration and managed feature requirements into Config.respect_system_proxy.
  • Provides bootstrap resolution for startup paths that must evaluate the feature before full configuration loading completes.
  • Uses the standard feature CLI and config-editing behavior.
  • Excludes features.respect_system_proxy from project-local configuration.
  • Updates the generated configuration schema.

End-user behavior

  • No networking behavior changes when the feature is absent or disabled.
  • Enabling the feature makes the boolean available to the native proxy-routing implementation in follow-up PRs.
  • Repository-local configuration cannot enable the feature.

Test coverage

Covers scalar configuration and CLI override resolution, managed requirement constraints, bootstrap resolution, and project-local filtering.

@canvrno-oai canvrno-oai changed the title [codex] Add system proxy feature config surface PAC - Add system proxy feature config surface Jun 6, 2026
@canvrno-oai canvrno-oai force-pushed the canvnro/codex-pac-pr1-conf branch from 02c4962 to 9175bbb Compare June 8, 2026 17:52
@canvrno-oai

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review: Didn't find any major issues. More of your lovely PRs please.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@canvrno-oai canvrno-oai marked this pull request as ready for review June 9, 2026 20:54
@canvrno-oai canvrno-oai requested a review from a team as a code owner June 9, 2026 20:54
@canvrno-oai canvrno-oai changed the title PAC - Add system proxy feature config surface PAC 1 - Add system proxy feature config surface Jun 9, 2026

@fcoury-oai fcoury-oai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Codex found 3 potential issues and I left them inline.

The happy path testing worked as expected, so I am approving the PR and leaving at your discretion whether to address the comments.

Comment thread codex-rs/core/src/config/mod.rs
Comment thread codex-rs/features/src/lib.rs Outdated
Comment thread codex-rs/features/src/lib.rs
@canvrno-oai canvrno-oai marked this pull request as draft June 16, 2026 00:19

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 99745d7f62

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread codex-rs/features/src/feature_configs.rs Outdated
Comment thread codex-rs/features/src/lib.rs Outdated
@canvrno-oai canvrno-oai requested a review from anp-oai June 16, 2026 05:38
Comment thread codex-rs/features/src/feature_configs.rs Outdated
Comment thread codex-rs/features/src/feature_configs.rs Outdated
@canvrno-oai canvrno-oai requested a review from anp-oai June 16, 2026 16:48
Comment thread codex-rs/core/src/config/mod.rs Outdated
@anp-oai

anp-oai commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: b98d482496

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@canvrno-oai canvrno-oai requested a review from anp-oai June 16, 2026 21:59
@canvrno-oai canvrno-oai marked this pull request as ready for review June 16, 2026 23:32
@canvrno-oai canvrno-oai merged commit f0cb96b into main Jun 16, 2026
31 checks passed
@canvrno-oai canvrno-oai deleted the canvnro/codex-pac-pr1-conf branch June 16, 2026 23:54
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 16, 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.

3 participants