[Bug]: Codex writer-lock failure persists after #30647 — usage-limit failure → account switch cannot resume (Nov 30 nightly)
Area
apps/server — Codex provider-instance handoff / failed-turn cleanup
Summary
This is a post-fix recurrence of #30630, which was closed on November 27 after #30647 merged. I previously reported this on November 24 in that issue, and have been experiencing it repeatedly for over a month. The error still blocks normal continuation on the November 30 nightly. T3 is the only coding client I use for these conversations; I am not deliberately opening them in a standalone Codex app, CLI, or IDE extension.
This is a serious reliability blocker for multi-account workflows. Repeatedly being forced to fork conversations or restart processes makes long-running orchestration impractical. Please prioritize a durable fix rather than marking this resolved based solely on the successful-turn account-switch test.
Version / environment
- T3 server:
0.1.14-nightly.20261130.5492(confirmed via live environment metadata) - macOS ARM64, Apple M4 Pro
- Codex, GPT-6.2 Sol Extra High
- Two distinct configured Codex provider instances used in the affected conversation
- Exact running Codex app-server version and lock-owning PID not yet collected
Reproduction / verified timeline
Observed November 30, 2026. Timestamps below are UTC; retrieved from T3's durable run and activity records, not inferred from the UI.
| UTC | Event |
|---|---|
| 20:44:48.177 | Run 1 requested on Codex instance A |
| 20:44:49.488 | Run 1 started |
| 20:45:07.608 | Usage limit reached |
| 20:45:07.609 | Run 1 marked failed |
| 21:32:21.989 | Run 2 requested on distinct Codex instance B; Resumed thread notification |
| 21:32:25.655 | Run 2 marked failed; startedAt = null |
There was approximately 47 minutes between the first failure and the attempted resume. Both runs selected gpt-6.2-sol. The thread has no active run after the failure.
The second run never started. Exact displayed error:
Provider turn failed to start
This conversation is open in another Codex client, such as the Codex app,
the Codex CLI, or an IDE extension. Codex lets one client write to a
conversation at a time. Quit that client, then send your message again.
Three Supabase MCP startup OAuth-refresh warnings also appeared during run 1; I am not asserting that those warnings caused the writer-lock conflict.
Expected behavior
After a terminal usage-limit failure, switching to a compatible account should release the old T3-owned session and resume the original native conversation, preserving its history and workspace. If another legitimate writer owns it, T3 should identify the conflict and provide a safe recovery path without silently forking or interrupting unrelated work.
Actual behavior / impact
The existing conversation cannot continue on the replacement account. Forking has historically been my reliable workaround; restarting the session has not consistently helped. This fragments the history of implementation and release-coordination conversations, and defeats the purpose of multi-account orchestration. This is not a minor UI defect; it blocks core functionality.
Investigation requested
Please revisit the terminal-error/usage-limit path in addition to the successful-turn handoff covered by #30647. Specifically check whether the old native writer is recorded and released when a run fails before a later provider-instance switch, whether detach waits for actual writer release, and whether the shipped fix handles this path. This hypothesis is consistent with the older issue but the current lock owner has not yet been verified locally.
Regression acceptance: reproduce with a real Codex account reaching its usage limit, switch to another compatible account after failure, and successfully complete a new turn in the same native conversation. Verify unrelated active turns remain intact and that the original conversation is not silently replaced or forked. Please also cover explicit recovery from an existing blocked thread.
Related: #30630, #30647, #8259. I have screenshots of the failure; private project context is omitted from this public report.