Skip to content

Sidebar click-resume for a Codex session settles into status:error (no terminalId) on the legacy server #517

Description

@danshapiro

During Rust-port acceptance testing (test/e2e-browser/specs/sidebar-click-resume.spec.ts on branch feat/rust-tauri-port, commit 8d60f7e, pinned there as test.fixme), clicking a seeded Codex session in the sidebar on the LEGACY server consistently settles the new pane into content.status === 'error' with no terminalId.

Ruled out as fixture problems: a real executable CODEX_CMD override was set, and codingCli.enabledProviders explicitly included codex. The rust server on the same flow creates a live terminal (via the FreshCodex JSON-RPC path).

Repro steps:

  1. Seed a codex session dir
  2. Boot the legacy dist server with CODEX_CMD pointing at any executable
  3. Open the SPA
  4. Click the codex session in the left panel
  5. Observe the pane error state (no terminalId assigned, content.status === 'error')

Context: Discovered by independent review (wave-2 review, 2026-07-19) which adjudicated it 'genuine legacy defect, not a fixture limitation'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions