Skip to content

chore: sync upstream through 077fd62222 - #287

Merged
andrewcai8 merged 200 commits into
mainfrom
sync/upstream-077fd62222
Nov 9, 2026
Merged

andrewcai8 merged 200 commits into
mainfrom
sync/upstream-077fd62222

Conversation

@andrewcai8

@andrewcai8 andrewcai8 commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Syncs upstream pingdotgg/t3code through 077fd62 (129 commits past ade4730). It builds on and supersedes #284 (sync/upstream-ade473018d, green but unmerged): this branch starts at #284's head, so its conflict resolutions are kept, and GitHub will mark #284 merged when this lands.

Notable upstream changes

Conflict resolutions (17 files)

  • .github/workflows/ci.yml: kept the fork's ubuntu-latest runner for Release Smoke, took upstream's 15 minute timeout.
  • package.json: upstream's knip:check:exports workspace list (adds source-control-cursor-origin) plus the fork's case:check script.
  • pnpm-workspace.yaml: upstream's react-native-enriched-markdown t3.18 entry; kept the fork's protobufjs: false, cbor-extract, and modal patch.
  • pnpm-lock.yaml: upstream's, then vp i --no-frozen-lockfile; --frozen-lockfile confirmed. Delta against upstream is the same 360 insertions as chore: sync upstream through ade473018d #284.
  • agentContextBudget.json: remeasured: claude 5549, codex 7279, MCP tool list 54844 (fork delta over upstream unchanged at +6611).
  • OrchestratorMcpService.ts: kept the fork's readThreadPage helper; applied upstream's threadRun(target, run) and providerTurns to it. FleetService.threads.read now loads providerTurns, and Home's launch and send links carry the thread title like upstream's.
  • project/handlers.ts: kept the fork's viaFleet launch; added the thread title to the link.
  • server.ts: fork's ProcessRunner for StorageCleanup plus upstream's layerServerRestart for DatabaseStorage.
  • storageCleanup.ts: took upstream's narrower withWorkspaceLease block and worktreePathReason; its removal step calls the fork's removeCheckedWorktree.
  • CommandPalette.tsx: fork's Home-folder filter plus upstream's currentProjectKey.
  • useComposerSend.ts: dropped the plan follow-up and slash-command blocks upstream removed; kept the fork's cloud holdFirstSend (with the default interaction mode).
  • useComposerResume.ts: kept the fork's continuationPrompt setting and upstream's DEFAULT_INTERACTION_MODE import.
  • settingsSearch.ts: dropped the removed legacy items; kept the fork's Home entry and environmentControlOnly, plus upstream's new availability flags.
  • __root.tsx: upstream's appHosts/Welcome structure with the fork's CloudCoordinators added to appHosts.
  • shell.ts: upstream's origin-based cache resume; followHostChat now resets origin instead of the removed authoritativeOmission.
  • threadCommands.ts: the fork's lifecycle-overlay snapshot atom plus upstream's pendingThreadIdsAtom.
  • thread-list-v2-items.tsx (mobile): kept the fork's cloud machine labels and upstream's tabular duration.

Fixes outside the conflict list: registry.cloud.test.ts authorization mock needs rememberCheckedDescriptor; CloudFleetHost.test.ts and FleetService.test.ts expect titled links; CommandPalette.browser.test.tsx mocks useNewChatPlacement (the fork drops projects of unregistered environments, which upstream's new test uses).

Verification

  • vp run typecheck in apps/server, apps/web, apps/mobile, packages/client-runtime: pass (last step, after all edits).
  • packages/client-runtime vp test run: 179 files, 2095 tests pass. packages/shared: 103 files, 1538 tests pass.
  • apps/server vp test run --maxWorkers=3: 578 files, 8158 of 8177 tests passed on the first run. After fixing two link-format tests, the rest passed, except the Mac-only items below.
  • apps/web targeted (--maxWorkers=2): settingsSearch, CommandPalette (logic and 3 browser files), useComposerResume, Sidebar.logic, useHandleNewThread, src/cloud, sidebarProjectGrouping: all pass. apps/mobile src/features/threads: 43 files, 337 tests pass.
  • vp run knip:check: pass. vp lint --report-unused-disable-directives and vp fmt --check on all 697 files differing from 077fd62: clean.
  • vp run check:changed: format, lint, knip, graphql, typecheck (41 packages), react compiler pass; its test step ran 397 files and failed only the Mac-only cases below.

Not verified

  • Full apps/web and apps/desktop suites (left to CI by design), mobile native lint, build, release smoke.
  • Mac-only local failures: cli/invocation, ServerEnvironment, UsageService x2, GitVcsDriverCore worktree folder (/private/var TMPDIR; pass with TMPDIR=$(realpath $TMPDIR)) and AntigravityInstallation agy CLI (case-insensitive APFS).

Follow-ups

  • Agent context grew (claude +199 B, codex +199 B, MCP tool list +117 B vs main), so this PR needs the agent-context-increase label.
  • No release or host update is included.

Done by Claude Sonnet 5.5 in Claude Code.

🤖 Generated with Claude Code

shivamhwp and others added 30 commits November 7, 2026 08:39
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
…29355)

Co-authored-by: PR Batch Tester <agent@local.test>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: GPT-6.1 Sol <noreply@openai.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
…gdotgg#28530)

Co-authored-by: PR Batch Tester <agent@local.test>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…onto an empty ~/.t3 (pingdotgg#23878)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
pingdotgg#31769)

Co-authored-by: Aditya Vardhan Sharma <adityaradhika13@gmail.com>
Co-authored-by: Lakshmi Tanmay <lakshmi@voltcrash.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
pingdotgg#32035)

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

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

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

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

Co-authored-by: PR Batch Tester <agent@local.test>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
)

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: GPT 6.1 Sol <codex@openai.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: GPT 6.1 Sol <codex@openai.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ingdotgg#32403)

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
spoukyii and others added 21 commits November 9, 2026 14:33
…n character (pingdotgg#30392)

Co-authored-by: maria-rcks <maria@kuuro.net>
pingdotgg#30812)

Co-authored-by: Geezy <igor.licko@gloryck.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…29832)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
…keyboard up (pingdotgg#33456)

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

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

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

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

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@andrewcai8 andrewcai8 added agent-context-increase Accept agent context growth in agentContextBudget.json and removed agent-context-increase Accept agent context growth in agentContextBudget.json labels Nov 9, 2026
@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 Nov 9, 2026
@github-actions

github-actions Bot commented Nov 9, 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 5.0 KiB 0 B (0.0%) 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 0 B (0.0%) 2.0 KiB ✅
Codex Live turn WebSocket decoded 21.5 KiB 21.5 KiB 0 B (0.0%) 24.4 KiB ✅
Codex Live turn messages 1 1 0 (0.0%) 8 ✅
Claude Total thread wire 5.0 KiB 5.0 KiB 0 B (0.0%) 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 0 B (0.0%) 2.0 KiB ✅
Claude Live turn WebSocket decoded 21.9 KiB 21.9 KiB 0 B (0.0%) 24.4 KiB ✅
Claude Live turn messages 1 1 0 (0.0%) 8 ✅

Baseline: d5683ad · PR result: f0ad252 · 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
andrewcai8 merged commit fc06227 into main Nov 9, 2026
42 of 44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-context-increase Accept agent context growth in agentContextBudget.json 📱 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.