Skip to content

chore(turbo): ingest upstream through v0.0.39-nightly.20260903.1273 + shell-snapshot-budget seam (0.0.52) - #92

Merged
gfsaaser24 merged 191 commits into
turbofrom
repair/turbo-nightly-20260903
Sep 4, 2026
Merged

chore(turbo): ingest upstream through v0.0.39-nightly.20260903.1273 + shell-snapshot-budget seam (0.0.52)#92
gfsaaser24 merged 191 commits into
turbofrom
repair/turbo-nightly-20260903

Conversation

@gfsaaser24

Copy link
Copy Markdown
Owner

Ingests 189 upstream commits (b21d872..c0ebc88, through official nightly v0.0.39-nightly.20260903.1273) onto the fork and moves the Turbo version line to 0.0.52.

Upstream headlines: sidebar status leasing by visibility (pingdotgg#9052), incremental streaming projection and activity appends (pingdotgg#9152), bounded orchestration replay payloads (pingdotgg#8992), the Antigravity provider, attachment and browser-file previews, breadcrumb directory menus, browser cookie import, and the node:sqlite client moved into @t3tools/shared.

Fork fix on top (shell-snapshot-budget seam): on a large install the sidebar's authoritative shell snapshot (GET /api/orchestration/shell) took 7-13s because repository identities were re-resolved per project (1-minute cache) behind git polling, and the client cancelled it at its 6s budget on every boot, so thread deletes and settles were applied to a cached list nobody saw. The client now waits 30s and identities cache for 12h.

Conflicts and resolutions: 41 files, detailed in the merge commit message. Fork behavior re-applied on upstream's rewritten ChatView, ChatComposer, FileBrowserPanel, FilePreviewPanel, settings contracts, workspace file system, settlement reactor, VCS broadcaster and server layer graph. OpenRouter and Antigravity coexist.

Verification: seam manifest 32 seams / 193 file checks; typecheck across all 15 packages; lint 0 errors; client-runtime 865 tests green; focused web and scripts suites green; Windows x64 installer built (T3-Turbo-0.0.52-x64.exe) and extract-checked for the Clerk key, relay domain, version and seam constant.

Known failures on this Windows host, not attributed to the merge yet: 206 server tests across 33 files fail with Windows-only signatures (cmd.exe caret-quoted --version args, C:\dev\null, POSIX path assertions, 12s timeouts while the installer built in parallel). The Grok adapter and Antigravity installation test files are byte-identical to upstream. A baseline run on the pre-merge turbo tip is still owed.

Model: Claude Fable 5.1 via Claude Code.

🤖 Generated with Claude Code

https://claude.ai/code/session_012MsC4gt4t62PoHBzadDFd6

t3dotgg and others added 30 commits September 1, 2026 17:37
…g#9129)

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
Co-authored-by: Rodrigo Brechard <rodrigo@clubtidy.fr>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
…ruma WASM engine (pingdotgg#8360)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
…gdotgg#9152)

Takes over pingdotgg#6608 by @x1xhlol.

Server: thread.message-sent updates the projection row directly and folds latestUserMessageAt in as a running maximum instead of running refreshThreadShellSummary. Client: thread.activity-appended takes an O(1) append path for in-order, unseen activities on reducer-produced arrays, with a WeakMap id index, and falls back to filter and sort for out-of-order, re-delivered, context-window, and snapshot-loaded cases.

Reducer benchmark: 10,000 in-order appends went from 1,180 ms to 70 ms.

Change authored by Claude Fable 5.1 running in Claude Code, based on work by @x1xhlol.

Co-authored-by: Lucas Valbuena <lucknitelol@proton.me>
WebSocket reconnect catch-up only checked the number of missing events, then loaded and decoded the whole replay range before sending it. A handful of events with large tool payloads could allocate gigabytes and OOM the server.

Before replaying, run a SQL preflight that counts the events in the range and sums their serialized payload bytes with octet_length(). If the range is over the existing row limit or an 8 MiB byte budget, fall back to the fresh snapshot path. Applies to both thread and shell subscriptions.

Authored by @rcawston. Review, octet_length fix, and merge by Claude Fable 5.1 in Claude Code on behalf of @t3dotgg.
…aming (pingdotgg#9145)

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Theo Browne <me@t3.gg>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
…nvironments (pingdotgg#9147)

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Classify Claude Read calls on image files as image_view and carry the full path through projection and both clients so the existing image renderer can load it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Expanded command rows use a neutral Command label and keep the full command plus real output in the detail area. Claude Bash results now cross the wire as a bounded summary. Truncated Claude echoes and ACP echoes without a kind are dropped as synthetic.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…he real CLI (pingdotgg#9154)

Co-authored-by: mavenskylab <mavenskylab@gmail.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
…utes (pingdotgg#9058)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Theo Browne <me@t3.gg>
…button (pingdotgg#6554)

Use a prepare and commit handoff for remote desktop updates. Retry lost commits, require the prepared version after reconnect, and recover backends and windows when installation fails.

Built with GPT-5.6 Sol in Codex.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Adolanium <94890352+Adolanium@users.noreply.github.com>
Co-authored-by: Claude Code <noreply@anthropic.com>
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
…8968)

Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
Co-authored-by: Claude Code <noreply@anthropic.com>
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
Co-authored-by: macroscopeapp[bot] <170038800+macroscopeapp[bot]@users.noreply.github.com>
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
…9146)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
maria-rcks and others added 26 commits September 3, 2026 17:44
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
…9492)

Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
…nd Firefox (pingdotgg#7260)

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
…ack (pingdotgg#9516)

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Utkarsh Patil <73941998+UtkarshUsername@users.noreply.github.com>
Co-authored-by: Claude Code <noreply@anthropic.com>
…0ebc88)

Merges 161 upstream commits (b21d872..c0ebc88) onto the fork and moves the
Turbo version line to 0.0.52.

Upstream headlines: sidebar status leasing by visibility (pingdotgg#9052), incremental
streaming projection and activity appends (pingdotgg#9152), bounded orchestration replay
payloads (pingdotgg#8992), the Antigravity provider, attachment and browser-file
previews, breadcrumb directory menus, and the node:sqlite client moved into
@t3tools/shared.

Conflicts and resolutions (41 files):
- apps/desktop, apps/server, apps/web, packages/contracts package.json: version -> 0.0.52.
- apps/server/src/server.ts: kept the fork's usage-limits layers (ProviderUsageRefresherLive,
  ProviderUsageLimitsStoreLive) around upstream's new AntigravityInstallation layers.
- apps/server/src/provider/Layers/ProviderRegistry.ts: the status cache now strips both the
  fork's usageLimits and upstream's workspaceSnapshots.
- apps/server/src/vcs/VcsStatusBroadcaster.ts: startup-load-shedding semaphore kept around
  upstream's policyCwds refresh.
- apps/server/src/orchestration/ThreadSettlementReactor.ts: claimAutomaticSweep throttle kept;
  upstream's merged-pull-request sweeps run through the same runSweep and are not throttled.
- apps/server/src/workspace/WorkspaceFileSystem.ts: fork rename/duplicate/delete helpers kept;
  upstream's absolute-path resolveReadTarget delegates to the fork's resolveExistingFile.
- packages/contracts/src/settings.ts: upstream file plus the fork's OpenRouter and chat-pane
  schemas re-inserted (both sides verified line-for-line).
- apps/web: OpenRouter and Antigravity providers coexist in driver meta, icons, and model
  defaults; fork chat-pane, orb, file-explorer, and markdown-preference hunks re-applied on
  upstream's rewritten ChatView, ChatComposer, FileBrowserPanel, FilePreviewPanel; the
  breadcrumb reveal callback is dropped because upstream's FileBreadcrumbs menus replace it;
  markdown-links keeps a Windows relative-backslash normaliser on upstream's new resolver.
- Upstream deletions taken: SplashScreen.tsx, marketing webp icons, formatProviderDisplayName
  stays because the fork composer still uses it.
- Fork tests moved/adjusted: useHandleNewThread.turbo.test.ts, rightPanelStore tests re-applied,
  release URL expectations point at gfsaaser24/t3code, nodeSqliteClient imports follow the move,
  equivalence test counts resolves per row rather than reads.

Verification: seam manifest 31 seams / 190 file checks (before the new seam); typecheck across all
15 packages; lint 0 errors; client-runtime 865 tests, focused web and scripts suites green.
Known environment-only failures on this Windows host: connectCliAuth (baked .env.local),
build-desktop-artifact WSL/Linux helper tests (spawn UNKNOWN), mobile-showcase POSIX paths.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MsC4gt4t62PoHBzadDFd6
…t-budget)

On a large install (30 projects, 130+ live worktrees) GET /api/orchestration/shell
took 7-13s because ProjectionSnapshotQuery re-resolved every project's repository
identity (git rev-parse + git remote -v, 1-minute cache) behind git polling, and
the client cancelled it at its 6s budget on every boot (HTTP 499, six of six
samples). The sidebar then rendered its cached list, so thread deletes and
settles never appeared.

Two fork-owned constants, registered as the `shell-snapshot-budget` seam:
- client-runtime shellSnapshotHttp: DEFAULT_SHELL_SNAPSHOT_TIMEOUT_MS 6s -> 30s.
- server RepositoryIdentityResolver: positive TTL 1min -> 12h, negative 1min -> 10min.

Upstream still ships both defaults as of c0ebc88.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MsC4gt4t62PoHBzadDFd6
@gfsaaser24
gfsaaser24 merged commit 2bcf9da into turbo Sep 4, 2026
17 of 18 checks passed
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XXL 📱 Native Change Changes the native fingerprint; merging blocks production OTAs until a new store build ships. labels Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📱 Native Change Changes the native fingerprint; merging blocks production OTAs until a new store build ships. 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.