GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [Bug]: Auto-settle on merge races a finished delegated task before its completion wake dispatches · Issue #41785 · pingdotgg/t3code Not planned Not planned Copy link DescriptionBefore submitting
Areaapps/server Steps to reproduce
(Same race also applies when a single parent turn merges the last open linked PR with no active PR watch and launches an async Expected behaviorThe parent thread stays active until the delegated task's completion wake is delivered and the parent finishes handling the result. Its subagent threads do not move to Settled mid-workflow, and its live provider session stays open for the wake turn. Actual behaviorWhen the delegated task finishes, pending background work clears before the completion wake becomes a message or queued run, and auto-settle can win the race:
In the server trace below, auto-settle started Related but different: #26083 (Claude-native background Bash with ImpactMinor bug or occasional failure Version or commit0.1.12-nightly.20261123.5151 (code path also checked on main @ 7c95302) EnvironmentLinux x64 (Arch / Omarchy), T3 Code desktop & server 0.1.12-nightly.20261123.5151, Antigravity (Gemini 4 Neon) parent delegating to Claude (Claude Opus 5.5) Logs or stack traces# Redacted thread IDs from server.trace.ndjson (2026-11-23 UTC) # Note: ProviderContinuationRequests.offer, ProviderSessionManager.detach, and ProviderTurnStartService.start # spans carry no thread_id attribute; ordering and settle behavior attribute them to this wake and detach/restart. 23:51:40.483965Z | 2.86ms | Success | CHILD | orchestrationV2.EventSink.writeIfRunCurrent 23:51:40.567838Z | 18.70ms | Success | PARENT | orchestrationV2.EventSink.write 23:51:40.605219Z | 6.92ms | Success | CHILD | orchestrationV2.dispatch.withReceipt provider-session.detach 23:51:40.616710Z | 0.04ms | Success | SERVER | ProviderContinuationRequests.offer 23:51:40.628236Z | 13.64ms | Success | SERVER | ProviderSessionManager.detach (child detach) 23:51:40.628663Z | 19.54ms | Success | PARENT | orchestrationV2.dispatch.withReceipt thread.auto-settle 23:51:40.628905Z | 14.24ms | Success | PARENT | orchestrationV2.dispatch.once thread.auto-settle 23:51:40.648611Z | 67.92ms | Success | PARENT | orchestrationV2.dispatch.withReceipt message.dispatch (delegated-completion) 23:51:40.653173Z | 272.18ms | Success | SERVER | ProviderSessionManager.detach (parent detach / session close) 23:51:40.656074Z | 45.02ms | Success | PARENT | orchestrationV2.dispatch.once message.dispatch (delegated-completion) 23:51:40.689508Z | 33.73ms | Success | CHILD | orchestrationV2.dispatch.withReceipt thread.auto-settle 23:51:40.926178Z | 1296.22ms | Success | SERVER | ProviderTurnStartService.start (parent cold restart) 23:51:42.201811Z | 12.33ms | Success | PARENT | orchestrationV2.EventSink.writeIfRunCurrent (wake run started, 1.55s after dispatch) WorkaroundPin the parent thread while multi-step post-merge delegation runs, or disable Auto-settle merged threads globally (Settings → Threads → Auto-settle) or for that project. Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |