Skip to content

Sync: merge upstream/main 66cc44d75b (317 commits) into custom-v2 - #75

Open
ziyadakl wants to merge 321 commits into
custom-v2from
sync/upstream-2026-11-30
Open

ziyadakl wants to merge 321 commits into
custom-v2from
sync/upstream-2026-11-30

Conversation

@ziyadakl

@ziyadakl ziyadakl commented Nov 30, 2026 •

Copy link
Copy Markdown
Owner

Summary

Merges official T3 Code upstream/main (66cc44d, 317 commits) into custom-v2, which has run since 721e927.

 custom-v2 (721e927b, running build)
+  merge upstream/main 66cc44d75b        fee8b26edb
+    29 conflicts: 22 translation files (both sides' keys kept, 0 clashes),
+    7 code files (fork features re-applied on upstream's new code)
+  fix: format web translations; supply ProjectionMaintenanceV2 and
+    updateProjectMcpServer in fork-only server tests       2f845a473e
+  fix: upstream's sidebar card-height test runs on the flat list
+    (fork groups threads by project by default)           49c609a217
+  fix: client-runtime tests get a 20 s ceiling on the fork's
+    ubuntu-24.04 runners; recorded in CUSTOM.md            7b054626f7

Conflict calls worth knowing:

  • AgentSessionImporter.ts: kept the fork's importThread; copied upstream's "re-import restores a deleted thread" logic into it.
  • ThreadDetailsPanel.tsx: upstream made the panel reorderable blocks; the fork's dev-server control now sits inside the "servers" block.
  • No fork feature dropped under the drop rule.

Evidence

  • Before: sync-upstream.sh check failed (11 unformatted translation files; 39 type errors in fork-only server tests). CI Test Web 3: Sidebar.browser.test.tsx > every card fits the height it reserves failed in all variants (Cannot find element … 'Thread plain').
    After: check passed (lint, typecheck, unused code, web build). The 4 touched server test files pass (48 tests). Sidebar.browser.test.tsx passes (35/35), and the other 6 Sidebar browser test files pass.
  • threadRequests.test.ts > splits a megabyte of approval text (upstream fix(web,mobile): approval cards show characters a screen would not draw pingdotgg/t3code#43049) timed out at 5 s in 2 of 2 CI runs. It takes 1.4 s on affinity-vps; upstream runs CI on 8-vCPU machines, the fork on ubuntu-24.04. Lint bans per-test timeouts, so packages/client-runtime/vite.config.ts sets a 20 s package ceiling. CI on 7b05462: 25 passed, 0 failed.
  • Custom Mac CLI Build on 7b05462: cli-mac-arm64-0.0.45-custom.7b054626 and cli-linux-x64-0.0.45-custom.7b054626.
  • Review (separate reviewer over both conflict and fix commits): no blockers. One deferred edge case: restoring a deleted imported chat while a live fork of it still exists returns the still-deleted thread to the resume picker.
  • Re-pair search over 721e927b..upstream/main (45 keyword hits, each read): no auth, cookie, pairing or listen-address change. Not needed.
  • Agent context budget grew by upstream's own text only (+169, +169, +834 bytes; this branch equals upstream/main exactly), so the agent-context-increase label is set.

Merge Danger

Door: two-way for code, one-way for the database

Switching back to the old build restores the old code. Upstream migration 120 runs once on first start. It only clears stale "did not answer" error text on machine links, so nothing a user needs is lost. The switch steps take a database backup first.

Blast Radius: app-wide

Every machine on the switch gets 317 upstream commits: new sidebar row layout, reorderable thread details, "continue on another machine", per-thread tool servers. A wrong conflict call would show in the sidebar, the thread details panel, or the chat importer.

🤖 Generated with Claude Code

StiensWout and others added 30 commits November 28, 2026 15:58
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…gdotgg#45188)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…dotgg#45194)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…dotgg#45196)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…lders above it (pingdotgg#45200)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…le (pingdotgg#45195)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ws (pingdotgg#45189)

Co-authored-by: Sean <7318293+theobinomy@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…es (pingdotgg#45211)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…the app window (pingdotgg#45215)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ingdotgg#42847)

Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…P deck (pingdotgg#45224)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ry from the thread folder (pingdotgg#45228)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
… JSON (pingdotgg#45216)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…s instead of raw JSON (pingdotgg#45236)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…gdotgg#45177)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…g#45238)

Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…otgg#45245)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ty panel (pingdotgg#45244)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…gg#45249)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ngdotgg#45257)

Co-authored-by: SAPHID <saphid@users.noreply.github.com>
…e media ticket route (pingdotgg#45229)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
saphid and others added 22 commits November 29, 2026 20:47
…otices (pingdotgg#45596)

Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…n after a split prompt redraw (pingdotgg#45827)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: shivam <91240327+shivamhwp@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… config sets submodule.recurse (pingdotgg#45839)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…g the panel (pingdotgg#45846)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…t sizes (pingdotgg#45609)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…her on PATH (pingdotgg#45588)

Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…gdotgg#45599)

Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…otgg#45869)

Co-authored-by: savealamb <361336614+savealamb@users.noreply.github.com>
…urce badges (pingdotgg#45837)

Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…pingdotgg#45843)

Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ingdotgg#45856)

Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…odel picker (pingdotgg#45505)

Co-authored-by: Yash Singh <saiansh2525@gmail.com>
…er (pingdotgg#45379)

Co-authored-by: Orin <orin@orin.ws>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
# Conflicts:
#	apps/mobile/src/features/threads/ThreadNavigationSidebar.tsx
#	apps/mobile/src/i18n/translations/de.json
#	apps/mobile/src/i18n/translations/en.json
#	apps/mobile/src/i18n/translations/es.json
#	apps/mobile/src/i18n/translations/fr.json
#	apps/mobile/src/i18n/translations/ja.json
#	apps/mobile/src/i18n/translations/ko.json
#	apps/mobile/src/i18n/translations/pl.json
#	apps/mobile/src/i18n/translations/pt-BR.json
#	apps/mobile/src/i18n/translations/ru.json
#	apps/mobile/src/i18n/translations/sv.json
#	apps/mobile/src/i18n/translations/zh.json
#	apps/server/src/orchestration-v2/TurnStartReads.test.ts
#	apps/server/src/project/AgentSessionImporter.ts
#	apps/web/src/components/Sidebar.tsx
#	apps/web/src/components/chat/MessagesTimeline.logic.ts
#	apps/web/src/components/chat/ThreadDetailsPanel.tsx
#	apps/web/src/components/sidebar/SidebarThreadRow.tsx
#	apps/web/src/i18n/translations/de.json
#	apps/web/src/i18n/translations/en.json
#	apps/web/src/i18n/translations/es.json
#	apps/web/src/i18n/translations/fr.json
#	apps/web/src/i18n/translations/ja.json
#	apps/web/src/i18n/translations/ko.json
#	apps/web/src/i18n/translations/pl.json
#	apps/web/src/i18n/translations/pt-BR.json
#	apps/web/src/i18n/translations/ru.json
#	apps/web/src/i18n/translations/sv.json
#	apps/web/src/i18n/translations/zh.json
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XXL labels Nov 30, 2026
…es in fork-only server tests

Upstream's session importer now needs ProjectionMaintenanceV2 and the settings
service gained updateProjectMcpServer; the fork-only tests now provide both.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ziyadakl ziyadakl added the agent-context-increase Sync PR: agent context grew with upstream label Nov 30, 2026
The fork groups threads by project by default, which folded the test's
threads under project headers so it could not find them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ziyadakl ziyadakl changed the title sync/upstream 2026 11 30 Sync: merge upstream/main 66cc44d75b (317 commits) into custom-v2 Nov 30, 2026
…unners

Upstream's megabyte approval-text test (pingdotgg#43049) took over 5 s on ubuntu-24.04
and failed 2 of 2 CI runs; it takes 1.4 s on affinity-vps. Per-test timeouts
are banned by lint, so the package ceiling moves instead. Listed in CUSTOM.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ziyadakl
ziyadakl marked this pull request as ready for review November 30, 2026 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-context-increase Sync PR: agent context grew with upstream size:XXL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.