Skip to content

chore: sync upstream through 896e64f82d - #290

Merged
andrewcai8 merged 172 commits into
mainfrom
sync/upstream-896e64f82d
Nov 11, 2026
Merged

andrewcai8 merged 172 commits into
mainfrom
sync/upstream-896e64f82d

Conversation

@andrewcai8

@andrewcai8 andrewcai8 commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

Syncs the fork with pingdotgg/t3code through 896e64f82d (165 upstream commits since c7a0931537, newest upstream main commit with green CI). Merge commit, 21 conflicts, one new migration (081).

Notable upstream changes

Conflict resolutions (21)

  • .github/workflows/ci.yml: kept the fork's GitHub-hosted runners and its guarded apt-mirror loop; upstream's only ci.yml change in range was the apt index trim, which is not taken (ci.yml equals the fork's).
  • apps/server/src/persistence/Sqlite.ts: took upstream's makeLayerSetup/makeLayerFromPath/layerCliConfig restructure and re-applied the fork's writerWorker, onWriterLost and comments on the shared NodeSqliteClient.layer.
  • CodexProvider.ts: fork's CODEX_APP_SERVER_PROBE_TIMEOUT_MS deadline plus upstream's { serviceTier, nativeUsage, rateLimits } result.
  • packages/provider-core/.../managedProvider.ts: fork's withProviderCheckPermit wraps the probe, upstream's usageBeforeProbe guard kept.
  • ProviderTurnStartService.test.ts, ManagedProjectFolders.test.ts, StorageSettings.browser.test.tsx, scheduledTasksSettings.logic.test.ts: kept both sides' tests (fork's handoff/Home-folder/worktree-rule/destination-rules, upstream's run-status/warn-once/retention-draft/schedule-label).
  • Scheduled tasks (web logic, settings, mobile route screen): upstream's scheduleLabel(schedule, timeZone, nextRunAt) and describeSchedule(task, timeZone) with the fork's target suffix and scheduledTaskDestinationRules.
  • useComposerSend.ts: upstream hoisted sendCtx and the answer-a-question guard above the busy checks; the fork's heldCloudSend/withHeldCloudSend now wraps that early sendCtx.
  • Web Sidebar.tsx, ThreadNotificationCoordinator.tsx, ProjectDefaultsSettings.tsx, UsageLimitsPooled.tsx: imports combined; dropped upstream's composerDraftHasUserContent import (fork's SidebarCloud.draftSessionHasInvestedWork covers it) and usePaceMark (unused in the fork's Pooled view).
  • Mobile use-pending-new-tasks.ts, ThreadNavigationSidebar.tsx: upstream's send gate and useLaunchingThreads; usePendingNewTasks keeps the fork's useQueuedMessagesAwaitingThreads.
  • scripts/package.json: upstream's agent-device, e2e, Playwright plus the fork's e2b. pnpm-lock.yaml: upstream's, then vp i --no-frozen-lockfile; --frozen-lockfile confirmed.
  • agentContextBudget.json: re-measured (see above).

Non-conflict fixes: ForkMigrations.test.ts pins 081; ws.test.ts upstream's new ACP-session test needs WsRpcGroup (the fork test otherwise uses CoreWsRpcGroup); StorageSettings.tsx fork cloud-machines retention control takes the new onChange(value, onFailed) signature; ChatView.tsx inlines primaryEnvironmentId (upstream removed the const); mobile pending-new-task-arrivals.test.ts passes the new required sendGate.

CI note

archive.ubuntu.com is down globally (2026-11-11), so the 'Finish installing browser secret helper build libraries' step timed out at 5 min on every run (apt waits 15 s per file before falling back). Cherry-picked 4985437 from #289 (reorders .github/actions/setup-apt-mirrors/action.yml so mirrors.edge.kernel.org and mirror.math.princeton.edu come before archive.ubuntu.com) and 97c53c9 (setup-apt-mirrors deletes the Launchpad PPA and ESM apt sources, which stall apt-get update while Canonical is down). The earlier 'keep the fork's apt step' commit in this PR is a no-op on behavior relative to main.

Verification

  • vp run typecheck: shared, contracts, provider-core, client-runtime, server, web, mobile, desktop, scripts all exit 0.
  • Lint (--report-unused-disable-directives) and vp fmt --check on all 697 changed ts/tsx/js files differing from upstream: clean. vp run knip:check, vp run case:check: clean.
  • Full vp test run: provider-core (229), shared (1617), client-runtime (2150), mobile (3459), server (8417 passed). Server's 9 local failures are the known Mac-only ones (/private/var realpath: invocation, ServerEnvironment, AgentSessionScanner, UsageService, GitVcsDriverCore pass with TMPDIR=$(realpath $TMPDIR); case-insensitive APFS: AntigravityInstallation, ClaudeSkills).
  • Targeted web: useHandleNewThread*, src/cloud, Sidebar.browser, components/sidebar, Sidebar.logic/drag, ThreadNotificationCoordinator.*, Storage/ScheduledTasks/UsageLimitsPooled browser tests, settings logic tests all pass.

Not verified

  • Full apps/web and apps/desktop suites (left to CI; this Mac is shared).
  • Mobile Native Static Analysis, ChatView browser composer-send paths (most of that file is skipped), runtime behavior of migration 081 on the large production DB.

Follow-ups

  • After merge: tag runtime-vX.Y.Z, update hosts. Migration 081 adds search_text, recreates the message search triggers and scans messages containing citation links once; time the first start on the PC before relying on it.

🤖 Generated with Claude Code

t3dotgg and others added 30 commits November 10, 2026 07:18
…er (pingdotgg#32936)

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

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ar hasn't loaded (pingdotgg#32507)

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

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
OpenCode native goals were missing from the shared goal projection and turn lifecycle. Synchronize goal state and continuation executions, gate dispatch on supported connected versions, and preserve older-version commands and provider-switch context.

Handle reconnect freshness, pending steers, delayed control replies, and unreadable goal updates without losing tracked work. Reuse the existing goal UI across clients.

Verified with check:changed, 264 affected tests, focused Codex/Claude goal tests, and CI. Live provider and manual client verification were not performed.

Created with GPT-6.1 Sol through the Codex harness.
…g#33987)

Co-authored-by: Sharan Yalburgi <sharan@Sharans-MacBook-Pro.local>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…refreshes (pingdotgg#32359)

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

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

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
macOS app-bundle links now display their native icons and offer Open app on eligible local hosts. Reuse the desktop host environment identity and direct loopback detection to keep launches local.

Resolve icons from the exact bundle path, expand home-relative icon and file-manager paths on the server, and require filesystem-read permission for path-selected icons.

Validated with focused regressions, a real Calculator icon and app launch, and green CI and automated reviews on e3e8b78. All review threads are resolved.

GPT 6.1 Sol via the Codex harness in T3 Code.
Project successful OpenCode native todowrite results into T3 checklists, including reconnect recovery, status changes, cancelled tasks, and clears. Preserve failed and unrecognized tool results.

Validated with check:changed, 124 tests, full PR CI, and a real OpenCode 2.2.6 / MiniMax M3.1 Flash Free run through the dev web UI.

Model: GPT 6.1 Sol. Harness: Codex.
…s output (pingdotgg#34002)

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
TonybynMp4 and others added 18 commits November 11, 2026 04:16
…gdotgg#30575)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
… answers (pingdotgg#26992)

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…host returns without this update's outcome (pingdotgg#27275)

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

Co-authored-by: Yannic Charlon <52761674+JustYannicc@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
…ock (pingdotgg#23001)

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
…ds the inspection limit (pingdotgg#26593)

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

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

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

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

Co-authored-by: Sinan Turna <189102964+Sinan53x@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ingdotgg#10495)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
…gdotgg#14170)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@andrewcai8 andrewcai8 added the agent-context-increase Accept agent context growth in agentContextBudget.json label Nov 11, 2026
@github-actions github-actions Bot added size:XXL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. 📱 Native Change Changes the native fingerprint; merging blocks production OTAs until a new store build ships. labels Nov 11, 2026
@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

ℹ️ The exact PR base did not have a successful artifact. Baseline uses the latest successful main measurement shown below.

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: 348addc · PR result: cdf8625 · 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 6 commits November 11, 2026 10:34
…osted runners

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…u.com

archive.ubuntu.com stopped answering on 2026-11-11, and apt's 15 s per-file
failover made the background apt install overrun its 5-minute step on every
run. Both fallback mirrors answer in under 3 s.

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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@andrewcai8
andrewcai8 merged commit d7dc834 into main Nov 11, 2026
29 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.