Repository navigation
fix(environment): support 16 MiB control frames with explicit size errors - #656
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 885385f5db
ℹ️ 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".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 13af81e775
ℹ️ 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".
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 3879949. Configure here.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5c6eb657e1
ℹ️ 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".
af224d0 to
4316b04
Compare

A roughly 72 KB task-start request exceeded asyncio's implicit 64 KiB line limit, causing the environment to close the connection and the rollout to report only
EOFError. Control requests and responses now support 16 MiB of encoded JSON. Frame assembly preserves newline-delimited framing and normal socket backpressure, including when a connection becomes a raw capability tunnel.Requests are validated before transmission so a local size error leaves the client usable for retry. Task-start replies rejected by size validation cancel the suspended task; transport failures leave it parked for session resume. Oversized inbound frames receive a bounded protocol error before disconnect, and oversized response errors retain the request ID when it fits or use a null ID when it does not. File-tracking transfers retain their separate limits.
Validation:
git diff --checkpassed.Both the rollout driver and environment image must use the updated SDK to exchange frames above 64 KiB. Existing readers retain their old limit. No runtime deployment or SDK release is included.