Skip to content

Preserve HTTP fallback for delegated sessions - #38681

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/1345f8fe739f55975aef432045348eae5a9278d6
Aug 15, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 15, 2026 •

Copy link
Copy Markdown

Preserve HTTP fallback for delegated sessions

Why

Responses WebSocket fallback is session-scoped. A delegated session created
after its parent switched to HTTP could otherwise make another WebSocket
connection attempt.

What changed

Disable WebSocket support for a delegated session when the parent session has
already fallen back to HTTP.

Testing

Add a guardian review regression test that verifies only the parent's initial
WebSocket attempt occurs and the guardian request uses the HTTP response path.

## Why

Responses WebSocket fallback is session-scoped. A delegated session created
after its parent switched to HTTP could otherwise make another WebSocket
connection attempt.

## What changed

Disable WebSocket support for a delegated session when the parent session has
already fallen back to HTTP.

## Testing

Add a guardian review regression test that verifies only the parent's initial
WebSocket attempt occurs and the guardian request uses the HTTP response path.

GitOrigin-RevId: 1345f8fe739f55975aef432045348eae5a9278d6
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/1345f8fe739f55975aef432045348eae5a9278d6 branch from 22a44d6 to 4e9a1a9 Compare August 15, 2026 01:25
@copyberry
copyberry Bot merged commit 4e9a1a9 into main Aug 15, 2026
28 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/1345f8fe739f55975aef432045348eae5a9278d6 branch August 15, 2026 01:27
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 15, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — 4e9a1a90 Deployed Aug 15, 2026 by shuntksh via Identify potential duplicates (open issues fallback) #37894
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