Skip to content

Enforce application network policy for daemon updates - #52223

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/960485c7c57f34654402d7316cab9e0f66f24af3
Oct 8, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Enforce application network policy for daemon updates

Why

Daemon updates must honor application network restrictions and stop when their configuration cannot be loaded.

What changed

Activate the configured application network policy before creating the HTTP client for daemon updates and the PID update loop. Propagate configuration errors instead of falling back to a default HTTP client.

Testing

Add tests for configuration error propagation and managed network requirements, covering denied and unlisted destinations as well as an allowed destination. Retain coverage for features.respect_system_proxy.

## Why

Daemon updates must honor application network restrictions and stop when their configuration cannot be loaded.

## What changed

Activate the configured application network policy before creating the HTTP client for daemon updates and the PID update loop. Propagate configuration errors instead of falling back to a default HTTP client.

## Testing

Add tests for configuration error propagation and managed network requirements, covering denied and unlisted destinations as well as an allowed destination. Retain coverage for `features.respect_system_proxy`.

GitOrigin-RevId: 960485c7c57f34654402d7316cab9e0f66f24af3
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Note

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/960485c7c57f34654402d7316cab9e0f66f24af3 branch from 87d106d to d570b36 Compare October 8, 2026 18:53
@copyberry
copyberry Bot merged commit d570b36 into main Oct 8, 2026
1 check passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/960485c7c57f34654402d7316cab9e0f66f24af3 branch October 8, 2026 18:53
@swax
swax deployed to issue-triage October 8, 2026 18:54 — with Image GitHub Actions Active
@swax
swax deployed to issue-triage October 8, 2026 18:54 — with Image GitHub Actions Active
@swax
swax deployed to issue-triage October 8, 2026 18:54 — with Image GitHub Actions Active
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 8, 2026
@swax
swax deployed to issue-triage October 8, 2026 18:55 — with Image GitHub Actions Active

This branch was successfully deployed

1 active deployment
issue-triage — d570b363 Deployed Oct 8, 2026 by swax via Identify potential duplicates (open issues fallback) #53280
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.

2 participants