You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(server): thread reads match thread lists after a queued run is cancelled - #46107
When a queued follow-up run (ordinal:2) is cancelled before it starts (removed from the queue or promoted to steer) while an earlier run (ordinal:1) is still active, t3_thread_read and t3 thread show report thread.status: "cancelled" and latestRunId: ordinal:2 even after ordinal:1 finishes cleanly — disagreeing with t3_thread_list, the sidebar, web, and mobile (which all report "completed" and ordinal:1 via latestUnheldRun / presentedShellRunId, shipped in #35661 and aligned with t3_thread_read for background work in #36610). t3_thread_wait with no runId has the same root cause: it selects the cancelled queued run and returns "cancelled" immediately even while ordinal:1 is still running.
Change
apps/server/src/mcp/OrchestratorMcpService.ts:
Read status, latestRunId, and activeRunId in threadDetail from the already-loaded OrchestrationV2ThreadShell (threadStatus(shell), shell.latestRunId, and detailActiveRunId(shell, projection)), sharing the single threadStatus(shell) helper with listItemFromShell and listThreads (backed by ProjectionStore's atomic shell query and presentedShellRunId, which skips outlived cancelled-before-start queued runs, held queued runs, and silent idle compactions, even under bounded runLimit reads) while preserving activeRunId when a run is in "waiting" status.
Use the shared latestUnheldRun for waitForThread's no-runId default selection, and reselect via latestUnheldRun over earlier ordinals if an in-flight implicit wait's selected run transitions to cancelled while an earlier run outlives it (letting earlier-ordinal run.updated events wake the wait, while keeping explicit runId waits and held-queue reselection unchanged), and make latestRun module-private since its only remaining callers are internal.
Tests:
apps/server/src/mcp/OrchestratorMcpService.activity.test.ts: assert readThread derives status, latestRunId, and activeRunId from the shell while running, waiting, waiting on background tasks, failed, and completed after a newer cancelled queued run (including when runLimit: 1 returns only the cancelled run).
apps/server/src/orchestration-v2/ThreadManagementService.test.ts: verify waitForThread without runId keeps waiting for the active run and returns "completed" when a queued run is cancelled during an in-flight wait, when the wait starts after cancellation while active, and after completion.
Routes covered: t3_thread_read (MCP), t3 thread show (CLI), and t3_thread_wait with no runId (ThreadManagementService.waitForThread).
Already aligned (untouched): t3_thread_list (listItemFromShell via ProjectionStore.presentedShellRunId), web (ChatView.logic.ts), and mobile/client-runtime (threadExecution.ts), all of which already use latestUnheldRun.
Left on raw latestRun (intentional):
ThreadManagementService.settleAfterRun: sends expectedLatestRunId as an optimistic concurrency guard checked against the raw highest-ordinal run in Orchestrator.ts.
waitForThread's delegatedWorkResult rollback fallback: only reached when every executed run was rolled back (progress.resultRun === undefined).
Everything below runs with Replay (dev) and no provider account.
Real-app proof (vp run scenarios:prove)
Scenario: t3_thread_read agrees with t3_thread_list after a queued run is cancelled during an active run
Proven: the scenario fails on base df2cbe3961 and passes on head e5c381fc26.
Base df2cbe3961
Head e5c381fc26
Result
❌ failed ASSERTION_FAILED: expected "cancelled" to be "completed"
✅ passed
thread read vs list status
Scenario source (not committed)
/// <reference lib="dom" />importtype{RuntimeMode}from"@t3tools/contracts";import{expect}from"e2e";import*asEffectfrom"effect/Effect";import{T3_HOME}from"../e2e.config.ts";import{makeState,rpcClient,runPromise,test,WEB}from"./t3.ts";interfaceThreadSummary{readonlythreadId: string;readonlystatus: string;readonlylatestRunId: string|null;}test("t3_thread_read agrees with t3_thread_list after a queued run is cancelled during an active run",WEB,async({ t3, app, browser, screen })=>{constsetRuntimeMode=(mode: RuntimeMode)=>runPromise(Effect.gen(function*(){constclient=yield*rpcClient(T3_HOME,app.baseUrl??"");constprevious=(yield*client["server.getSettings"]({})).defaultRuntimeMode;yield*client["server.updateSettings"]({patch: {defaultRuntimeMode: mode}});returnprevious;}).pipe(Effect.scoped),);constpreviousMode=awaitsetRuntimeMode("approval-required");try{awaitexpect.poll(()=>runPromise(Effect.gen(function*(){constclient=yield*rpcClient(T3_HOME,app.baseUrl??"");const{ providers }=yield*client["server.getConfig"]({});returnproviders.some((provider)=>provider.instanceId==="devReplay"&&provider.models.some((model)=>model.slug==="approval"),);}).pipe(Effect.scoped),),{timeout: 30_000},).toBe(true);constproject=awaitt3.project("demo");constthread=awaitt3.thread({
project,title: "Cancelled queue read",messages: ["Change the file"],model: "approval",});const{ cli }=makeState(T3_HOME);awaitrunPromise(cli(["thread","send",thread.threadId,"Queued follow-up"]));awaitt3.open(thread);constremoveQueued=screen.getByRole("button","Remove queued message");awaitexpect(removeQueued).toBeEnabled({timeout: 30_000});awaitremoveQueued.tap();awaitexpect(removeQueued).not.toBeVisible();awaitscreen.getByRole("button","Approve",{exact: true}).tap();awaitexpect(screen.getByText("Created the requested probe file.",{exact: false}),).toBeVisible({timeout: 30_000});awaitexpect(screen.getByRole("button","Worked for",{exact: false})).toBeVisible({timeout: 30_000,});constlistResult=awaitrunPromise(cli(["thread","list","--project",project,"--json"]));constshowResult=awaitrunPromise(cli(["thread","show",thread.threadId,"--json"]));constlisted=(JSON.parse(listResult.stdout)asArray<ThreadSummary>).find((entry)=>entry.threadId===thread.threadId,);constshown=JSON.parse(showResult.stdout)as{readonlythread: ThreadSummary};expect(listed).toBeDefined();constmatch=shown.thread.status===listed!.status&&shown.thread.latestRunId===listed!.latestRunId;awaitbrowser.evaluate(({ listStatus, listRunId, showStatus, showRunId, ok })=>{constpanel=document.createElement("div");panel.setAttribute("data-testid","mcp-status-comparison");panel.style.cssText=["position:fixed","right:20px","bottom:20px","z-index:99999","padding:14px 16px","border-radius:10px","font-family:ui-monospace,SFMono-Regular,Menlo,monospace","font-size:12px","line-height:1.5","background:#111827","color:#f9fafb",`border:2px solid ${ok ? "#22c55e" : "#ef4444"}`,"box-shadow:0 10px 25px rgba(0,0,0,0.35)","max-width:520px",].join(";");panel.innerHTML=[`<div style="font-weight:700;margin-bottom:6px;color:${ok ? "#86efac" : "#fca5a5"}">${ok ? "MATCH" : "MISMATCH"}: t3_thread_list vs t3_thread_read</div>`,`<div><strong>t3_thread_list</strong>: status=<code>${listStatus}</code>, latestRunId=<code>${listRunId}</code></div>`,`<div><strong>t3_thread_read</strong>: status=<code>${showStatus}</code>, latestRunId=<code>${showRunId}</code></div>`,].join("");document.body.appendChild(panel);},{listStatus: listed!.status,listRunId: String(listed!.latestRunId),showStatus: shown.thread.status,showRunId: String(shown.thread.latestRunId),ok: match,},);awaitapp.screenshot("thread-read-vs-list-status");expect(listed!.status).toBe("completed");expect(shown.thread.status).toBe("completed");expect(shown.thread.latestRunId).toBe(listed!.latestRunId);}finally{awaitsetRuntimeMode(previousMode);}},);
Unaffected paths verified in the real app
Normal single-turn completed thread (t3 thread list and t3 thread show both report completed and ordinal:1).
Active turn with an unheld queued follow-up (t3 thread show reports status: "running", activeRunId: ordinal:1, latestRunId: ordinal:2, and advances activeRunId to ordinal:2 once run 1 is approved).
Unit tests & checks
Confirmed every added/updated test fails on main (and reverting each changed source file in turn fails its corresponding test):
OrchestratorMcpService.activity.test.ts (readThread active + completed after cancelled queued run with runLimit: 1)
ThreadManagementService.test.ts (waitForThread without runId while active and after completion)
vp run check:changed on rebased head cdb9a8896f (main @ e4c315a896): format, lint, knip, graphql, typecheck (3 packages), and tests (5 files, 163 tests) all pass.
Requires more than a headless Linux VM
None — the full repro and fix run deterministically on a Linux VM with Replay (dev) and no external accounts.
Written by Gemini 4 Neon in T3 Code (Antigravity harness).
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.
Macroscope's review found this PR approvable — Thread reads and waits now align with thread lists after queued work is cancelled. The change is limited to reported state and wait targeting, without altering run execution or stored data.
You can add or adjust custom eligibility rules. Learn more.
Reviewing files that changed from the base of the PR and between cdb9a88 and 1e2f39e.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
No actionable comments were generated in the recent review.
Walkthrough
The thread read and list paths now derive status and run identifiers from shell state. Waits without a run ID now select an unheld run and can switch targets when that run is cancelled.
Changes: Thread status and wait run selection
Layer / File(s)
Summary
Shell-based thread status and details apps/server/src/mcp/OrchestratorMcpService.ts, apps/server/src/mcp/OrchestratorMcpService.activity.test.ts
Thread status and latest run ID now use shell state. Active run selection uses shell identifiers or a waiting-run fallback from the projection. Tests cover different shell statuses and projected runs.
Implicit wait run selection apps/server/src/orchestration-v2/ThreadManagementService.ts, apps/server/src/orchestration-v2/ThreadManagementService.test.ts
A wait without a run ID selects the latest unheld run. If that implicit target is cancelled, the wait can select an earlier unheld run. Tests cover cancellation during and before the wait.
This change makes thread read and implicit wait results agree with the thread list when a queued run is cancelled before it starts. No actionable merge-blocking risk was identified.
Pre-merge checks: 3 · 1
Failed checks: 1 inconclusive
Check name
Status
Explanation
Resolution
Linked Issues check
[#46106] Two requirements apply. (1) t3_thread_read and t3 thread show must report the earlier active or completed run when a later queued run was cancelled before start. (2) t3_thread_wait without ru…
Provide readable access to the OrchestratorMcpService.ts diff at head, or the threadDetail function body, so the shell-derived status, latestRunId, and activeRunId logic can be confirmed. Then reassess requirement (1).
Passed checks: 3 passed
Check name
Status
Explanation
Title check
The title names the primary change: thread reads in the MCP server now match thread lists after a queued run is cancelled. The changeset covers that fix in OrchestratorMcpService.ts and ThreadManageme…
Description check
The description follows the template sections: Problem, Change, Scope, and Verification. The Problem section gives reproduction steps and expected behavior. The Change section lists the affected files…
Out of Scope Changes check
All changes described in the PR map to #46106. ThreadManagementService.ts changes (verified in diff): import of latestUnheldRun, implicit-wait target selection, reselection for cancelled implicit targ…
Full details: Title check
Explanation
The title names the primary change: thread reads in the MCP server now match thread lists after a queued run is cancelled. The changeset covers that fix in OrchestratorMcpService.ts and ThreadManagementService.ts, plus tests. The title is specific and follows the conventional commit format from the template.
Full details: Description check
Explanation
The description follows the template sections: Problem, Change, Scope, and Verification. The Problem section gives reproduction steps and expected behavior. The Change section lists the affected files and the reasoning. The Scope section links the bug (Fixes #46106) and explains which routes are covered and which are left unchanged. The Verification section reports a reproducible real-app scenario with before/after results, unaffected paths, and unit test results. The description also notes that the author used an agent and names the model and harness, as the template asks. The description has no major gaps.
Full details: Out of Scope Changes check
Explanation
All changes described in the PR map to #46106. ThreadManagementService.ts changes (verified in diff): import of latestUnheldRun, implicit-wait target selection, reselection for cancelled implicit targets, earlier-ordinal event admission, and making latestRun module-private. The MCP service changes (from summary) cover threadDetail and the shared threadStatus(shell) helper used by list and read paths. Tests cover the same read and wait cases. The PR explicitly leaves the queueHeld field and CLI notice to #37514, and it leaves web and client-runtime untouched. No unrelated change was identified in the inspected hunks. The unverified MCP hunks are described only in the summary and were not checked in code.
Full details: Linked Issues check
Explanation
[#46106] Two requirements apply. (1) t3_thread_read and t3 thread show must report the earlier active or completed run when a later queued run was cancelled before start. (2) t3_thread_wait without runId must wait on and return the earlier run. Requirement (2) is confirmed in source. In ThreadManagementService.ts at head, implicit waits select latestUnheldRun(target.runs) instead of raw latestRun. If the selected run becomes cancelled, the wait reselects latestUnheldRun over runs with ordinal <= the cancelled run. Event filtering also admits run.updated events for earlier ordinals when runId is omitted. Explicit runId waits are unchanged. Requirement (1) relies on the PR summary for OrchestratorMcpService.ts: threadDetail reads status, latestRunId, and activeRunId from OrchestrationV2ThreadShell through threadStatus(shell). The reviewed diff for OrchestratorMcpService.ts was unavailable (changed blobs missing from the checkout). A file read at head returned only the file head, truncated before threadDetail. The threadDetail hunk therefore could not be verified in code. The author's real-app scenario and unit tests for readThread also could not be checked.
Resolution
Provide readable access to the OrchestratorMcpService.ts diff at head, or the threadDetail function body, so the shell-derived status, latestRunId, and activeRunId logic can be confirmed. Then reassess requirement (1).
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
On fresh databases on each commit, use Replay (dev), approval-required mode, and the approval recording. Start run 1 and queue a follow-up with t3 thread send. Open the thread in Chromium; start t3_thread_wait without runId before clicking Remove queued message. While approval remains pending, make a separate implicit wait with timeoutMs=1000. Click Approve, collect the original in-flight wait, confirm run 1 completion with an explicit wait, then compare an implicit completion wait, t3 thread show --json, and t3 thread list --project ... --json.
Both sides: Linux, real dev server + web client, Chromium 1280×800, light theme, fresh synthetic project and database, repository Replay approval recording. Images below render selected fields captured from the real MCP/CLI responses; videos show the actual web interaction.
Base: the in-flight implicit wait returned run 2 cancelled before approval; after run 1 completed, show and implicit wait still selected cancelled run 2 while list selected completed run 1. Head: the in-flight wait survived cancellation and returned run 1 completed after approval; the separate pre-approval wait timed out on running run 1, and show/list/implicit completion all agreed on completed run 1.
Not exercised: the alternative Send now promotion path.
Not shown:
The alternative Send now promotion path was not exercised; proof covers removing a queued message, including an implicit wait already in flight through cancellation and approval.
Surgically ported 20 high-value upstream fixes while preserving all 22 locked T4 customizations, T4 branding, i18n, and zero telemetry:
- Antigravity / ACP / Claude [1m]: pingdotgg#46062, pingdotgg#46058, pingdotgg#46108, pingdotgg#46029
- Cross-machine thread handoff: pingdotgg#46078, pingdotgg#46075, pingdotgg#46074
- Chat / background wakes / server / git: pingdotgg#46181, pingdotgg#46141, pingdotgg#46107, pingdotgg#46098, pingdotgg#46100, pingdotgg#46142, pingdotgg#46082, pingdotgg#46071
- Web / Desktop daily ergonomics: pingdotgg#46083, pingdotgg#46186, pingdotgg#46099, pingdotgg#46060, pingdotgg#46169
Blind-review fixes included:
- Replaced 6 pre-existing user-facing T3 Code error strings in touched server/ACP files with T4 Code.
- Propagated background task IDs on wakes (wakeBackgroundTaskIds) so Orchestrator attributes completions to the exact owning follow-up run when multiple follow-ups hold awaited background tasks.
- Attributed Claude Code's stripped modelUsage context window back to the turn's selected [1m] model ID so bare and [1m] model windows never cross-pollute.
- Skipped desktop getPreferredSystemLanguages() sync IPC when language is not system or unchanged.
Ported and blind-reviewed with GPT Astra (gpt-6.2-astra) and Antigravity.
github-actionsBot
added a commit
to omarcresp/t3code-flake
that referenced
this pull request
Nov 30, 2026
* fix(shared): read JPEG orientation after the frame header (pingdotgg#45890)
Co-authored-by: Shane Su <shane.su@maiscrm.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): resolve PowerPoint notes targets with dot segments (pingdotgg#45759)
Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(forgejo): issue pagination keeps going when the server caps page size (pingdotgg#45771)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): preserve project names for older thread records (pingdotgg#45651)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(source-control): keep clipped CI log output valid Unicode (pingdotgg#45663)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): skip the submodule scan when deleting checkpoint refs in repositories without submodules (pingdotgg#45959)
* fix(web): keep distinct cost chart ticks from showing the same dollar amount (pingdotgg#45947)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
* fix(mobile): choose an unused feature branch beyond the first 100 refs (pingdotgg#45779)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(projects): suggest the repository folder for SCP paths with question marks (pingdotgg#45766)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): html_render lines stay visible on themes with a dark accent (pingdotgg#45956)
* fix(server): tag Codex threads by their real source (pingdotgg#45780)
Co-authored-by: Hu Xiangyu <xh8421@gmail.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): keep literal trailing spaces in angle-bracket file links (pingdotgg#45966)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
* test(shared): cover tab stops in saved line edits (pingdotgg#45761)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): preserve literal markup in review notes when creating a composer chip (pingdotgg#45743)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(azure-devops): preserve nonbreaking spaces in pull request branch names (pingdotgg#45722)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): read viewed state correctly for files named constructor or __proto__ (pingdotgg#45729)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): announce sidebar drag cancellation on Escape (pingdotgg#45820)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(provider-core): use singular counts in context handoff summaries (pingdotgg#45716)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): Claude wake turns follow a thread's model change (pingdotgg#45824)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): screen readers report 29% for a download at exactly 29% (pingdotgg#45803)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(claude): keep the first answer above a late-read steer (pingdotgg#45978)
* fix(server): kill launched commands when the server dies (pingdotgg#45965)
* fix(server): deleting a thread deletes its subagent threads (pingdotgg#45963)
* fix(server): keep agent preview recordings that reach 50 MiB (pingdotgg#45974)
* fix(server): separate OpenDocument drawing descriptions from opening quotes (pingdotgg#45755)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): Antigravity agent shells keep the host temp folder (pingdotgg#45979)
* fix(gitcafe): resolve HTTPS remotes with escaped repository names (pingdotgg#45726)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(terminal): keep line breaks inside clipped CSI sequences (pingdotgg#45699)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): read GNU TAR members with binary size fields (pingdotgg#45881)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(acp-registry): select musl binaries on musl Linux hosts (pingdotgg#45694)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(github): GH_REPO naming a renamed repository's current name finds the branch's PR (pingdotgg#45986)
* fix(server): use the account's driver for text generation fallback (pingdotgg#45896)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): show a failed workflow reference read instead of loading forever (pingdotgg#45912)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): the worktree recreate banner names the task folder blocking it (pingdotgg#45800)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): keep the diff open when a dismissed inline draft finishes saving (pingdotgg#45784)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* test(server): unreferenced-command test no longer fails while the command is still starting (pingdotgg#45996)
* fix(web): keep a host named local separate from localhost in browser history (pingdotgg#45915)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): screen readers find the browser page when the right panel is a sheet (pingdotgg#45867)
* fix(web): keep the favicon of a host named local on its own origin after reload (pingdotgg#45916)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(client): reload re-imported threads after reconnecting (pingdotgg#45940)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep usage model details on the same window while usage reloads (pingdotgg#45913)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): check the full gzip signature before opening an archive as gzip (pingdotgg#45911)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): distinguish usage hour rows on either side of spring DST (pingdotgg#45932)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* perf(test): single-file test runs only set up the file's own project (pingdotgg#45941)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(pr): keep inline video after indented examples in long descriptions (pingdotgg#45776)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): resend every stopped request a closed session was carrying (pingdotgg#43274)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): reading position no longer throws when a text field sits under the probe point (pingdotgg#45917)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): an unreadable settings.json no longer turns on auto-settle (pingdotgg#46005)
* fix(shared): keep Khmer subscript consonants intact in automatic project monograms (pingdotgg#45939)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(client-runtime): stop waiting on silent routes once a late route answers (pingdotgg#45919)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): Add provider derives a fallback instance ID for non-Latin labels (pingdotgg#45964)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* perf(server): Automatically pull no longer scans up-to-date checkouts every pass (pingdotgg#45904)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): match Greek final sigma in PR composer suggestions (pingdotgg#45908)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(client-runtime): show restored thread placement after a shell rewind (pingdotgg#45972)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* perf(scripts): knip check takes ~3 s instead of ~15 s once warm (pingdotgg#46016)
Co-authored-by: saphid <4596216+saphid@users.noreply.github.com>
* fix(client-runtime): reconnect upgraded T3 Connect hosts with learned routes (pingdotgg#45936)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): show the empty response for whitespace-only replies (pingdotgg#45975)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): translate the Git availability switch’s accessible name (pingdotgg#45967)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): middle truncation keeps flag emoji whole (pingdotgg#45980)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(acp): keep the inactivity deadline when steering silent turns (pingdotgg#45928)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(claude): keep tabs inside filenames in tool diffs (pingdotgg#45989)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): show the full sidebar machine warning on hover (pingdotgg#45983)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): reuse Git remotes whose names contain Unicode whitespace (pingdotgg#43279)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(codex): keep every file in a multi-file patch with a control character in its path (pingdotgg#45994)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): translate Linked pull requests heading in Git overview sheet (pingdotgg#45990)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): search in files keeps its results while a longer query loads (pingdotgg#46008)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): project settings resolve when the project default uses an instance named constructor (pingdotgg#46002)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): preserve sidebar scroll position after bottom reorders (pingdotgg#45993)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): preview browser launcher script uses the resolved shell instead of hardcoded /bin/sh (pingdotgg#43408)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(claude): keep leading-dot fractional sleep timers awaited across restart (pingdotgg#46007)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): copying an unlabeled Codex follow-up keeps the text shown in chat (pingdotgg#43471)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): a late session release no longer marks its replacement stopped (pingdotgg#43062)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): saving an unchanged citation comment no longer adds an empty undo step (pingdotgg#43446)
Co-authored-by: Benjamin Peters <Benjaminpeters05@gmail.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web,mobile): show file names instead of raw links in folded agent headers (pingdotgg#45981)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(codex): preserve goal continuation while delegated work runs (pingdotgg#43504)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): keep # in clone folder paths for ssh:// remotes (pingdotgg#43570)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix(client-runtime): connecting a switched-off SSH environment turns it back on (pingdotgg#46020)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): sidebar draft card follows the thread card height (pingdotgg#46057)
* fix(chat): let thread moves choose a checkout on linked machines (pingdotgg#45954)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): closed math fences with CR line endings stay recognized in markdownMathRanges (pingdotgg#43450)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): refer to all unlisted machines in the Russian batch-link dialog (pingdotgg#46031)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): ACP turns recover in a fresh session when session/load loses the agent's connection (pingdotgg#46058)
* fix(server): Claude models tagged [1m] learn the window Claude Code reports (pingdotgg#46029)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): a directory named like a command fails to spawn as it does natively on Linux (pingdotgg#46024)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): sidebar issue groups show +N so a count no longer reads as an issue number (pingdotgg#46064)
* fix(server): Antigravity restart check keeps the saved CLI version and slash commands (pingdotgg#46062)
* fix(shared): inline file paths with GitHub line ranges open like colon-style ranges (pingdotgg#43492)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix(opencode): keep colon-containing filenames intact in glob results (pingdotgg#46066)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(ci): keep Vite config helpers dependency-free (pingdotgg#46067)
* fix(web): a cleared provider env variable row no longer blocks saves (pingdotgg#46071)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): chunked Markdown previews resolve links defined after equals-sign headings (pingdotgg#43673)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): unlinking from Linked items no longer scrolls the list to the top (pingdotgg#46042)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): System default responds when browser language preferences change (pingdotgg#46069)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): ask Russian users to choose one of the available text generation models (pingdotgg#46054)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): notebook previews show Markdown output when the plain-text alternative is empty (pingdotgg#43654)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix(web): make the Russian remove-project warning cover every checkout's threads (pingdotgg#46051)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): the queue button announces one message correctly (pingdotgg#46073)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): restore the saved right-panel width when the window widens (pingdotgg#46083)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): refer to every unsaved stash image in the Russian warning (pingdotgg#46043)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): truncated screen-reader activity announcements no longer end with a space before "…" (pingdotgg#46077)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep line and column in relative MSBuild terminal links (pingdotgg#46076)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): question answers respect thread moves (pingdotgg#46074)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): keep worktree setup stopped during thread moves (pingdotgg#46075)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): skip non-Git project roots when listing nested orphan worktrees (pingdotgg#46082)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): keep thread moves running after disconnect (pingdotgg#46078)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(desktop): System default keeps the app UI and native menus in the same language (pingdotgg#46060)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(i18n): system locale extensions no longer hide Brazilian Portuguese (pingdotgg#46059)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): preserve significant spaces in collapsed plan code blocks (pingdotgg#46080)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(azure-devops): recognize pasted pull request URLs with spaces in project or repo names (pingdotgg#46095)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(client-runtime): keep nested double quotes inside shell expansions from breaking command labels (pingdotgg#46096)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep whole characters in stashed prompt previews (pingdotgg#46089)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): a code fence named constructor no longer crashes the composer (pingdotgg#46084)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(composer): chat PR search stays open for titles with combining marks (pingdotgg#43633)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(tanstack-source): extract clone URLs from repo pages with an encoded owner marker (pingdotgg#46105)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): honor stop on settle when attaching to a terminal (pingdotgg#46098)
Co-authored-by: Grok 4.7 <noreply@x.ai>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): thread reads match thread lists after a queued run is cancelled (pingdotgg#46107)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): status poll keeps the upstream of an unborn branch (pingdotgg#46100)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): palette search keeps threads matched by project and environment (pingdotgg#46099)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): reject shortcut key tokens containing embedded whitespace (pingdotgg#46103)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): trim nested closing punctuation from terminal URLs (pingdotgg#46119)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(acp): keep question items distinct across restarts (pingdotgg#46108)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): quoted image paths in visible page text no longer turn into image data or block HTML renders (pingdotgg#46117)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): preserve first-line code indentation when stashing a draft (pingdotgg#46131)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep each pull request tab's active detail tab on the Pull Requests page (pingdotgg#46121)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(opencode): show the files changed by apply_patch (pingdotgg#46118)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): a background wake completes the follow-up that started the work (pingdotgg#46141)
* fix(web): keep a new composer list item valid after marker 999999999 (pingdotgg#46139)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): shortened commit and hook messages keep flag emoji whole (pingdotgg#46138)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): resolveBranchBase skips remote lookup outside a Git repository (pingdotgg#46142)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(cli): retain trace rates for spans ending nanoseconds apart (pingdotgg#46154)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(cli): quote the launcher command when another t3 shadows it (pingdotgg#46150)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
* fix(mobile): Russian browser preview shows the actual tab count at 21 (pingdotgg#46087)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(source-control): preserve nonbreaking spaces in PR target branches (pingdotgg#46145)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): sidebar provider instance badges are no longer clipped (pingdotgg#46136)
* fix(web): copying a Codex follow-up preserves closing brackets in link URLs (pingdotgg#46155)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): stop held digit keys from repeatedly toggling question answers (pingdotgg#46159)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(chat): show MCP tool output once (pingdotgg#46181)
* fix(web): use the Unicode alternative in RTF previews (pingdotgg#46161)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): files named like notes.constructor attach as files (pingdotgg#46171)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): show literal backslashes in POSIX file search result names (pingdotgg#46164)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): decode shell escapes in double-quoted folder paths (pingdotgg#46175)
Co-authored-by: Shane Su <shane.su@maiscrm.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): preserve standalone SVG image dimensions written in scientific notation (pingdotgg#46176)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): clicking the right panel toggle to close it focuses the chat input (pingdotgg#46186)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): keep flag emoji whole in shortened Git branch labels (pingdotgg#46183)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep literal HTML tags as text when copying chat Markdown (pingdotgg#46169)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): a numeric repository or host in the Pull Requests URL no longer crashes the page (pingdotgg#46189)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): a blank or numeric env in the Workflows URL no longer crashes the page (pingdotgg#46195)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep the image gallery on the active drawing (pingdotgg#46185)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): treat hash and question marks in workspace filenames as literal characters (pingdotgg#46187)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): T3 Connect switch shows a tunnel that started after launch (pingdotgg#46177)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): clicking the right panel toggle returns focus to the chat (pingdotgg#46197)
* fix(web): do not send a guest draft when Shift is released during held Enter (pingdotgg#46190)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(git): preserve Unicode whitespace in branch names and queries (pingdotgg#46205)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(issues): ignore stale pages after refreshing (pingdotgg#46199)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): copying an ODS preview includes offscreen rows (pingdotgg#46182)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): clean up submodule checkpoint refs after .gitmodules removal (pingdotgg#45898)
Signed-off-by: STiFLeR7 <hillaniljppatel@gmail.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(client-runtime): typed is:draft and -is:draft filters apply in PR search (pingdotgg#46212)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): clear the workflow overwrite warning when disk returns to the editor baseline (pingdotgg#46216)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): anonymous agent feedback says which failure it follows, once per machine a day (pingdotgg#46222)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): file pickers keep their results while a longer query loads (pingdotgg#46202)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep a floating preview above the composer when the chat canvas narrows (pingdotgg#46229)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): linked environment errors tell agents what failed and whether to retry (pingdotgg#46225)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web,mobile): say one token in Usage cost breakdowns (pingdotgg#46211)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): show workflow queue positions in the order resumed runs get their pools back (pingdotgg#46230)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* perf(server): accepting a delegated completion no longer parses the whole thread (pingdotgg#46196)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(client-runtime): handle heredocs, apostrophes, and subshell comments in quoted shell expansions (pingdotgg#46227)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): pull_request_read shows the commit the agent just pushed (pingdotgg#46224)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): recognize inline Windows file paths with consecutive spaces (pingdotgg#46241)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): only Cmd previews Steer on macOS, matching Cmd+Enter (pingdotgg#46258)
* fix(contracts): preserve literal filenames in browser automation uploads (pingdotgg#46237)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(cli): t3 update quotes the path in its Run line (pingdotgg#46252)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): recognize extensionless scripts with grouped env shebang options (pingdotgg#46238)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): keep the folder picker working beside a whitespace-only directory (pingdotgg#46243)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): resolve chunked Markdown links defined after HTML blocks (pingdotgg#43709)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): fit Android monochrome icon inside adaptive safe zone (pingdotgg#40063)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): no CPU overload warning while most CPUs are idle and only a capped job waits (pingdotgg#46267)
* fix(contracts): keep literal backslashes in POSIX clone names (pingdotgg#46257)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(contracts): let Files open and save deeply nested workspace files (pingdotgg#46253)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* test(server): channel-close kill test no longer fails while the killed command is still exiting (pingdotgg#46291)
* fix(server): ConnectReachability skips missing tailscale CLI and unused probes (pingdotgg#46245)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): a thread deleted elsewhere no longer replaces the screen on top of it (pingdotgg#46255)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): removing a file's chip in a queued edit no longer resends the file (pingdotgg#46217)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): open SHA-like GitHub PR heading links in the summary (pingdotgg#46260)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): read project actions from the selected environment when project IDs match (pingdotgg#46263)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): trace diagnostics no longer counts open subscriptions as slow spans (pingdotgg#46281)
* fix(clients): do not offer to copy a prompt link that its receiver rejects (pingdotgg#46219)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): open a folder project's linked pull requests in the side panel (pingdotgg#46287)
* fix(web): review guide excerpts say "1 of 1 diff line" for a one-line diff (pingdotgg#46271)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): match equivalent accent spellings in PR composer suggestions (pingdotgg#46268)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): pull request list search finds titles with combining marks (pingdotgg#46274)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): decode escaped spaces in Markdown file links that contain a literal percent (pingdotgg#46262)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): size SVG images that set only a width or height with a viewBox (pingdotgg#46275)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): resume Antigravity 404s that follow a mid-turn steer (pingdotgg#46283)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): thread moves no longer replay all history on startup (pingdotgg#46293)
* fix(web): a linked-thread URL with a blank id segment shows not found instead of crashing (pingdotgg#46284)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
* fix(web): show metadata for the exact file named in a composer mention (pingdotgg#46282)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): prompt stash menu keys work after opening from timeline or badge (pingdotgg#46288)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): keep pull request watches pending after a conversation rewind (pingdotgg#46279)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): a Settings Providers link with an invalid instance id no longer errors the page (pingdotgg#46298)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep shortcut hints active until both modifier keys are released (pingdotgg#46290)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): a linked thread waits for its environment instead of opening a draft (pingdotgg#43846)
* fix(mobile): preserve file links with pipes in Markdown tables (pingdotgg#46246)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): command palette rows follow the dialog's corner radius (pingdotgg#46318)
* perf(i18n): fast-path plain literal messages in @generaltranslation/icu (pingdotgg#46296)
* perf(client-runtime,server,mobile): pipeline shell sync on opening session and avoid redundant reconnect work (pingdotgg#46295)
* perf(mobile): lift per-row scope subscriptions and defer cache writes while scrolling (pingdotgg#46300)
* fix(issues): mark the current issue row when its link omits the public host (pingdotgg#46261)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(client-runtime): workflow feed summary keeps glob asterisks literal (pingdotgg#46316)
Co-authored-by: MinitJain <129549180+MinitJain@users.noreply.github.com>
* perf(mobile): install FormatJS DisplayNames and PluralRules via polyfill-force (pingdotgg#46327)
* fix(review-guide): preserve whitespace in saved guide filenames (pingdotgg#46310)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): a link definition shown inside a list’s code sample no longer creates a real link (pingdotgg#43711)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): long preview titles keep flag emoji whole (pingdotgg#46312)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(client-runtime): close a removed environment's open thread (pingdotgg#46239)
* feat(relay): email people when their account deletion completes (pingdotgg#43858)
* fix(server): env -a and --argv0 shebangs keep the interpreter file type (pingdotgg#46324)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): invalid or blank scope params in Settings URLs no longer lock out scoped pages (pingdotgg#46320)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): ending a turn no longer reads the thread's history (pingdotgg#46332)
* fix(cursor): a symlink loop in a skills folder no longer fails skill discovery (pingdotgg#46339)
* fix(web): composer code blocks containing an indented closing fence stay intact when sent (pingdotgg#46335)
Co-authored-by: only21mil <263261067+only21mil@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): AIFF previews offer Save instead of an audio player that cannot load (pingdotgg#46346)
* fix(server): projects using a forge-named git insteadOf shorthand are recognized again (pingdotgg#46349)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): invalid filter, sort, and id params in Pull Requests URLs no longer leak into page state (pingdotgg#46354)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): use the restarted turn result in linked workflows (pingdotgg#46351)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): shortened commit messages and thread titles keep two-unit vowel signs (pingdotgg#46350)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* feat(server): agents can open a PR for a branch in another worktree (pingdotgg#46233)
* fix(client-runtime): unsupported GitHub search qualifiers no longer empty PR search (pingdotgg#46353)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): standalone <picture> images get standalone loading and error frames (pingdotgg#43722)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): keep branch names when moving threads (pingdotgg#46365)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): terminal links drop sentence punctuation before a closing bracket (pingdotgg#46368)
Co-authored-by: only21mil <263261067+only21mil@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): invalid or blank params in Scheduled Tasks URLs no longer show a missing-task banner (pingdotgg#46373)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): a symlink loop in an Antigravity skills folder no longer fails skill discovery (pingdotgg#46375)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep stashed prompts in the stash while a question is open (pingdotgg#46371)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): resume watching workflow definitions after errors (pingdotgg#46378)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): retry workflow agent stops after cancellation (pingdotgg#46376)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): preserve branch names when moving threads (pingdotgg#46364)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): keep Malayalam conjuncts intact in project monograms (pingdotgg#46392)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): PR watch says CI is done when a failure is first seen after the other checks finished (pingdotgg#46399)
* fix(mobile): pasting a cut file chip back into a draft keeps the file (pingdotgg#46398)
* fix(web): keep the next workflow file open after deletion (pingdotgg#46393)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): Enter selects the first matching ref in Diff panel base-ref picker (pingdotgg#46400)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): file picker Enter opens the highlighted row (pingdotgg#46394)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): the overloaded-machine pill is as tall as the other sidebar notices (pingdotgg#46356)
* fix(web): Enter no longer saves a queued edit left with only its reply (pingdotgg#46409)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* test(server): drive the clock until a recovered workflow folder watch reloads (pingdotgg#46416)
* fix(web): clear branch picker search query after Enter selection (pingdotgg#46402)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* Replace the Grok ACP adapter with the Grok Build SDK integration (pingdotgg#46363)
* fix(server): a delegated child's run started by a sibling counts as its parent's work (pingdotgg#46390)
* fix(mobile): nested corners follow their container's radius (pingdotgg#46391)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(issues): keep unsent comments when leaving an issue (pingdotgg#46405)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
---------
Signed-off-by: STiFLeR7 <hillaniljppatel@gmail.com>
Co-authored-by: Suniceman <isuniceman@aliyun.com>
Co-authored-by: Shane Su <shane.su@maiscrm.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Simone <lucenz@proton.me>
Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
Co-authored-by: Alex Southwell <saphid@gmail.com>
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Henry Zhang <113233555+caezium@users.noreply.github.com>
Co-authored-by: Wout Stiens <71498452+StiensWout@users.noreply.github.com>
Co-authored-by: xiangyu.h <xiangyu.h@outlook.com>
Co-authored-by: Hu Xiangyu <xh8421@gmail.com>
Co-authored-by: Filip Snítil <168243023+snitilf@users.noreply.github.com>
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
Co-authored-by: Hernan JIANG <poise.johnson@gmail.com>
Co-authored-by: shivam <91240327+shivamhwp@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Thanh Hoai Anh Nguyen <anh.h.nguyen@aalto.fi>
Co-authored-by: Victor <satsdev@only21mil.xyz>
Co-authored-by: saphid <4596216+saphid@users.noreply.github.com>
Co-authored-by: Shadman Taqi <61359614+iamshadmantaqi@users.noreply.github.com>
Co-authored-by: Hu Hongwei <46087189+jadelike-wine@users.noreply.github.com>
Co-authored-by: KiritoXDone <58523182+KiritoXDone@users.noreply.github.com>
Co-authored-by: Igor Makowski <56691628+Mnigos@users.noreply.github.com>
Co-authored-by: asf58 <39028081+asf58@users.noreply.github.com>
Co-authored-by: BenjaminPeters-code <info@baptiq.nl>
Co-authored-by: Benjamin Peters <Benjaminpeters05@gmail.com>
Co-authored-by: Omni Terminal <17220028+InTheta@users.noreply.github.com>
Co-authored-by: zhangyan-unipat <zhangyan@unipat.ai>
Co-authored-by: Ilya Kruchinin <kruchinin240170@gmail.com>
Co-authored-by: Ahmed bedair <ahmed.bedair81@icloud.com>
Co-authored-by: Grok 4.7 <noreply@x.ai>
Co-authored-by: Stefan Mirea <smirea@users.noreply.github.com>
Co-authored-by: Arman Arutiunov <arman.arutiunov@gmail.com>
Co-authored-by: Felix Bjerhem Aronsson <felix.b.aronsson@gmail.com>
Co-authored-by: joris Viaud <joris.viaud.pro@gmail.com>
Co-authored-by: Hill Patel <hillpatel.0710@gmail.com>
Co-authored-by: Gabriel De Andrade <30420087+gabrielelpidio@users.noreply.github.com>
Co-authored-by: Myles Stupp <39105860+mstupp1@users.noreply.github.com>
Co-authored-by: Viktor Leukocyte <viktor.gjorgonoski@gmail.com>
Co-authored-by: Ethan Zhao <yizhev@gmail.com>
Co-authored-by: Wakem <39121371+Wakme@users.noreply.github.com>
Co-authored-by: MinitJain <129549180+MinitJain@users.noreply.github.com>
Co-authored-by: salem <69422114+s66lem@users.noreply.github.com>
Co-authored-by: tiliakoos <73005126+tiliakoos@users.noreply.github.com>
Co-authored-by: only21mil <263261067+only21mil@users.noreply.github.com>
Co-authored-by: Alex <me@pixp.cc>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
size:M30-99 changed lines (additions + deletions).vouch:unvouchedAuthor is not yet trusted in the VOUCHED list.
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Gemini 4 Neon writing on behalf of Stefan.
Problem
When a queued follow-up run (
ordinal:2) is cancelled before it starts (removed from the queue or promoted to steer) while an earlier run (ordinal:1) is still active,t3_thread_readandt3 thread showreportthread.status: "cancelled"andlatestRunId: ordinal:2even afterordinal:1finishes cleanly — disagreeing witht3_thread_list, the sidebar, web, and mobile (which all report"completed"andordinal:1vialatestUnheldRun/presentedShellRunId, shipped in #35661 and aligned witht3_thread_readfor background work in #36610).t3_thread_waitwith norunIdhas the same root cause: it selects the cancelled queued run and returns"cancelled"immediately even whileordinal:1is still running.Change
apps/server/src/mcp/OrchestratorMcpService.ts:status,latestRunId, andactiveRunIdinthreadDetailfrom the already-loadedOrchestrationV2ThreadShell(threadStatus(shell),shell.latestRunId, anddetailActiveRunId(shell, projection)), sharing the singlethreadStatus(shell)helper withlistItemFromShellandlistThreads(backed byProjectionStore's atomic shell query andpresentedShellRunId, which skips outlived cancelled-before-start queued runs, held queued runs, and silent idle compactions, even under boundedrunLimitreads) while preservingactiveRunIdwhen a run is in"waiting"status.apps/server/src/orchestration-v2/ThreadManagementService.ts:latestUnheldRunforwaitForThread's no-runIddefault selection, and reselect vialatestUnheldRunover earlier ordinals if an in-flight implicit wait's selected run transitions tocancelledwhile an earlier run outlives it (letting earlier-ordinalrun.updatedevents wake the wait, while keeping explicitrunIdwaits and held-queue reselection unchanged), and makelatestRunmodule-private since its only remaining callers are internal.apps/server/src/mcp/OrchestratorMcpService.activity.test.ts: assertreadThreadderivesstatus,latestRunId, andactiveRunIdfrom the shell while running, waiting, waiting on background tasks, failed, and completed after a newer cancelled queued run (including whenrunLimit: 1returns only the cancelled run).apps/server/src/orchestration-v2/ThreadManagementService.test.ts: verifywaitForThreadwithoutrunIdkeeps waiting for the active run and returns"completed"when a queued run is cancelled during an in-flight wait, when the wait starts after cancellation while active, and after completion.Scope
Bug fix (Fixes #46106).
t3_thread_read(MCP),t3 thread show(CLI), andt3_thread_waitwith norunId(ThreadManagementService.waitForThread).t3_thread_list(listItemFromShellviaProjectionStore.presentedShellRunId), web (ChatView.logic.ts), and mobile/client-runtime (threadExecution.ts), all of which already uselatestUnheldRun.latestRun(intentional):ThreadManagementService.settleAfterRun: sendsexpectedLatestRunIdas an optimistic concurrency guard checked against the raw highest-ordinal run inOrchestrator.ts.waitForThread'sdelegatedWorkResultrollback fallback: only reached when every executed run was rolled back (progress.resultRun === undefined).queueHelddetail field or CLI notice (handled separately in fix(server): t3_thread_read reports a failed run, not its held follow-up, as latest #37514).Verification
Reproducible on a Linux VM with no account
Everything below runs with
Replay (dev)and no provider account.Real-app proof (
vp run scenarios:prove)Scenario: t3_thread_read agrees with t3_thread_list after a queued run is cancelled during an active run
Proven: the scenario fails on base
df2cbe3961and passes on heade5c381fc26.df2cbe3961e5c381fc26ASSERTION_FAILED: expected "cancelled" to be "completed"
Scenario source (not committed)
Unaffected paths verified in the real app
t3 thread listandt3 thread showboth reportcompletedandordinal:1).t3 thread showreportsstatus: "running",activeRunId: ordinal:1,latestRunId: ordinal:2, and advancesactiveRunIdtoordinal:2once run 1 is approved).Unit tests & checks
main(and reverting each changed source file in turn fails its corresponding test):OrchestratorMcpService.activity.test.ts(readThreadactive + completed after cancelled queued run withrunLimit: 1)ThreadManagementService.test.ts(waitForThreadwithoutrunIdwhile active and after completion)vp run check:changedon rebased headcdb9a8896f(main@e4c315a896): format, lint, knip, graphql, typecheck (3 packages), and tests (5 files, 163 tests) all pass.Requires more than a headless Linux VM
None — the full repro and fix run deterministically on a Linux VM with
Replay (dev)and no external accounts.Written by Gemini 4 Neon in T3 Code (Antigravity harness).