Skip to content

Stabilize TUI startup tests and strengthen daemon recovery coverage - #62116

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/243f5075fca42d1192f0087e2cc21a6b0796226b
Nov 17, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/243f5075fca42d1192f0087e2cc21a6b0796226b

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Stabilize TUI startup tests and strengthen daemon recovery coverage

Why

Model fetches can delay the startup screens that PTY tests wait for. Daemon compatibility recovery also probes the daemon version on a separate connection before offering a recovery choice.

What changed

  • Configure the daemon compatibility and external editor tests with a local catalog of bundled models to avoid model-fetch delays.
  • Return a complete InitializeResponse from the mock daemon and verify the version probe's initialize/initialized handshake before selecting recovery.
  • Keep the daemon listener open and assert that the TUI does not reconnect after choosing to run without the daemon, for both explicit feature enable and disable scenarios.

…62116)

## Why

Model fetches can delay the startup screens that PTY tests wait for. Daemon compatibility recovery also probes the daemon version on a separate connection before offering a recovery choice.

## What changed

- Configure the daemon compatibility and external editor tests with a local catalog of bundled models to avoid model-fetch delays.
- Return a complete `InitializeResponse` from the mock daemon and verify the version probe's `initialize`/`initialized` handshake before selecting recovery.
- Keep the daemon listener open and assert that the TUI does not reconnect after choosing to run without the daemon, for both explicit feature enable and disable scenarios.

GitOrigin-RevId: 243f5075fca42d1192f0087e2cc21a6b0796226b
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/243f5075fca42d1192f0087e2cc21a6b0796226b branch from c7e9f08 to b8f6787 Compare November 17, 2026 22:15
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor
Codex Review Summary: 🔄 Running

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-11-17T22:15:18.029984Z c7e9f08 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@copyberry
copyberry Bot merged commit b8f6787 into main Nov 17, 2026
10 of 23 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/243f5075fca42d1192f0087e2cc21a6b0796226b branch November 17, 2026 22:15
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 17, 2026

This branch was successfully deployed

1 active and 1 inactive deployments
issue-triage — b8f6787e Deployed Nov 17, 2026 by xerial via Identify potential duplicates (open issues fallback) #64028
pypi — b8f6787e Deployed Nov 17, 2026 by rhan-oai via publish-python-sdk #443
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.

5 participants