Skip to content

sync: upstream through 7b17bdbcef (54 commits) - #64

Merged
mfituri merged 57 commits into
mainfrom
sync/upstream-20261115
Nov 15, 2026
Merged

mfituri merged 57 commits into
mainfrom
sync/upstream-20261115

Conversation

@mfituri

@mfituri mfituri commented Nov 15, 2026 •

Copy link
Copy Markdown

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.yml

Reviewed. 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, no runs-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 a PAUSE_NIGHTLY repository variable skip scheduled nightlies; the job stays gated on github.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.ts

Reviewed. pingdotgg#35366 swaps the HTML entity lookup object for a Map, so entity names like constructor stay literal. No URL or feed changes; matches its pull request.

Telemetry endpoints (1)

  • apps/desktop/src/app/DesktopObservability.ts

Reviewed. 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.yaml changes only the @ff-labs/fff-node@0.11.0 patch hash, because pingdotgg#35460 extends patches/@ff-labs__fff-node@0.11.0.patch to run two handle-only FFI calls (scanFilesAsync, getScanProgressAsync) on a native thread through the ffi-rs dependency 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/react and elkjs entries 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)

1d218d1525 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

Upstream 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.md places it, and it is not a screen reader setting), and its reply-markers search entry follows upstream's new entry.

Resolution
diff --git a/apps/web/src/components/settings/SettingsPanels.tsx b/apps/web/src/components/settings/SettingsPanels.tsx
remerge CONFLICT (content): Merge conflict in apps/web/src/components/settings/SettingsPanels.tsx
index af79e5a5ec..184b6b7aef 100644
--- a/apps/web/src/components/settings/SettingsPanels.tsx
+++ b/apps/web/src/components/settings/SettingsPanels.tsx
@@ -1295,15 +1295,12 @@ export function ChatSettingsPanel() {
 
       <SettingsSection id="activity" title="Activity">
         <ToolCallVisibilityRow />
+        <ReplyMarkersSettingsRow />
       </SettingsSection>
 
       <SettingsSection id="screen-reader" title="Screen reader">
         <ScreenReaderAnnouncementsRow />
-<<<<<<< 939391b44b (Merge upstream through bf8e5e61b6 (6 commits))
-        <ReplyMarkersSettingsRow />
-=======
         <ScreenReaderWindowTitleRow />
->>>>>>> 1d218d1525 (feat(web): screen reader window title leads with the thread's status and name (#34697))
       </SettingsSection>
     </SettingsPageContainer>
   );
diff --git a/apps/web/src/components/settings/settingsSearch.ts b/apps/web/src/components/settings/settingsSearch.ts
remerge CONFLICT (content): Merge conflict in apps/web/src/components/settings/settingsSearch.ts
index 70151c2d3c..528e6251f6 100644
--- a/apps/web/src/components/settings/settingsSearch.ts
+++ b/apps/web/src/components/settings/settingsSearch.ts
@@ -496,19 +496,18 @@ export const SETTINGS_SEARCH_ITEMS = [
     ],
   },
   {
-<<<<<<< 939391b44b (Merge upstream through bf8e5e61b6 (6 commits))
-    id: "reply-markers",
-    title: "Reply markers",
-    to: "/settings/chat",
-    searchTerms: ["reply quote thread exchange which message answers steer queued view thread"],
-=======
     id: "screen-reader-window-title",
     title: "Screen reader window title",
     to: "/settings/chat",
     searchTerms: [
       "accessibility a11y screen reader nvda jaws voiceover orca narrator window title tab title alt tab taskbar thread status order working approval",
     ],
->>>>>>> 1d218d1525 (feat(web): screen reader window title leads with the thread's status and name (#34697))
+  },
+  {
+    id: "reply-markers",
+    title: "Reply markers",
+    to: "/settings/chat",
+    searchTerms: ["reply quote thread exchange which message answers steer queued view thread"],
   },
   {
     id: "guest-links",

a909ea423c perf(server): older history pages load without indexing the whole thread (pingdotgg#34573)

  • apps/server/src/orchestration-v2/ProjectionStore.ts

Only the import block conflicted: kept the fork's ./openQuestions.ts import and added upstream's isFoldableWorkItem to the threadHistoryPaging import. Upstream's paging rewrite does not touch the shell row query, ShellThreadState or threadShellFromProjection, so the fork's openQuestionsAt hooks are unchanged.

Resolution
diff --git a/apps/server/src/orchestration-v2/ProjectionStore.ts b/apps/server/src/orchestration-v2/ProjectionStore.ts
remerge CONFLICT (content): Merge conflict in apps/server/src/orchestration-v2/ProjectionStore.ts
index f426de2ce7..02fadbc5f8 100644
--- a/apps/server/src/orchestration-v2/ProjectionStore.ts
+++ b/apps/server/src/orchestration-v2/ProjectionStore.ts
@@ -99,15 +99,12 @@ import { MCP_APP_OUTPUT_KEY } from "@t3tools/shared/mcpApp";
 import { threadHtmlRenderAttachmentIds } from "../attachmentStore.ts";
 import { readableSearchText } from "./messageSearchIndex.ts";
 import {
-<<<<<<< fcb4665d84 (Merge upstream through 2a1e43e89e (27 commits))
   openQuestionCandidatesColumn,
   openQuestionsAt,
   openQuestionsAtFromCandidates,
 } from "./openQuestions.ts";
 import {
-=======
   isFoldableWorkItem,
->>>>>>> a909ea423c (perf(server): older history pages load without indexing the whole thread (#34573))
   isThreadHistoryUserTurn,
   isConversationHistoryItem,
   THREAD_HISTORY_MAX_RAW_TURNS,

Adaptations after merging (2)

Two upstream tests assumed upstream's behavior where the fork differs. No product code changed.

Upstream changes to files the fork has changed (15)

Verification

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 grep and git ones in fork/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.

  • Fork notice in AGENTS.md: present.
  • Sync script knip entry: "sync-upstream.ts" still in knip.jsonc.
  • CI runs on GitHub's runners: every runs-on: in ci.yml is ubuntu-24.04 or macos-26.
  • Only CI workflows enabled: CI and Agent Context Budget are the only file-based workflows enabled. Dependency Graph and CodeQL also show as active, but they are GitHub's dynamic workflows (dynamic/...), not files this sync brought in. No new file under .github/workflows/.
  • Sending while scrolled up, product name plugin and manifest, wordmark path and viewBox, app icon text.svg/logo.svg and favicon, analytics gate (six lines, no upstream key or host), release gates and the mobile opt-in, model manifest URL and file, .env.example hosted values commented out, graph libraries (both package.json lines; only components/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.
  • Status line, desktop identity, answer controls (and 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, shellFromState or threadShellFromProjection, where the fork computes openQuestionsAt; stored shells still read the open-question candidates column. The narrowed command projections feed command decisions, not shells. d412871f27's ws.test.ts change 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 no completedAt, 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 calls resolveSidebarThreadStatus, which the fork wraps, so a thread with unseen questions reads as needing input there too. The new screenReaderWindowTitle setting 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 and knownProjectIdentities; OrchestrationV2ThreadShell (with openQuestionsAt) is unchanged and reused. The fork's layers in server.ts and its handlers in ws.ts are 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's showStatusToggle, gauge toggle and submit handle entry are untouched.
  • 5ff3d3c0ec (UsageService.test.ts, plus usagePricing.ts and usageAggregation.ts): bumps the scan cache file name and prices Claude 1-hour cache writes from a new cacheCreation1hCostPerToken rate (LiteLLM's published rate, else the 5-minute rate). The fork's readRates and readAccountRecords tests are untouched. The status line's threadCostEstimate.ts still 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 read cacheCreation1hCostPerToken instead of the multiplier.
  • 7b17bdbcef (pnpm-lock.yaml): only the @ff-labs/fff-node patch 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

juliusmarminge and others added 30 commits November 12, 2026 03:48
… 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>
…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>
… 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>
…otgg#35271)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
sidhartha1s and others added 23 commits November 12, 2026 09:21
…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>
…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>
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
@cursor

cursor Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

PR Summary

Medium Risk
Touches orchestration transfer budgets, checkpoint rollback, WebSocket/HTTP server lifecycle, and mobile thread-list synchronization—important paths but mostly additive with tests.

Overview
This sync merges 54 upstream commits into the fork with two conflict resolutions (web settings layout and ProjectionStore imports).

CI and transfer budgets now emit and validate a separate scenario measurements artifact; the PR comment bot compares those rows to main with a collapsed full table. CI uploads thread-transfer-scenarios.json, and scheduled releases can be skipped via PAUSE_NIGHTLY.

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 currentThreadId. ACP adapters handle busy-agent follow-ups and Copilot default model/effort writes.

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.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

❌ 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.

Comment thread apps/mobile/src/Stack.tsx Resolved
mfituri and others added 2 commits November 15, 2026 18:48
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>
@mfituri
mfituri merged commit 8c578bc into main Nov 15, 2026
27 checks passed
@mfituri
mfituri deleted the sync/upstream-20261115 branch November 15, 2026 19:08
mfituri added a commit that referenced this pull request Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants