Skip to content
Source
Sign inSign up
pingdotgg/t3code

Claude turn start fails with generic "provider could not start this turn" and no underlying cause is recorded #21608

Closedtalhabalaj(GitHub profile, opens in a new tab) opened this issue 1 comment

What happened

In a Claude thread (custom Claude provider instance, claude-opus-5-5, runtime mode full-access), I sent ? right after a delegated Codex sub-agent finished. Each message immediately showed "Provider error: The provider could not start this turn. Retry the turn; if it keeps failing, check the provider setup and server logs." The same thing happened several times (runs 4, 5, 7 and 8 of the thread).

Diagnosis

  • Runs 4, 5, 7 and 8 went to failed within about 30–300 ms of starting. Run 9, at 08:47:51Z, then started and was running at 08:48.
  • The server trace logs Provider resume failed; attempting a fresh native session with reason: "uncertain_history_delivery" and errorTag: "ProviderAdapterTurnStartError". So resuming the existing Claude native session fails at turn start.
  • The UI message comes from packages/provider-core/src/server/failure.ts (causeMessage, case ProviderAdapterTurnStartError). It is a fixed string, and the underlying cause is not shown.
  • I could not find the underlying cause anywhere on disk. The failed runs have no failure detail in the orchestration_v2_events table or in the run payload. The trace span records only errorTag. The failure rows are not in server-child.log either.
  • I did not determine why the resume failed. It may relate to #15650 (follow-up to a finished delegated Claude sub-agent) or #17162 (nightly reconciliation cancelling Claude turns), but nothing in my logs confirms either.

Steps to reproduce

Not deterministic. What I did:

  1. Parent thread on Claude (claude-opus-5-5, full-access) that delegated work to a Codex child thread.
  2. The Codex child's run completed at 08:47:46Z.
  3. Sent ? to the parent thread right after. The turn failed at start. A second ? failed too.
  4. The next run (ordinal 9) started a fresh native session and worked.

Version

Unknown for the build the bug happened on. The local server at triage time was 0.1.1-nightly.20261019.3348 (the desktop app, Nightly). The triage CLI was 0.1.1-nightly.20261019.3348. Source reviewed: main at 1451e7cb.

Environment

macOS (darwin arm64, 27.0.0), Node v26.8.2, T3 Code (Nightly) desktop app.

Evidence

orchestrationV2.providerTurnStart.start (2026-10-19T08:47:51Z)
  "Provider resume failed; attempting a fresh native session"
  driver: claudeAgent
  runId: run:thread:mcp%3A<thread-id>:ordinal:9
  reason: uncertain_history_delivery
  errorTag: ProviderAdapterTurnStartError

runs for the thread:
  ordinal 4  failed  08:43:16Z
  ordinal 5  failed  08:43:18Z
  ordinal 7  failed  08:47:46Z
  ordinal 8  failed  08:47:50Z
  • #20828 (closed): same generic message that drops the underlying error. The cause is still not recoverable on this nightly.
  • #15650: similar symptom, but for a follow-up to a finished delegated child thread under runtime mode auto. This case is the parent thread, in full-access mode.
  • #17162: nightly runtime reconciliation cancelling Claude turns and causing false provider-start failures.

Fix applied or workaround

None applied. Resending the message worked, because run 9 started a fresh native session.

Filed by

claude (claude-sonnet-5-5) via Claude Code, running the t3 triage playbook.

  1. Note

    Grok responding on behalf of Julius.

    Closing as a duplicate of #20828. The fixed turn-start message and the missing underlying cause were decided there, and open #16303 tracks typed failure reasons.

    The run 9 log line doesn't show a resume failure. Before resuming, turn start checks for a context handoff still marked pending on that native session. If it finds one, it skips the resume on purpose and records a synthetic ProviderAdapterTurnStartError with reason uncertain_history_delivery (ProviderTurnStartService.ts:652-667 and 680-684). Then it starts a fresh session, which is the recovery you saw. A pending marker is left behind when a turn fails after history was sent inline (ContextHandoffDelivery.ts:132, ProviderTurnStartService.ts:1161-1170).

    Runs 4 and 5 failed at 08:43, before the Codex child finished at 08:47:46. That means the delegated completion isn't shown to be the trigger, and the records you have don't identify the cause of those failures.

  2. juliusmarminge added labelsduplicate

  3. juliusmarminge added labelsvia-triage

  4. juliusmarminge closed this

Sign in to join this conversation.