Skip to content

Update codex to 0.121.0 - #95

Closed
codex-acp-ci-app[bot] wants to merge 2 commits into
mainfrom
codex-update/0.121.0
Closed

Update codex to 0.121.0#95
codex-acp-ci-app[bot] wants to merge 2 commits into
mainfrom
codex-update/0.121.0

Conversation

@codex-acp-ci-app

Copy link
Copy Markdown

What's new

Previously failed tests and reasons:

  • src/__tests__/CodexACPAgent/mcp-session.test.ts (should return configured mcp) failed with Failed to initialize session: Read-only file system (os error 30) because Codex/MCP startup tried to use non-writable default state paths.
  • The same test also hit a startup failure when CODEX_HOME was set but missing (CODEX_HOME points to ... but that path does not exist), and an intermittent teardown failure (ENOTEMPTY) during temp directory removal.

What I changed and why:

  • Updated realtime notification handling in src/CodexEventHandler.ts from thread/realtime/transcriptUpdated to explicit thread/realtime/transcript/delta and thread/realtime/transcript/done no-op cases to match regenerated app-server types after the update and restore switch exhaustiveness/type safety.
  • Hardened src/__tests__/CodexACPAgent/mcp-session.test.ts to run Codex with a per-test writable HOME/CODEX_HOME, create CODEX_HOME before startup, use an explicit resolved cwd, restore env vars after test, and make cleanup best-effort to avoid transient filesystem race failures.

@ishulgin
ishulgin deleted the codex-update/0.121.0 branch July 8, 2026 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant