Skip to content

Route blocked network requests to their owning calls - #32897

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/961901bbc07cc498309453ec78cda1a56ab00a4b
Jul 13, 2026
Merged

Route blocked network requests to their owning calls#32897
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/961901bbc07cc498309453ec78cda1a56ab00a4b

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 13, 2026

Copy link
Copy Markdown

Route blocked network requests to their owning calls

Why

Policy-blocked proxy requests must terminate the corresponding active tool call and preserve the correct approval result, including when multiple calls are running concurrently.

What changed

  • Resolve a blocked request's execution ID to its registered active network call before recording the policy denial.
  • Preserve an outcome already recorded for that call, and cancel the owning call after storing a new denial.

Testing

Expand network approval integration coverage for Guardian and user decisions, permission hooks, persisted policy amendments, concurrent calls, timeouts, cancellations, and unattributed proxy requests.

## Why

Policy-blocked proxy requests must terminate the corresponding active tool call and preserve the correct approval result, including when multiple calls are running concurrently.

## What changed

- Resolve a blocked request's execution ID to its registered active network call before recording the policy denial.
- Preserve an outcome already recorded for that call, and cancel the owning call after storing a new denial.

## Testing

Expand network approval integration coverage for Guardian and user decisions, permission hooks, persisted policy amendments, concurrent calls, timeouts, cancellations, and unattributed proxy requests.

GitOrigin-RevId: 961901bbc07cc498309453ec78cda1a56ab00a4b
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/961901bbc07cc498309453ec78cda1a56ab00a4b branch from bcdd2d7 to 090f4de Compare July 13, 2026 23:34
@copyberry
copyberry Bot merged commit 090f4de into main Jul 13, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/961901bbc07cc498309453ec78cda1a56ab00a4b branch July 13, 2026 23:35
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 13, 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