Skip to content

chore: merge upstream pingdotgg/t3code through f0fb0e8525 - #231

Merged
andrewcai8 merged 136 commits into
mainfrom
sync/upstream-f0fb0e8525
Oct 19, 2026
Merged

andrewcai8 merged 136 commits into
mainfrom
sync/upstream-f0fb0e8525

Conversation

@andrewcai8

@andrewcai8 andrewcai8 commented Oct 19, 2026 •

Copy link
Copy Markdown
Owner

Merges 134 upstream commits, through upstream's newest commit with green CI. Notable ones: Claude background agents settle when their process exits (pingdotgg#19464), Stop no longer leaves a killed background command showing as running (pingdotgg#18163), forking a Claude thread works on instances with their own home (pingdotgg#18662), and native subscription accounts are deduplicated in usage (pingdotgg#10700).

Conflicts:

  • Orchestrator.ts: took upstream's Stop reconciliation. The stopped turn's own provider thread goes through stillReportsBackgroundWork, which covers the failed-turn case the fork's fix(server): background jobs stay stoppable after a turn fails on a usage limit #193 fixed. Any other provider thread with a live session keeps its roster, as upstream's BackgroundWorkStop tests expect, so the fork's liveSessionRunsWork is removed. fix(server): background jobs stay stoppable after a turn fails on a usage limit #193's tests still pass.
  • ThreadLaunchService.ts: took upstream's Scratch normalization of the launch input. The fork's cloud-only refusal runs on the normalized input, before any thread is created.
  • ScheduledTaskService.ts: kept the fork's target beside upstream's normalized workspaceStrategy.
  • Web:
    • BranchToolbar and ChatView keep the fork's cloud Run-on picker with upstream's optional onEnvironmentChange.
    • A held cloud send keeps its draft and isn't marked promoted until it is sent.
    • Sidebar takes upstream's routeThreadRef beside the fork's homeThreadRef.
    • The usage page says "to now" with upstream's 12/24-hour setting.
  • deploy-relay.yml keeps the fork's opt-in deploy.

Follow-ups the merge needed:

  • DesktopWindow.ts had the same DesktopState import and lookup added on both sides, so the duplicates are removed.
  • ScheduledTaskService.cloud.test.ts provides ManagedProjectFolders, which the service now needs.

Verification:

  • Typecheck is clean for contracts, shared, client-runtime, provider-core, server, web, mobile and desktop.
  • Repo lint has no errors.
  • Server tests for the files both sides changed, plus the scheduled task, cloud fleet, account switch and fork migration tests, pass (18 files, 848 tests).
  • Web unit tests pass (7226).
  • Mobile unit tests pass apart from the two macOS-only native race tests in scripts/, which are unchanged from upstream.

🤖 Generated with Claude Code

SunkenInTime and others added 30 commits October 19, 2026 10:06
…pingdotgg#21070)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ASCII names (pingdotgg#20175)

Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
…gdotgg#16926)

Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…gg#15575)

Co-authored-by: kurisu <kurisu@nerv.no>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…gdotgg#16022)

Co-authored-by: saphid <saphid@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…18983)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
pingdotgg#11933)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…f a generic error (pingdotgg#11340)

Co-authored-by: PR Batch Tester <agent@local.test>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…dotgg#15747)

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

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…options (pingdotgg#16581)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…8440)

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

Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: GPT-6.1 Sol <noreply@openai.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…otgg#14672)

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

Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: GPT-6.1 Sol <noreply@openai.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ender (pingdotgg#9406)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ut Auto (pingdotgg#15687)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…otgg#15840)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
… only after a tap (pingdotgg#18548)

Co-authored-by: PR Batch Tester <agent@local.test>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…blings (pingdotgg#14545)

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

Co-authored-by: Aaron Queen <bompus@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Code <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…nt (pingdotgg#15163)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
vitalyiegorov and others added 24 commits October 19, 2026 13:25
…ngdotgg#12199)

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
pingdotgg#16670)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…dotgg#19899)

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

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

Co-authored-by: macodev00 <macodev00@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
… longer fails (pingdotgg#18265)

Signed-off-by: Pujitha Paladugu <10557236+pujitha24@users.noreply.github.com>
Co-authored-by: Pujitha Paladugu <10557236+pujitha24@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…n home (pingdotgg#18662)

Co-authored-by: SIngularity <56167379+Singularity777x@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ingdotgg#18248)

Co-authored-by: only21mil <263261067+only21mil@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…mbers (pingdotgg#15395)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…60 characters (pingdotgg#13538)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…g#18133)

Co-authored-by: macodev00 <macodev00@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…dotgg#18813)

Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: GPT-6.1 Sol <noreply@openai.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…g as running (pingdotgg#18163)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…#18149)

Co-authored-by: ashx-j <281260375+ashx-j@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…est (pingdotgg#21912)

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
…e8525

# Conflicts:
#	.github/workflows/deploy-relay.yml
#	apps/server/src/orchestration-v2/Orchestrator.ts
#	apps/server/src/orchestration-v2/ThreadLaunchService.ts
#	apps/server/src/scheduledTasks/ScheduledTaskService.ts
#	apps/web/src/components/BranchToolbar.tsx
#	apps/web/src/components/ChatView.tsx
#	apps/web/src/components/Sidebar.logic.ts
#	apps/web/src/components/Sidebar.tsx
#	apps/web/src/components/chat/ThreadDetailsPanel.tsx
#	apps/web/src/components/usage/UsagePage.tsx
@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 Oct 19, 2026
@github-actions

github-actions Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire 5.0 KiB 4.9 KiB −30 B (−0.6%) 6.8 KiB ✅
Codex Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Codex Live turn WebSocket wire 1.2 KiB 1.2 KiB −30 B (−2.5%) 2.0 KiB ✅
Codex Live turn WebSocket decoded 20.9 KiB 20.8 KiB −41 B (−0.2%) 29.3 KiB ✅
Codex Live turn messages 2 1 −1 (−50.0%) 8 ✅
Claude Total thread wire 5.0 KiB 5.0 KiB −7 B (−0.1%) 6.8 KiB ✅
Claude Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Claude Live turn WebSocket wire 1.2 KiB 1.2 KiB −7 B (−0.6%) 2.0 KiB ✅
Claude Live turn WebSocket decoded 21.2 KiB 21.2 KiB 0 B (0.0%) 29.3 KiB ✅
Claude Live turn messages 2 2 0 (0.0%) 8 ✅

Baseline: 8464420 · PR result: 4194cb5 · 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: 108.5 KiB
  • Claude decoded thread snapshot: 108.8 KiB

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

…ssion is live

Upstream now reconciles the stopped turn's own provider thread through
stillReportsBackgroundWork, which covers the failed-turn case #193 fixed.
For every other provider thread a live session owns its roster again, as
upstream's BackgroundWorkStop tests expect, so the fork's probe-based
liveSessionRunsWork goes away.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@andrewcai8
andrewcai8 merged commit 66a3d35 into main Oct 19, 2026
25 of 26 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.