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 — fix(server): t3_background_wait error says Workflow runs already keep the thread working by juliusmarminge · Pull Request #42661 · pingdotgg/t3code Conversation
|
| Before | After |
|---|---|
| 95411e3cd7 | e8593ef4ae |
| Before recording | After recording |
Seed and reproduction driver · Browser steps · Runtime transcript
The call remains invalid on both commits, as expected. The verified fix is the explanatory error text.
Not shown:
vp test run src/orchestration-v2/ThreadManagementService.test.ts (apps/server): 39 passed, including the repro test from factory/repro-42655vp run check:changed: format, lint, knip, graphql, typecheck (3 packages) and tests (2 files) all passRun by the t3code factory in T3 Code.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Fails on main: the message lists Subagent, Agent tool and delegate_task IDs but not Workflow, so agents conclude workflows cannot be waited on (#42655). Co-Authored-By: Claude Opus 5.5 <[email protected]>
… the thread working A Workflow task ID passed to t3_background_wait never matches a background command, so the agent gets the 'unmatched' error. That error listed only Subagent, Agent tool and delegate_task IDs as not belonging there, and agents concluded workflows could not be waited on. Name Workflow too, and say these runs already keep the thread working until they finish (#42655). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Other scenariosAll 64 scenario measurements match All 64 scenario measurements
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
| Check name | Status | Explanation |
|---|---|---|
| Title check | The title names the main change: the t3_background_wait error for background-task waits now says Workflow runs already keep the thread working. It is specific and matches the changeset (the unmatched … | |
| Linked Issues check | [#42655] The expected behavior requires that an unmatched workflow ID produce an error that says workflows already hold the thread, as subagents, Agent tool and delegate_task IDs do. The head changes … |
|
| Out of Scope Changes check | The whole-PR diff against the merge base 95411e3 touches two files. ThreadManagementService.ts changes one string in the unmatched case of ThreadManagementBackgroundWaitError, which is the erro… |
|
| Description check | The description follows the repository template closely. It has a clear Problem section (agents told users workflows cannot be waited on, though the thread already stays Working until a workflow finis… |
Explanation
The title names the main change: the t3_background_wait error for background-task waits now says Workflow runs already keep the thread working. It is specific and matches the changeset (the unmatched message in ThreadManagementService.ts and its test). It follows a conventional commit format with a 'fix(server)' scope.
Explanation
[#42655] The expected behavior requires that an unmatched workflow ID produce an error that says workflows already hold the thread, as subagents, Agent tool and delegate_task IDs do. The head changes the unmatched message of ThreadManagementBackgroundWaitError in apps/server/src/orchestration-v2/ThreadManagementService.ts to: "Subagent, Agent tool, and Workflow runs already keep the thread working until they finish, and delegate_task IDs don't go here either." The diff shows this change and no other source change. The added test in ThreadManagementService.test.ts asserts that the message contains "Workflow". The test is a substring check and does not exercise the full wait path, but it covers the stated error requirement. The issue title and the 'Actual behavior' section also mention CLAUDE_BACKGROUND_WAIT_INSTRUCTIONS. The PR leaves that constant unchanged and states the reason (an MCP tool-use eval and model API keys are needed). The issue's expected behavior does not require that constant to change, and the issue says no eval case is needed. This deferral is noted, not treated as a failure. The coding requirement for the error text is met.
Explanation
The whole-PR diff against the merge base 95411e3 touches two files. ThreadManagementService.ts changes one string in the unmatched case of ThreadManagementBackgroundWaitError, which is the error text the linked issue targets. ThreadManagementService.test.ts adds one test that checks that message. Both changes connect directly to #42655. No unrelated code, refactoring, or configuration change appears in the diff. The PR description's deferred items (CLAUDE_BACKGROUND_WAIT_INSTRUCTIONS, open PR #37015) are not implemented here, so they add no out-of-scope change.
Explanation
The description follows the repository template closely. It has a clear Problem section (agents told users workflows cannot be waited on, though the thread already stays Working until a workflow finishes), a Change section (the unmatched message of ThreadManagementBackgroundWaitError now names Subagent, Agent tool, and Workflow runs), a Scope section linking issue #42655, and a Verification section with specific focused test commands, observed results (39 passed), a before/after reproduction with evidence, and an explicit list of what was not exercised. It also names the models and harness used, as the template asks. The description is complete and specific, so it passes.
5f9d2b35-6f59-40b8-ad42-2e452a535d12apps/server/src/orchestration-v2/ThreadManagementService.test.tsapps/server/src/orchestration-v2/ThreadManagementService.tsIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
**v0.1.12-nightly.20261125.5230** · 41 changes from 11 contributors - **Richer workflow questions.** Workflow questions can include described choices, required reasons, links, and records of who answered and when. - **Thread actions in command palette.** Pin, snooze, settle, archive, and manage the current thread from the command palette. - **Withdraw workflow questions.** Workflows can withdraw waiting questions without cancelling the run. - **Antigravity swarm workers.** See Antigravity swarm workers as subagents, including who is working and what they found. - **Faster thread switching.** Thread timelines now appear in the first frame instead of after a noticeable delay. - **Browser select menus.** Native dropdown menus now open in streamed browser tabs so you can choose an option. - **Permanent thread deletion.** Deleting a thread now removes its conversation history instead of only hiding it. ### Plus 32 more bug fixes. <details> <summary>Full changelog</summary> ## What's Changed * fix(cli): exclude spans before the trace summary window by @jadelike-wine in pingdotgg/t3code#42571 * fix(grok): expose context usage by @gujunxiang in pingdotgg/t3code#42568 * fix(web): timeline minimap previews no longer cut an emoji in half by @only21mil in pingdotgg/t3code#42575 * fix(web): Option and Cmd arrows reach full-screen terminal apps by @Mnigos in pingdotgg/t3code#42574 * fix(web): element context preview no longer ends in a split surrogate by @only21mil in pingdotgg/t3code#42585 * fix(server): Antigravity sends undecodable text attachments as a path instead of failing the turn by @juliusmarminge in pingdotgg/t3code#42594 * fix(resource-monitor): Windows stops reading memory and command lines of untracked processes by @juliusmarminge in pingdotgg/t3code#42577 * fix(server): ODT attachments no longer start with text from number styles by @only21mil in pingdotgg/t3code#42592 * feat(server): workflow questions take described choices, required reasons, links, and keep who answered by @juliusmarminge in pingdotgg/t3code#42515 * fix(web): citation comment box stays open when its cited row scrolls out by @juliusmarminge in pingdotgg/t3code#42603 * fix(web,mobile): author avatars keep emoji initials whole by @only21mil in pingdotgg/t3code#42598 * fix(gitlab): incident links are read as issue links by @Michel-Liao in pingdotgg/t3code#42605 * fix(server): workflow schedules given as bigint nanoseconds no longer crash by @only21mil in pingdotgg/t3code#42607 * fix(pi): reject generated text from failed responses by @StiensWout in pingdotgg/t3code#42602 * fix(preview): streamed browser tabs show native select menus by @juliusmarminge in pingdotgg/t3code#31561 * fix(web): long Workflows links no longer end in a broken character by @only21mil in pingdotgg/t3code#42617 * fix(server): filter open device sessions by the selected host by @AppsAtMe in pingdotgg/t3code#42600 * fix(antigravity): link directly to Google account verification on failed turns by @t3dotgg in pingdotgg/t3code#41210 * fix(server): Needs you lists paused runs older than the newest 500 by @KyrosHendrix in pingdotgg/t3code#42618 * feat(server): CI runners don't need telemetry by @t3dotgg in pingdotgg/t3code#42630 * fix: screenshots after a caption render full size instead of as chips by @juliusmarminge in pingdotgg/t3code#42627 * fix(pi): rewind turns after an extension switches sessions by @StiensWout in pingdotgg/t3code#42616 * fix(mobile): Compose without a project opens the picker in one push by @juliusmarminge in pingdotgg/t3code#42593 * fix(web): project name field restores the saved name when cleared by @only21mil in pingdotgg/t3code#42622 * fix(mobile): a share sent while a new-task draft is open joins that draft by @juliusmarminge in pingdotgg/t3code#42597 * fix(telemetry): honor DO_NOT_TRACK by @t3dotgg in pingdotgg/t3code#42629 * fix(server): device host errors no longer cut an emoji in half by @only21mil in pingdotgg/t3code#42628 * fix(pi): let background subagents finish after coordinator errors by @StiensWout in pingdotgg/t3code#42624 * fix(server): deleting a thread actually removes its history by @t3dotgg in pingdotgg/t3code#42119 * fix(server): unreadable sessions no longer block older history by @StiensWout in pingdotgg/t3code#42613 * fix(server): skip incomplete Pi records during project discovery by @StiensWout in pingdotgg/t3code#42636 * fix(server): restore the default provider name when clearing a label by @StiensWout in pingdotgg/t3code#42632 * test(provider-testing): replay workspaces start no background git maintenance by @juliusmarminge in pingdotgg/t3code#42651 * fix(antigravity): /swarm workers show as subagents by @t3dotgg in pingdotgg/t3code#42649 * feat(web): settle, pin, snooze and more for the current thread from cmd+k by @t3dotgg in pingdotgg/t3code#40742 * feat(server): withdraw a waiting workflow question without cancelling its run by @juliusmarminge in pingdotgg/t3code#42506 * fix(web): fade project picker tooltips in place on scroll by @Yash-Singh1 in pingdotgg/t3code#42657 * fix(server): shells with a backslash in their name no longer get zsh flags on Linux and macOS by @only21mil in pingdotgg/t3code#42648 * perf(web): thread switches paint the timeline in their first frame by @juliusmarminge in pingdotgg/t3code#42582 * fix(server): t3_background_wait error says Workflow runs already keep the thread working by @juliusmarminge in pingdotgg/t3code#42661 * fix(server): preserve spaces and tabs in checkpoint LFS storage by @jadelike-wine in pingdotgg/t3code#42634 ## New Contributors * @gujunxiang made their first contribution in pingdotgg/t3code#42568 * @AppsAtMe made their first contribution in pingdotgg/t3code#42600 **Full Changelog**: pingdotgg/t3code@v0.1.12-nightly.20261125.5222...v0.1.12-nightly.20261125.5230 </details> Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.1.12-nightly.20261125.5230
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[Bug]: t3_background_wait error and Claude instructions don't say Workflow tasks already hold the thread
There was an error while loading. Please reload this page.