Skip to content

chore(turbo): ingest upstream through main c17d02cff (Fable 5.1) - #83

Merged
gfsaaser24 merged 49 commits into
turbofrom
repair/turbo-nightly-20260901
Sep 1, 2026
Merged

chore(turbo): ingest upstream through main c17d02cff (Fable 5.1)#83
gfsaaser24 merged 49 commits into
turbofrom
repair/turbo-nightly-20260901

Conversation

@gfsaaser24

Copy link
Copy Markdown
Owner

Merges 47 upstream commits (9b2d04317..c17d02cff) into the Turbo fork and bumps the fork version line to 0.0.46.

Upstream headlines

  • Claude Fable 5.1 — new model entry, the 2.1.257 Claude Code version gate, the model-manifest demotion of fable-5 to legacy, and the new aliases. Taken from upstream wholesale.
  • Performance — server config bootstrap traffic halved, full-message reads skipped while streaming, chatty tool-update frames cut ~90%, snapshot activity payloads bounded and read in batches, idle CPU use and provider event leaks fixed.
  • Web — settings searchable by detail, pull request list filters, GitHub reference links in markdown, expand/collapse-all on the files surface.
  • Mobile — attachment uploads while composing, native image and PDF previews, native iOS video playback.
  • Server fixes — server-side thread settling, OpenCode child session cleanup, remote web session cookie isolation, long thread IDs in HTTP routes.

Conflicts and how they were resolved

File Resolution
apps/server/.../ProjectionSnapshotQuery.ts Upstream refactored the thread-detail read into a batched, id-first projection with two new sort sites. The Turbo canonical comparator (null sequences sink, then createdAt, lifecycle rank, byte-order id) became one shared helper used by both, so the SQL ORDER BY clauses and the TS comparator still agree.
apps/web/src/routes/_chat.draft.$draftId.tsx Kept the Turbo null component; the upstream draft view was not reinstated.
apps/web/src/components/chat/ChatComposer.tsx Kept UsageLimitsMeters and adopted upstream's removal of the inline "Preparing worktree..." label.
apps/web/src/components/files/FileBrowserPanel.tsx Upstream's toolbar expand/collapse-all coexists with the Turbo alt-click bulk expansion; upstream's helper is imported under an alias.
apps/web/src/components/BranchToolbar.tsx Kept the Turbo flex-1 selector width (no md: overrides).
apps/web/src/components/BranchToolbarEnvModeSelector.tsx Took upstream's newer label motion wrapper; the Turbo shrink behaviour is preserved.
apps/web/src/session-logic.ts Both imports kept.
apps/mobile/app.config.ts New iOS NSPhotoLibraryAddUsageDescription string rebranded to MOBILE_PRODUCT_NAME.
apps/mobile/.../ThreadComposer.tsx Took upstream's FilePreviewModal imports, kept the Turbo AppState usage-meter import.

packages/client-runtime/src/turbo/streamPool.test.ts also gained a stub for the new RpcSession.subscribeServerConfig member.

Bonus

Re-adds the two Turbo docs links (internals/t3-turbo.md, internals/t3-turbo-nightly-inbound.md) that docs/README.md had lost on turbo.

Verification

  • Seam manifest: 28 seams / 176 checks verified, no manifest edits needed.
  • Typecheck clean: contracts, server, web, desktop, shared, client-runtime, mobile.
  • Lint clean (--report-unused-disable-directives): warnings only, no errors.
  • Tests: scripts turbo suites (32), web src/turbo/ (85), client-runtime src/turbo/ (12), web session-logic + components/files (128), server provider Fable tests (4), server activity-order + ProjectionSnapshotQuery (23).

Model: Claude Fable 5. Harness: Claude Code.

🤖 Generated with Claude Code

yashranaway and others added 30 commits August 31, 2026 09:38
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius@mac.lan>
Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius@mac.lan>
Co-authored-by: Julius Marminge <julius@mac.lan>
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.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>
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
t3-code Bot and others added 18 commits September 1, 2026 07:44
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
…pingdotgg#9024)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Theo Browne <me@t3.gg>
…g#8367)

Reuse one server config subscription for session bootstrap and live updates.

Preserve environment theme opt-in, replay, deletion, slow subscriber recovery, and config stream failure handling.

