Repository navigation
Reduce overhead in CLI integration tests - #62153
Merged
copyberry[bot] merged 1 commit intoNov 18, 2026
Merged
copyberry[bot] merged 1 commit into
copyberry[bot] merged 1 commit into
Conversation
## Why SSE-only mocks return 404 on WebSocket upgrades by default, causing retries before the tests reach the HTTP stream. In parallel runs, each CLI subprocess can also start a Tokio worker per host CPU. ## What changed - Share an SSE mock that returns HTTP 426 on WebSocket upgrades to trigger immediate HTTP fallback. Reuse it in the fallback test. - Set `TOKIO_WORKER_THREADS=2` for CLI subprocesses launched by the affected test helpers. Run streaming and resume cases that don't need the repository checkout in temporary working directories. - Test promptless `codex exec fork` option validation without creating a source thread. In the successful promptless fork case, keep stdin open and rely on the test runner's timeout to catch a blocked read. GitOrigin-RevId: 94c20d4b2fd7cc65bc0f2a1cd0318ac188f59f22
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/94c20d4b2fd7cc65bc0f2a1cd0318ac188f59f22
branch
from
November 18, 2026 01:49
f1f2066 to
3aaa23a
Compare
Contributor
Codex Review Summary: 🔄 RunningThis 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. |
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/94c20d4b2fd7cc65bc0f2a1cd0318ac188f59f22
branch
November 18, 2026 01:49
Water-Run
temporarily deployed
to
issue-triage
November 18, 2026 01:50 — with
GitHub Actions
Inactive
Water-Run
temporarily deployed
to
issue-triage
November 18, 2026 01:50 — with
GitHub Actions
Inactive
Water-Run
temporarily deployed
to
issue-triage
November 18, 2026 01:50 — with
GitHub Actions
Inactive
Adonis0123
temporarily deployed
to
issue-triage
November 18, 2026 01:59 — with
GitHub Actions
Inactive
Adonis0123
temporarily deployed
to
issue-triage
November 18, 2026 01:59 — with
GitHub Actions
Inactive
Adonis0123
temporarily deployed
to
issue-triage
November 18, 2026 01:59 — with
GitHub Actions
Inactive
Adonis0123
temporarily deployed
to
issue-triage
November 18, 2026 02:00 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reduce overhead in CLI integration tests
Why
SSE-only mocks return 404 on WebSocket upgrades by default, causing
retries before the tests reach the HTTP stream. In parallel runs, each
CLI subprocess can also start a Tokio worker per host CPU.
What changed
trigger immediate HTTP fallback. Reuse it in the fallback test.
TOKIO_WORKER_THREADS=2for CLI subprocesses launched by theaffected test helpers. Run streaming and resume cases that don't need
the repository checkout in temporary working directories.
codex exec forkoption validation without creating asource thread. In the successful promptless fork case, keep stdin
open and rely on the test runner's timeout to catch a blocked read.