Skip to content

chore: merge upstream pingdotgg/t3code through b72740852f - #226

Merged
andrewcai8 merged 225 commits into
mainfrom
sync/upstream-b72740852f
Oct 18, 2026
Merged

andrewcai8 merged 225 commits into
mainfrom
sync/upstream-b72740852f

Conversation

@andrewcai8

Copy link
Copy Markdown
Owner

Merges 222 upstream commits, through upstream's newest commit with green CI. Notable ones: a full Claude context window no longer shows as a usage limit (pingdotgg#19848), Claude recovers after capability probe failures by reusing the last good account once (pingdotgg#21042), and the mobile new task flow, git sheets and thread settings compile under the React Compiler (pingdotgg#21141).

Conflicts:

  • Claude driver, provider, usage limits UI, connection supervisor and registry, MCP tool descriptions, bootstrap thread startup: resolved as in the first attempt at chore: merge upstream pingdotgg/t3code through d7c711503f #223, where both sides of these files were the same as now. The fork's host probe now takes upstream's failing probe. When a probe fails and upstream has no last good account to reuse, the probe asks claude auth status. A probe that read no usage is cached for no time, which replaces getProbeDroppingFailedUsage.
  • Mobile new task flow, thread list actions, usage limit card, workspace layout, thread screen, scheduled tasks, composer command menu, pending new tasks: took upstream's React Compiler rewrites (no manual useMemo/useCallback) and kept the fork's cloud placement, account switch, settlement scoping and queued cloud messages.

Fork follow-ups the merge needed:

  • runClaudeCommand runs with stdin ignored. The fork's claude auth status fallback otherwise waited forever on a CLI that reads stdin, which upstream's probe-recovery test exercises.
  • The account switch tests' limited Claude result carries api_error_status: 429. After fix(server): a full Claude context window no longer shows as a usage limit pingdotgg/t3code#19848, blocking_limit alone means a full context window.
  • The usage limit card's account switch reads its command result like upstream's toggle does, so the card compiles. The fork's three cloud connection files stay on the compiler's known-bailout list.
  • serverRuntimeStartup.test.ts expects the bootstrap thread on the first enabled instance when codex is disabled, which is the fork's autoBootstrapModelSelection. McpHttpServer.test.ts provides the fork's Home services.

Verification: typecheck is clean for contracts, shared, client-runtime, server, web, mobile and desktop. Mobile React Compiler coverage passes (899 tests). The server tests for every file both sides changed pass (26 files, 806 tests).

🤖 Generated with Claude Code

saphid and others added 30 commits October 18, 2026 12:14
…ingdotgg#14955)

Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…nstances (pingdotgg#14745)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…otgg#19678)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…n Android (pingdotgg#20898)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
…ingdotgg#12952)

Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Claude <noreply@anthropic.com>
… alert (pingdotgg#20262)

Co-authored-by: PR Batch Tester <agent@local.test>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ry PR status lookup (pingdotgg#19030)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… remote (pingdotgg#13129)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…gdotgg#19181)

Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
…gdotgg#15908)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ingdotgg#18838)

Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: GPT-6.1 Sol <noreply@openai.com>
)

Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: GPT-6.1 Sol <noreply@openai.com>
Microck and others added 23 commits October 18, 2026 20:15
…d watch (pingdotgg#21309)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…st's event log (pingdotgg#21310)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ser (pingdotgg#21297)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…gain (pingdotgg#21293)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ows (pingdotgg#21295)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…otgg#21119)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…th the React Compiler (pingdotgg#21124)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…the React Compiler (pingdotgg#21133)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…pile with the React Compiler (pingdotgg#21137)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… compile with the React Compiler (pingdotgg#21141)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… with the React Compiler (pingdotgg#21142)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…h the React Compiler (pingdotgg#21145)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…hread streams (pingdotgg#21255)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…hen typing (pingdotgg#21261)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…21268)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…1156)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…21318)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…0852f

# Conflicts:
#	apps/mobile/src/features/home/useThreadListActions.ts
#	apps/mobile/src/features/layout/AdaptiveWorkspaceLayout.tsx
#	apps/mobile/src/features/settings/SettingsScheduledTasksRouteScreen.tsx
#	apps/mobile/src/features/threads/ThreadRouteScreen.tsx
#	apps/mobile/src/features/threads/UsageLimitRecoveryCard.tsx
#	apps/mobile/src/features/threads/new-task-flow-provider.tsx
#	apps/mobile/src/features/threads/use-composer-command-menu.ts
#	apps/mobile/src/features/usage/UsageLimitsSection.tsx
#	apps/mobile/src/reactCompilerCoverage.test.ts
#	apps/mobile/src/state/use-pending-new-tasks.ts
#	apps/server/src/mcp/OrchestratorMcpService.ts
#	apps/server/src/mcp/toolkits/orchestrator/tools.ts
#	apps/server/src/provider/ClaudeProvider.ts
#	apps/server/src/provider/Drivers/ClaudeDriver.ts
#	apps/server/src/serverRuntimeStartup.ts
#	apps/web/src/components/chat/UsageLimitRecoveryBanner.tsx
#	apps/web/src/components/usage/UsageLimits.tsx
#	packages/client-runtime/src/connection/registry.ts
#	packages/client-runtime/src/connection/supervisor.ts
@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 18, 2026
@github-actions

github-actions Bot commented Oct 18, 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 4.9 KiB 5.0 KiB +23 B (+0.5%) 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 +23 B (+1.9%) 2.0 KiB ✅
Codex Live turn WebSocket decoded 20.8 KiB 20.9 KiB +41 B (+0.2%) 29.3 KiB ✅
Codex Live turn messages 1 2 +1 (+100.0%) 8 ✅
Claude Total thread wire 5.0 KiB 5.0 KiB −31 B (−0.6%) 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 −31 B (−2.5%) 2.0 KiB ✅
Claude Live turn WebSocket decoded 21.2 KiB 21.2 KiB −41 B (−0.2%) 29.3 KiB ✅
Claude Live turn messages 2 1 −1 (−50.0%) 8 ✅

Baseline: 6f37f7c · PR result: 8678746 · 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.

andrewcai8 and others added 2 commits October 18, 2026 19:34
…ests and mobile upload test

Upstream's new no-hookless-use-function rule flags three fork helpers that
call no hooks; they are plain functions now. Upstream's release-link tests
assume the build's GITHUB_REPOSITORY is pingdotgg/t3code, so they now pin it
empty and read the default on a fork's CI too. Upstream's attachment upload
test imports the outbox drain, which reaches the fork's cloud chat delivery
and Expo, so it mocks that module like the fork's other outbox tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…helper it calls

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