Co-authored-by: Adamulek123 <adam.bogucki2018@gmail.com>
Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Merges 47 upstream commits (9b2d043..c17d02c) into the Turbo fork and
bumps the fork version line to 0.0.46.

Upstream headlines:
- feat(claude): Claude Fable 5.1 model, with the 2.1.257 Claude Code gate,
  the model-manifest demotion of fable-5 to legacy, and the new aliases.
- perf: server config bootstrap traffic halved, streaming message reads
  skipped, tool-update frames cut ~90%, snapshot activity payloads bounded
  and batched, idle CPU and provider event leaks fixed.
- feat(web): settings detail search, pull request list filters, GitHub
  reference links in markdown, expand/collapse all on the files surface.
- feat(mobile): compose-time attachment uploads, native image/PDF previews,
  native iOS video playback.
- fix(server): server-side thread settling, OpenCode child session cleanup,
  remote web session cookie isolation, long thread IDs in HTTP routes.

Seam notes:
- unified-activity-order: upstream refactored the thread-detail read into a
  batched, id-first projection with two new sort sites. The Turbo canonical
  comparator (null sequences sink, createdAt, lifecycle rank, byte-order id)
  is now a single shared helper used by both, so SQL and TS still agree.
- multi-chat-pane-workspace: the draft route stays a null component; the
  upstream draft view was not reinstated.
- usage meters: ComposerFooterPrimaryActions keeps UsageLimitsMeters while
  adopting upstream's removal of the inline "Preparing worktree..." label.
- files surface: upstream's toolbar expand/collapse-all coexists with the
  Turbo alt-click bulk expansion; upstream's helper is imported under an
  alias so both stay available.
- branding: the new iOS NSPhotoLibraryAddUsageDescription string uses
  MOBILE_PRODUCT_NAME.
- BranchToolbar keeps the Turbo flex-1 selector width; the env mode label
  takes upstream's newer motion wrapper.
- client-runtime turbo/streamPool.test.ts stubs the new
  RpcSession.subscribeServerConfig member.

Also re-adds the two Turbo docs links (internals/t3-turbo.md and
internals/t3-turbo-nightly-inbound.md) that docs/README.md lost on turbo.

Verified: 28 seams / 176 checks, typecheck clean across contracts, server,
web, desktop, shared, client-runtime and mobile, lint clean (warnings only),
and targeted tests for the provider, activity order, files and turbo suites.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XXL labels Sep 1, 2026
@socket-security

socket-security Bot commented Sep 1, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​expo-document-picker@​57.0.17510088100100
Addednpm/​expo-video@​57.0.310010083100100
Updatednpm/​electron@​41.5.0 ⏵ 43.4.1100 +6100 +1810098100

View full report

@github-actions github-actions Bot added the 📱 Native Change Changes the native fingerprint; merging blocks production OTAs until a new store build ships. label Sep 1, 2026
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

ℹ️ No successful main baseline artifact is available yet. This run establishes the initial measurement.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire 13.4 KiB 15.1 KiB
Codex Thread snapshot wire 6.9 KiB 7.3 KiB
Codex Live turn WebSocket wire 6.5 KiB 7.8 KiB
Codex Live turn WebSocket decoded 57.0 KiB 66.4 KiB
Codex Live turn messages 10 21
Claude Total thread wire 13.1 KiB 15.1 KiB
Claude Thread snapshot wire 6.9 KiB 7.3 KiB
Claude Live turn WebSocket wire 6.2 KiB 7.8 KiB
Claude Live turn WebSocket decoded 55.5 KiB 66.4 KiB
Claude Live turn messages 8 21

Baseline: unavailable · PR result: c10d682 · Source CI: success

Scenario and decoded snapshot size

10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

  • Codex decoded thread snapshot: 109.4 KiB
  • Claude decoded thread snapshot: 110.1 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

Upstream now serves server config through a durable, session-owned
subscription with its own replay and projection. Routing it through the
Turbo frame pool put a queue between the session and its own durable
state, which stalled config recovery after an owned stream failure.

Server config is low volume, so it joins the non-cumulative tags that
bypass pooling.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@gfsaaser24
gfsaaser24 merged commit a406c4b into turbo Sep 1, 2026
23 checks passed
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.