Repository navigation
sync: upstream through 7b17bdbcef (54 commits) - #64
Conversation
… trimmed shell snapshots (pingdotgg#34870) Fixes pingdotgg#30320. Co-authored-by: Theo Browne <me@theo.li> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…s reads about half as much (pingdotgg#35178) Refs pingdotgg#29468. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…t on startup (pingdotgg#34596) Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…or instead of a blank panel (pingdotgg#35066)
…and name (pingdotgg#34697) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…PR comment shows every row (pingdotgg#35225) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…on its history read (pingdotgg#35180) Replaces pingdotgg#34641. Refs pingdotgg#29468. Co-authored-by: Braulio Oliveira <brauliobo@gmail.com> Co-authored-by: Theo Browne <me@theo.li> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…gdotgg#35286) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…otgg#35287) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…dit from here keeps your files (pingdotgg#35291) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…d trips (pingdotgg#35071) The prepare-time shell load follows the idea and structure of pingdotgg#27413. Co-authored-by: ahalekelly <7078138+ahalekelly@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ng long thread (pingdotgg#35224) Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…rip (pingdotgg#35325) Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ingdotgg#35361) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
… each key (pingdotgg#35360) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…efore it toggles (pingdotgg#35359) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…holds a reconnect for 40 seconds (pingdotgg#34623) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…pingdotgg#35278) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…otgg#35271) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…overdue to auto-resume (pingdotgg#35397)
…ingdotgg#35239) Co-authored-by: sidhartha1s <sidhartha1s@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com>
…dotgg#35377) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ead (pingdotgg#34573) Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…preparing tile (pingdotgg#35265) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…l the model lacks (pingdotgg#35432)
…st their pin (pingdotgg#21249) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: maria-rcks <maria@kuuro.net> Co-authored-by: Yash Singh <saiansh2525@gmail.com>
…livered, not failed (pingdotgg#35463)
Upstream: https://github.com/pingdotgg/t3code.git f419698..7b17bdb Conflicts resolved (2): - 1d218d1 feat(web): screen reader window title leads with the thread's status and name (pingdotgg#34697) apps/web/src/components/settings/SettingsPanels.tsx apps/web/src/components/settings/settingsSearch.ts - a909ea4 perf(server): older history pages load without indexing the whole thread (pingdotgg#34573) apps/server/src/orchestration-v2/ProjectionStore.ts Upstream-Commit: 7b17bdb
PR SummaryMedium Risk Overview CI and transfer budgets now emit and validate a separate scenario measurements artifact; the PR comment bot compares those rows to Server expands wire-budget integration with many client-realistic scenarios (running vs finished long turns, socket cold opens, shell resume/reload, defer-work). HTTP servers get longer keep-alive and safer shutdown when connections still have in-flight responses. Checkpoint rollback handles broken or leftover worktrees without wiping shared folders. MCP thread search returns Mobile holds the splash until cached shell reads finish (with a timeout), uses steady navigation thread shells so lists do not reshuffle per environment, fixes Home visibility across phone tab slots, resolves list actions against live rows, guards invalid browser/MCP routes, and splits work folds at steer messages in the thread feed. Desktop isolates annotation overlay keyboard events from page shortcuts, prunes only numeric log rotation backups, and keeps unsupported HTML entities literal in release notes. Reviewed by Cursor Bugbot for commit d922e45. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 3785db1. Configure here.
Upstream's new test (pingdotgg#35442) relied on panel animations being off by default. The fork turns them on by default, so the test now sets panelAnimationDurationMs to 0 before it renders. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Upstream's new test (pingdotgg#35389) downloads a release archive without naming a source. Fork builds refuse that, so the runner printed the fork's download message instead of naming gzip. The test now passes a releaseBaseUrl, as the fork's other download test does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sync: upstream through 7b17bdb (54 commits)

Sensitive changes (4)
Upstream changes that run on install or in CI, steer our agents, or decide where data goes or who gets in. Read each one before merging.
CI workflows and actions (2)
.github/workflows/ci.yml.github/workflows/release.ymlReviewed.
ci.yml(pingdotgg#35225) adds one env var (T3CODE_TRANSFER_BUDGET_SCENARIOS_PATH) to the transfer-budget test step and uploads that JSON beside the existing result artifact; no new job, noruns-on:change, so the "CI runs on GitHub's runners" divergence still holds (grep -n "runs-on:" .github/workflows/ci.yml | grep -v -E "ubuntu-24.04|macos-26"prints nothing).release.yml(pingdotgg#35287) lets aPAUSE_NIGHTLYrepository variable skip scheduled nightlies; the job stays gated ongithub.repository == 'pingdotgg/t3code'and the workflow is disabled here. Both match their pull requests. No new file lands under.github/workflows/.Update and release URLs (1)
apps/desktop/src/updates/releaseNotes.tsReviewed. pingdotgg#35366 swaps the HTML entity lookup object for a
Map, so entity names likeconstructorstay literal. No URL or feed changes; matches its pull request.Telemetry endpoints (1)
apps/desktop/src/app/DesktopObservability.tsReviewed. pingdotgg#35378 tightens the startup log prune so it only deletes files whose suffix is exactly an integer rotation number. No endpoint or sink changes; matches its pull request.
Not flagged by a rule, also read:
pnpm-lock.yamlchanges only the@ff-labs/fff-node@0.11.0patch hash, because pingdotgg#35460 extendspatches/@ff-labs__fff-node@0.11.0.patchto run two handle-only FFI calls (scanFilesAsync,getScanProgressAsync) on a native thread through theffi-rsdependency it already had. No new packages, no download or network code. The lockfile was taken as upstream left it and needs no regeneration: no fork change touched it in this sync, and the fork's@xyflow/reactandelkjsentries are still there.Upstream
f419698aea..7b17bdbcef: 54 commits.Target: 7b17bdb is the newest upstream commit at least 3 days old (committed 2026-11-12 18:16 UTC) whose "Check" passed on the branch (run started 2026-11-12 18:16 UTC). Skipped newer commits: 1225 committed less than 3 days ago; fc2b5de: "Check" failure; 63d5c6d: "Check" failure; 76e4cb5: "Check" failure.
Land this with Create a merge commit. A squash merge would drop upstream's history from
main.Conflicts resolved (2)
1d218d1525feat(web): screen reader window title leads with the thread's status and name (pingdotgg#34697)apps/web/src/components/settings/SettingsPanels.tsxapps/web/src/components/settings/settingsSearch.tsUpstream split Chat → Activity into Activity (tool calls) and a new Screen reader section, and added the window title row after the announcements row. Kept upstream's split and its new row and search entry; the fork's Reply markers row stays in Activity beside tool-call visibility (where
fork/README.mdplaces it, and it is not a screen reader setting), and itsreply-markerssearch entry follows upstream's new entry.Resolution
a909ea423cperf(server): older history pages load without indexing the whole thread (pingdotgg#34573)apps/server/src/orchestration-v2/ProjectionStore.tsOnly the import block conflicted: kept the fork's
./openQuestions.tsimport and added upstream'sisFoldableWorkItemto thethreadHistoryPagingimport. Upstream's paging rewrite does not touch the shell row query,ShellThreadStateorthreadShellFromProjection, so the fork'sopenQuestionsAthooks are unchanged.Resolution
Adaptations after merging (2)
Two upstream tests assumed upstream's behavior where the fork differs. No product code changed.
3706116e15sidebar.browser.test.tsx: upstream's new "opens the mobile sheet without a transition while panel animations are off" test (fix(web): narrow-window sidebar sheet obeys disabled panel animations pingdotgg/t3code#35442) relied on panel animations being off by default. The fork turns them on by default, so the test setspanelAnimationDurationMs: 0itself. Recorded under the settings-defaults divergence.d922e45a9apackages/ssh/src/tunnel.test.ts: upstream's new gzip test (fix(ssh): SSH setup on a host without gzip says gzip is missing pingdotgg/t3code#35389) downloads a release archive without naming a source, which fork builds refuse. The test now passes areleaseBaseUrl, as the divergence's conflict rule says. Recorded under "Builds never offer or install upstream's releases".Upstream changes to files the fork has changed (15)
d412871f27fix(server): a task on a linked environment stays under its parent in trimmed shell snapshots (fix(server): a task on a linked environment stays under its parent in trimmed shell snapshots pingdotgg/t3code#34870):apps/server/src/orchestration-v2/ProjectionStore.ts,apps/server/src/ws.test.ts5e2438ce94perf(server): sending to a thread with thousands of finished subagents reads about half as much (perf(server): sending to a thread with thousands of finished subagents reads about half as much pingdotgg/t3code#35178):apps/server/src/orchestration-v2/ProjectionStore.ts65c0195b46fix(mobile): the thread list no longer reshuffles once per environment on startup (fix(mobile): the thread list no longer reshuffles once per environment on startup pingdotgg/t3code#34596):packages/client-runtime/src/state/threadInbox.test.ts,packages/client-runtime/src/state/threadInbox.ts1d218d1525feat(web): screen reader window title leads with the thread's status and name (feat(web): screen reader window title leads with the thread's status and name pingdotgg/t3code#34697):apps/web/src/components/Sidebar.logic.ts,apps/web/src/components/settings/SettingsPanels.tsx,apps/web/src/components/settings/settingsSearch.ts,packages/contracts/src/settings.ts476fc9be66test(server): wire budget measures what clients fetch today, and the PR comment shows every row (test(server): wire budget measures what clients fetch today, and the PR comment shows every row pingdotgg/t3code#35225):.github/workflows/ci.yml591188471aperf(server): sending to a long compacted thread waits about 3x less on its history read (perf(server): sending to a long compacted thread waits about 3x less on its history read pingdotgg/t3code#35180):apps/server/src/orchestration-v2/ProjectionStore.ts156dcd8c7aperf(server): long threads open 2 to 6x faster from a cold cache (perf(server): long threads open 2 to 6x faster from a cold cache pingdotgg/t3code#35286):apps/server/src/orchestration-v2/ProjectionStore.ts2482b03a01perf(client): threads load while the socket connects, with fewer round trips (perf(client): threads load while the socket connects, with fewer round trips pingdotgg/t3code#35071):apps/server/src/server.ts,apps/server/src/ws.test.ts,apps/server/src/ws.ts,packages/contracts/src/orchestrationV2.ts4fd40e1a16perf(server): Load earlier turns takes about half the time on a running long thread (perf(server): Load earlier turns takes about half the time on a running long thread pingdotgg/t3code#35224):apps/server/src/orchestration-v2/ProjectionStore.tsa5bd0ba526fix(ssh): SSH setup on a host without gzip says gzip is missing (fix(ssh): SSH setup on a host without gzip says gzip is missing pingdotgg/t3code#35389):packages/ssh/src/tunnel.test.ts,packages/ssh/src/tunnel.tsa909ea423cperf(server): older history pages load without indexing the whole thread (perf(server): older history pages load without indexing the whole thread pingdotgg/t3code#34573):apps/server/src/orchestration-v2/ProjectionStore.ts0cd6a73433fix(web): pasting an image the draft already has no longer flashes a preparing tile (fix(web): pasting an image the draft already has no longer flashes a preparing tile pingdotgg/t3code#35265):apps/web/src/components/chat/ChatComposer.tsx5ff3d3c0ecfix(server): Claude 1-hour cache writes are priced at the 1-hour rate (fix(server): Claude 1-hour cache writes are priced at the 1-hour rate pingdotgg/t3code#35423):apps/server/src/usage/UsageService.test.tsc58450f2cffix(ssh): SSH environments connect over links with about a second of round trip (fix(ssh): SSH environments connect over links with about a second of round trip pingdotgg/t3code#35418):packages/ssh/src/tunnel.test.ts,packages/ssh/src/tunnel.ts7b17bdbceffix(server): file index refreshes no longer block the server on fff's lock (fix(server): file index refreshes no longer block the server on fff's lock pingdotgg/t3code#35460):pnpm-lock.yamlVerification
CI: all 26 checks pass on
d922e45a9a(one skipped). The first run failed in Test Web 1 and the server Test job; both were upstream tests meeting fork defaults, fixed as listed under Adaptations. Cursor Bugbot's one finding is in upstream's own mobile code (pingdotgg#35325), untouched by the fork, and was answered on the thread.Everything else below was checked by reading. Nothing from the sync branch was installed, built, tested or run locally.
Divergence checks (the
grepandgitones infork/README.md; the ones that run tools are left to CI). Where a check is a list of hook lines, it was run on the fork's starting point (834e0a3b3e) and on this merge, and the matched lines are identical.AGENTS.md: present."sync-upstream.ts"still inknip.jsonc.runs-on:inci.ymlisubuntu-24.04ormacos-26.CIandAgent Context Budgetare the only file-based workflows enabled.Dependency GraphandCodeQLalso show as active, but they are GitHub's dynamic workflows (dynamic/...), not files this sync brought in. No new file under.github/workflows/.viewBox, app icontext.svg/logo.svgand favicon, analytics gate (six lines, no upstream key or host), release gates and the mobile opt-in, model manifest URL and file,.env.examplehosted values commented out, graph libraries (bothpackage.jsonlines; onlycomponents/teamProjects/imports them), Welcome page hooks (four lines), terminal drawer helper exports (four lines), and the three settings defaults plus the mobile math check: all pass.submit: submitCitationAndSendStable), question format, reply markers, live checkout, team catalog, team links, board, Tasks in thread details, issue links in chat, jump back, memory, memory proposals, questions bring a thread back, questions page: hook lines identical before and after the merge.Upstream changes to files the fork has changed, read one by one:
d412871f27,5e2438ce94,591188471a,156dcd8c7a,4fd40e1a16,a909ea423c(ProjectionStore.ts): history paging, settled-subagent and compaction-window reads. None touch the shell row query,ShellThreadRow,ShellThreadState,shellFromStateorthreadShellFromProjection, where the fork computesopenQuestionsAt; stored shells still read the open-question candidates column. The narrowed command projections feed command decisions, not shells.d412871f27'sws.test.tschange leaves the fork's service mocks in place.65c0195b46(threadInbox.ts): the working-exit grace is skipped for runs that ended over a minute ago. A running thread with unseen questions has nocompletedAt, so it still leaves Working after the usual grace, as the fork intends.1d218d1525(Sidebar.logic.ts,settings.ts, settings panels): the new window title status callsresolveSidebarThreadStatus, which the fork wraps, so a thread with unseen questions reads as needing input there too. The newscreenReaderWindowTitlesetting sits beside the fork's changed defaults without touching them. Conflict resolved as described above.476fc9be66(ci.yml): one env var and one artifact path; runner labels unchanged.2482b03a01(server.ts,ws.ts,ws.test.ts,orchestrationV2.ts): adds an HTTP shell snapshot type andknownProjectIdentities;OrchestrationV2ThreadShell(withopenQuestionsAt) is unchanged and reused. The fork's layers inserver.tsand its handlers inws.tsare unchanged.a5bd0ba526,c58450f2cf(tunnel.ts): a gzip error message after extraction and a longer readiness probe. The fork's release-source gate before any download is untouched.0cd6a73433(ChatComposer.tsx): filters hidden preparing images; the fork'sshowStatusToggle, gauge toggle andsubmithandle entry are untouched.5ff3d3c0ec(UsageService.test.ts, plususagePricing.tsandusageAggregation.ts): bumps the scan cache file name and prices Claude 1-hour cache writes from a newcacheCreation1hCostPerTokenrate (LiteLLM's published rate, else the 5-minute rate). The fork'sreadRatesandreadAccountRecordstests are untouched. The status line'sthreadCostEstimate.tsstill prices 1-hour writes as the 5-minute rate times 1.6, which matches LiteLLM's Anthropic rates, so cost is unchanged; with a custom price override it now charges more than the Usage page does for those writes. Not changed here; a follow-up could readcacheCreation1hCostPerTokeninstead of the multiplier.7b17bdbcef(pnpm-lock.yaml): only the@ff-labs/fff-nodepatch hash; reviewed under Sensitive changes. No regeneration needed.No
package.json, generated file, icon or database migration changed upstream in this range.🤖 Generated with Claude Code