GeezerVison is showing github.com — Sync upstream to 2482b03a01 (stage 2 of 2) by henrychu04 · Pull Request #314 · henrychu04/t3code-coder
Conversation
henrychu04
commented
Nov 12, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Stage 2 of 2 of the upstream sync: merges pingdotgg/t3code 2482b03 (the 246 commits c0b67b7631..2482b03a01) into coder-only. Stage 1 merged as #313. The upstream redesign stack (pingdotgg#28839–pingdotgg#28845) is still open and not in range.
Carried highlights
- UI language switching (feat(web): switch the UI language from Settings, with Spanish and Chinese pingdotgg/t3code#31313, translations feat(web): add Brazilian Portuguese translation pingdotgg/t3code#33161–feat(web): add Russian translation pingdotgg/t3code#33166): gt-react with translations bundled per locale and loaded with a dynamic
import(). The client-runtime locales.ts move from the mobile commit (feat(mobile): switch the settings language pingdotgg/t3code#33169) is carried because the web client imports it.
- Reply from an assistant response's hover actions (feat(web): reply to an assistant response from its hover actions pingdotgg/t3code#33124).
- Resolved review conversations fold into avatars (feat(web): resolved review conversations fold into avatars on their diff line pingdotgg/t3code#34644).
- Screen-reader window title (feat(web): screen reader window title leads with the thread's status and name pingdotgg/t3code#34697), with its client-runtime
threadActivityAnnouncement move (fix(mobile): screen readers hear when the open thread needs you or finishes pingdotgg/t3code#34431).
- Threads load while the socket connects (perf(client): threads load while the socket connects, with fewer round trips pingdotgg/t3code#35071): the WebSocket and client-state parts. The server's shell resume helpers now live in
ShellStream.ts.
- Damaged state database message (fix(server): a damaged state database fails startup with its path and how to recover pingdotgg/t3code#35057). MCP token clock-step fix (fix(server): MCP tokens still expire after the clock steps back pingdotgg/t3code#34532), ported onto the file-bridge registry.
- Every
fix(server), fix(web), fix(client-runtime), fix(shared), fix(contracts) and perf commit that touches carried code. Examples: the perf(server): sending to a very long thread reads about 5x less of its history pingdotgg/t3code#35130/perf(server): sending to a thread with thousands of finished subagents reads about half as much pingdotgg/t3code#35178/perf(server): sending to a long compacted thread waits about 3x less on its history read pingdotgg/t3code#35180/perf(server): long threads open 2 to 6x faster from a cold cache pingdotgg/t3code#35286 history-read perf work, migrations 083–085, provider toggles that no longer wait on another provider (fix(client-runtime): provider toggles no longer wait for another provider's update pingdotgg/t3code#34858), Space shortcuts (fix(contracts): Space shortcuts reach clients instead of reverting to defaults pingdotgg/t3code#34799), terminal copy on non-Latin keyboard layouts (fix(web): terminal Ctrl+Shift+C copies on non-Latin keyboard layouts pingdotgg/t3code#35210), and fix(web): browser settings changed in project scope no longer overwrite the global default pingdotgg/t3code#35143 (project-scope browser settings).
- Linked senders (fix(server,web,mobile): messages from a linked environment name the thread that sent them pingdotgg/t3code#34721), carried over the gateway hub (see Adaptations).
Cuts (each is listed in coder-only.md; new deleted files are under "2482b03a01 cuts" in sync-resolve-deleted.mjs)
- GitHub: feat(github): unvouched PRs get an open PR limit, a conflict window, and a 72 hour close notice pingdotgg/t3code#34555 (unvouched-PR policy), fix(github): the PR limits sweep retries a failed read pingdotgg/t3code#34671, fix(github): PR templates in a lowercase pull_request_template/ directory are found pingdotgg/t3code#35212, and fix(server): project identity follows gh repo set-default pingdotgg/t3code#35005 (
gh repo set-default preference in RepositoryIdentityResolver.ts).
- Mobile: feat(mobile): switch the settings language pingdotgg/t3code#33169 (except
locales.ts), fix(mobile): the thread list no longer reshuffles once per environment on startup pingdotgg/t3code#34596's steady shells (steadyShells.ts, rowActionsAtom; threadInbox.ts's fix is kept), and perf(mobile): each environment sends about 85% less data at launch pingdotgg/t3code#35072's client opt-ins (providerCatalogDigests, providerStatusDeltas, omitRefreshedProviders, machine-catalog fetches). The server side and serverConfigProjection.ts are upstream's. The other mobile-only commits are cut whole.
- Desktop / Electron / SSH / relay / T3 Connect / Tailscale / self-update: fix(desktop): stalled update downloads time out and say why pingdotgg/t3code#26244, fix(desktop): a maximized window reopens on the display it was last used on pingdotgg/t3code#25833, fix(desktop): AppImage updates no longer leave old runtimes and mounts running pingdotgg/t3code#29672, fix(desktop): app opens after an update while the old server shuts down pingdotgg/t3code#34932, fix(desktop): a failed update-track save keeps offering the current track's updates pingdotgg/t3code#34917, fix(desktop): installing an update closes SSH port forwards before relaunch pingdotgg/t3code#35018, fix(desktop): a login shell slower than 5s at launch still yields its PATH pingdotgg/t3code#35033, fix(desktop): SnapShot shortcut rebinds after the desktop portal restarts pingdotgg/t3code#35048, fix(desktop): exits that skip quit are recorded in the trace and logs pingdotgg/t3code#35097, fix(desktop): browser panel can approve local HTTPS certificates pingdotgg/t3code#24425, fix(desktop): Linux desktop builds run the packaged-server self-check pingdotgg/t3code#34863, fix(desktop): browser snapshots work after relay reconnects pingdotgg/t3code#24829, fix(server): Tailscale Serve forwards to the address a specific --host binds pingdotgg/t3code#34741, fix(tailscale): serve setup no longer times out on a long success summary pingdotgg/t3code#34743, fix(tailscale): Tailscale HTTPS is advertised only when it reaches this T3 server pingdotgg/t3code#34744, fix(server): advertise the tailnet name when sshd listens only on the tailnet address pingdotgg/t3code#34745, fix(server): Tailscale Serve no longer takes a live server's route and repairs one left on a dead port pingdotgg/t3code#35042, fix(server): T3 Connect says whether an unresolved address exists in public DNS pingdotgg/t3code#34866, fix(server): self-update moves the t3 command to the new runtime pingdotgg/t3code#14875, fix(server): boot service log is emptied in place once it passes 10 MiB pingdotgg/t3code#34886, fix(ssh): a failed remote t3 download says what failed and how to install it pingdotgg/t3code#34928, fix(ssh): an ssh config alias keeps following its Port after it changes pingdotgg/t3code#35063, fix(server): browser setup command names the running t3 executable, not another t3 on PATH pingdotgg/t3code#34936, fix(server): desktop browser tabs on System appearance follow the system color scheme pingdotgg/t3code#35038, fix(web): Incognito browser visits stay out of project history pingdotgg/t3code#34859, fix(web): preview address bar waits for the IME to finish before navigating pingdotgg/t3code#34750, fix(web): a failed page in the floating browser preview shows the error instead of a blank panel pingdotgg/t3code#35066, fix(web): Escape and tool keys work as soon as preview annotation starts pingdotgg/t3code#34796, the HTTP response guard (perf(client): threads load while the socket connects, with fewer round trips pingdotgg/t3code#35071), and
useOpenLocalWorkspace.ts (feat(web): drop folders on the sidebar to add them as projects pingdotgg/t3code#35202's desktop activation).
- Usage / diagnostics: fix(server): a reset credit's limits refresh when the first read after it fails pingdotgg/t3code#34780 (reset credits), fix(client-runtime): Diagnostics Resource History keeps updating while open pingdotgg/t3code#35116, fix(server): usage model details count the real unpriced tokens pingdotgg/t3code#35179.
- Voice: fix(web): voice settings and dictation match the rest of the app pingdotgg/t3code#33140, reverted per file in
ChatComposer, ComposerFooterControls, ComposerPrimaryActions, settings search, contracts voiceMicrophones, and MicrophoneOrderList.tsx.
- Other providers' packages: Cursor, OpenCode, Muse, Kiro/fx/Antigravity, Forgejo, and Copilot (fix(acp): new Copilot threads run the model the composer shows pingdotgg/t3code#35199's effort defaults in
provider-acp-registry/adapter.ts and its test).
- Tooling: CI,
CONTRIBUTING.md/README.md rewrites (the fork keeps its own), and the gt CLI with its i18n:generate/i18n:translate scripts. No build or test needs them, and they call General Translation's service.
- Tests that need cut harnesses:
ChatView.handoffCompaction.browser.test.tsx.
Adaptations and decisions
- gt-react makes no network request. I read the library code in
node_modules and grepped the built apps/web/dist:
- Translations load through
initializeGTSPA's loadTranslations, so the loader type is "custom" and the CDN loader is never used.
- Runtime translation needs a General Translation project id, a dev API key, and a development build. In the built app, the
VITE_GT_* reads compile to {}.VITE_GT_PROJECT_ID, so both are undefined.
- Production translation misses are no-ops.
https://api.gtx.dev and https://cdn.gtx.dev appear in the dist only as gt-react's default constants and comparisons. No configured path reaches them.
- Fork-only strings stay English. No translation keys were added. A fork label inside upstream's
msg() ("Diffs & merge requests") has no translation and shows English.
- feat(web,mobile): Add project lists only GitHub until you turn other hosts on pingdotgg/t3code#34978 (Add project lists only GitHub): upstream's code shape and the
offeredSourceControlProviders setting are kept. isSourceControlProviderOffered falls back to the registry's first definition, which in the fork's GitLab-only registry is GitLab. So GitLab appears in Add project, Publish Repository and the command palette with no opt-in, and Settings → Source control's switch can turn it off. Marked Coder:; projects.test.ts expects GitLab.
- perf(client): threads load while the socket connects, with fewer round trips pingdotgg/t3code#35071 (threads load while the socket connects): the client never tries the HTTP shell route.
PreparedConnection.descriptor is never set.
ShellSnapshotLoader keeps only upstream's answer types and always answers none.
coderEnvironment.ts omits the shellThreadFamilies and shellOlderSettled capabilities.
sameConnection has no httpAuthorization to ignore.
- feat(web): drop folders on the sidebar to add them as projects pingdotgg/t3code#35202 (drop folders on the sidebar): a folder on the laptop cannot map to a workspace path. The drop zone keeps upstream's browser branch only, so a dropped folder shows a toast that points at Add project.
- fix(server,web,mobile): messages from a linked environment name the thread that sent them pingdotgg/t3code#34721 (linked senders): the sender rides in the hub's
Call request and coder.hub.invoke payload, with the title cut to upstream's header length. The target sets the linked caller's senderThread from it.
- fix(web): mouse back/forward over the right panel no longer moves the main chat pingdotgg/t3code#30882:
preview/thumbButtons.ts is carried; RightPanelTabs has no preview surface for back/forward to step.
- Generic hooks from cut providers' fixes stay as upstream's, as Kiro's ACP hooks already do: fix(opencode): project-defined models appear in that project's picker pingdotgg/t3code#24585's per-folder model catalogs, fix(opencode): updating restarts the background service on the new version pingdotgg/t3code#34606's
afterUpdate, fix(cursor): steer the live run without reconnecting pingdotgg/t3code#28980's declined steering, and fix(acp): new Copilot threads run the model the composer shows pingdotgg/t3code#35199's unsetOptionDefaults/resendCurrentValue. Cutting them from orchestration and provider-core would add many seams, and no carried driver sets them. Worth a reviewer look if you would rather cut them.
@t3tools/shared/keybindingMatching's package export returns, because the web terminal now imports it (fix(web): terminal Ctrl+Shift+C copies on non-Latin keyboard layouts pingdotgg/t3code#35210).
apps/web/index.html has no new inline script in this range, so the CSP is unchanged.
- No new RPCs, Claude
Query methods or options, MCP-server paths, listeners, outbound connections, or local spawns. fix(server): resumed Claude sessions wait for their MCP servers pingdotgg/t3code#34822's MCP_CONNECTION_NONBLOCKING is an environment variable, which the CLI transport passes through.
SYNC_BASE is now 2482b03. The GitLabCli seam is re-checked against it (fix(gitlab): create fork merge requests in the source project pingdotgg/t3code#23439 is still open). sync.md records this sync's lessons.
Issues
#229, #231, #232 stay open. Nothing in range fixes them (upstream pingdotgg#23439 is still open; the server wording is unchanged; the thread-visit race is untouched).
Verification
Run after deleting every node_modules and reinstalling with --frozen-lockfile. No @napi-rs/canvas; @types/hast is 3.0.4.
- Typechecks: every check in AGENTS.md passes with 0 errors (gateway, helper, server, web, contracts, shared, client-runtime, coder-cli, providers, ACP, source control).
pnpm knip:check: passes.
node scripts/seams-check.mjs 2482b03a01: passes.
sync-check: markers show no drops. The lost and both-sides lines are cut surfaces or the wording seam. unused-locals reports nothing.
pnpm test:coder: exit 0 on the fifth run. Earlier runs failed on upstream tests that needed fork adaptation (GitLab fixtures, !N wording, dormant capability copies, gateway connection, GT in a node unit test); those adaptations are in the commits after the merge.
pnpm build: passes.
- fmt check over the changed files: clean. No
.orig/.rej files.
- Live Coder smoke: none was run; no harness session was available.
Fable 5.2 review (2 reviewers, server and web)
No high or medium findings, no boundary breaks, no merge losses. gt-react confirmed to make no runtime request in the built app; pingdotgg#34978 offers GitLab for fresh and pre-sync settings; pingdotgg#35071 never requests the HTTP shell route. Fixed in the review commit:
Re-verified after the fixes on a clean node_modules: every AGENTS.md typecheck, pnpm knip:check, seams-check, pnpm test:coder (exit 0), pnpm build, fmt check. No live Coder smoke.
🤖 Generated with Claude Code
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Stage 2 of 2: the 246 upstream commits c0b67b7..2482b03.
Upstream brings UI language switching through gt-react with bundled
translations (pingdotgg#31313, pingdotgg#33161-pingdotgg#33166), replies from an assistant
response's hover actions (pingdotgg#33124), resolved review conversations folded
into avatars (pingdotgg#34644), a screen-reader window title (pingdotgg#34697), sidebar
folder drops (pingdotgg#35202), Add project host gating (pingdotgg#34978), threads that
load while the socket connects (pingdotgg#35071), and the server, web,
client-runtime, shared, and contracts fixes and perf work in the range.
Resolution:
- server.ts, serverRuntimeStartup.ts, and the session/connection
modules keep the fork's reduced files; upstream's HTTP shell snapshot,
Tailscale Serve, self-update, and response-guard hunks stay cut.
- ws.ts takes upstream's catalog digests and provider status deltas on
the server side and its move of the shell resume helpers into
ShellStream.ts; the client still opts into neither (pingdotgg#35072 is mobile's).
- McpSessionRegistry.ts ports pingdotgg#34532's wall and monotonic alive marks
onto the file-bridge registry; its test gains upstream's case.
- Sqlite.ts carries pingdotgg#35057's damaged-database error without the CLI
ownership check; RepositoryIdentityResolver.ts drops pingdotgg#35005's
`gh repo set-default` preference (GitHub-only).
- Voice (pingdotgg#33140) hunks are reverted per file; the mobile language
switch (pingdotgg#33169), screen-reader moves (pingdotgg#34431), and steady shells
(pingdotgg#34596) keep only what the web client uses.
- SidebarFolderDrop takes upstream's browser branch only: a dropped
folder on this computer shows a toast pointing at Add project.
- RightPanelTabs keeps pingdotgg#30882's thumb-button handling without a preview
surface; preview/thumbButtons.ts is carried.
- GitLab is the registry's only and default host, so pingdotgg#34978's offer
setting yields GitLab without an opt-in.
- The `gt` CLI and its i18n:generate/i18n:translate scripts are not
carried; the build and tests do not need them.
- New cuts are listed under "2482b03a01 cuts" in
scripts/sync-resolve-deleted.mjs.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Upstream names the linked-environment thread that sent a message by
passing a `T3-Sender-Thread` header on its `/mcp` call. The fork routes
linked calls through the gateway hub instead, so the sender rides in the
hub's `Call` request and `coder.hub.invoke` payload, cut to upstream's
header title length, and the target helper puts it on the linked
caller's `senderThread` as upstream's MCP server does.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
coder-only.md names this sync's seams and cuts: the hub's linked sender,
pingdotgg#34978's GitLab default, pingdotgg#35005's cut, pingdotgg#35071's shell path without an HTTP
load, pingdotgg#35072's client opt-ins and mobile's steady shells left out, the
UI language setup and its no-request configuration, sidebar folder
drops, thumb-button handling, pingdotgg#33140's voice hunks, and the generic hooks
cut providers' fixes leave in carried code. knip ignores the three
exports only cut surfaces read, SYNC_BASE moves to 2482b03, the
GitLabCli seam is checked against it, and sync.md records where the
checklist fell short.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- RepositoryIdentityResolver's mocked remotes print git's tab, which
pingdotgg#35080's parser now requires.
- The dormant Cursor and ACP capabilities copy upstream's again (pingdotgg#28980
turned on Cursor's active steering).
- runtimeLayer's combined watch wakes read `!N`, as the fork's wording
seam writes them.
- CodexAdapterV2's goal wake test (pingdotgg#34898) runs without a bridge command,
so its turn carries no T3 context.
- AcpRegistryAdapterV2 drops pingdotgg#35199's Copilot case; Copilot's flavor is
cut.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The gateway connection carries no bearer credential, so the test's
credential rotation step is dropped; the session's later events are
still checked.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The unit project resolves gt-react to its node build, which has no SPA
setup, so the test mocks its hooks to render the English source.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
ThreadDetailsPanel's cases mock the Coder config its Servers list reads,
ThreadDetailsPrRow's repository-project merges run on a GitLab project,
and the pull request handoff toast says merge request, the default
host's term.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Cut OpenCode's post-update hook (pingdotgg#34606: provider-core afterUpdate and ProviderRegistry's call)
and ShellStream's loadShellUnlessResumable, whose only caller is the uncarried HTTP shell route;
drop its knip ignore.
- Import upstream's AcpProviderCapabilitiesV2 in ProviderSwitch.integration.test instead of a copy.
- Drop the singleFlight concurrency the merge invented on updateProvider (upstream has none).
- Retitle the sidebar file-drop toast so it no longer says folders can be added.
- coder-only.md: the hooks kept as upstream, never setting the GT dev variables, GT locale cookies.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|