Skip to content

chore(fork): merge upstream main through 65b4a69407 - #60

Merged
joaoheusi merged 341 commits into
mainfrom
t3/merge-latest-upstream
Oct 27, 2026
Merged

joaoheusi merged 341 commits into
mainfrom
t3/merge-latest-upstream

Conversation

@joaoheusi

Copy link
Copy Markdown
Owner

Problem

The fork's main was behind pingdotgg/t3code by 339 commits (through 65b4a69407). This merges the latest upstream/main into the fork.

How I fixed it

Merged upstream/main into t3/merge-latest-upstream and resolved 35 conflicted files, keeping fork features (Muse provider, quick actions, multi-repository workspaces, model fallback chain, J4 branding and home directory) working on the new upstream code.

Notable resolutions:

  • Mobile outbox: ported the fork's workspace-configuration creation and pull-request checkout steps into upstream's new atom-driven threadOutboxDelivery; the fork's use-thread-outbox-drain hook is gone.
  • Mobile new-task flow: took upstream's derived branch defaults and project-defaults hook; kept repository selection, workspace configuration, and the model fallback chain. Upstream removed the pending-task editor as unreachable (refactor(mobile): drop the unreachable pending-task editor from new-task drafts pingdotgg/t3code#25684); the fork had no producer for pendingTaskId either, so the removal stands.
  • Mobile header toolbar: upstream now solves the stale-handler problem the fork fixed in fix(mobile): native header buttons run their current handler #56, with committed-only handlers; took upstream's mechanism and its test coverage.
  • Codex: upstream dropped its own developer instructions for native collaboration modes; the fork's multi-repository workspace instructions still ride in developer_instructions when present.
  • Web settings routes moved under _chat.settings; moved the fork's quick-actions settings route with them and regenerated the route tree.
  • Web chat: background-work and pending-handoff notices now live in upstream's timeline footer instead of the fork's composer banners.
  • Updated fork server code for upstream's new Effect diagnostics (Effect.fn forms, orElseSucceed, filterOrElse, single pipe calls) and pruned 16 stale React Compiler bailout entries that compile now.
  • Kept the fork's default port (4773), ~/.j4code home, and j4code CLI command against upstream's new telemetry channel, launcher path, and 500 MiB dev-seed limit.

Verification: web build passes. Format, lint, and knip pass. Typecheck passes for all 36 affected packages. Focused tests pass for settlement, Codex multi-root turns, workspace repositories, composer drafts, thread outbox, header toolbar, desktop CLI, dev-runner, and React Compiler coverage (982 tests).

The full changed-test run (644 files, 9,561 tests) has 37 failures in 11 files, triaged as:

  • 24 update tests (DesktopUpdates, cli/update, selfUpdate): pre-existing on the fork's main. The fork hard-disables updates (forkUpdatesEnabled() is false, desktop disableAutoUpdate is true); the upstream tests were never adapted to that.
  • 6 tests in pure-upstream packages (provider-fx, UsageService, AntigravityAdapterV2, ServerEnvironment): they compare /var/folders/... temp paths against /private/var/folders/... realpaths on this Mac. The code is byte-identical to upstream; this is a local macOS tmpdir artifact.
  • composer-attachment-uploads fails to load with __DEV__ is not defined from expo setup; the module and test are byte-identical to upstream.
  • 4 PullRequestDetailPanel browser tests for "Resolve conflicts" and 1 GuestPage scroll test fail locally. The Resolve-conflicts delivery goes through the fork's task-destination flow and needs a follow-up look against upstream's new shell/context plumbing.

Work performed with Muse Code (muse-wonder-full-1.0).

t3dotgg and others added 30 commits October 25, 2026 15:16
…get (pingdotgg#25055)

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

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

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

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

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

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

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…theme through effects (pingdotgg#25007)

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

Co-authored-by: GPT-6.1 Sol <noreply@openai.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
…pened (pingdotgg#25133)

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…he Duo fold composer (pingdotgg#25141)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
juliusmarminge and others added 27 commits October 26, 2026 16:19
…ft's insert point (pingdotgg#25681)

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

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

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

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

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

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

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

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

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

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… into action tools (pingdotgg#25423)

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

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

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

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… reconnect (pingdotgg#25712)

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

# Conflicts:
#	apps/desktop/src/app/DesktopCliCommand.test.ts
#	apps/mobile/src/Stack.tsx
#	apps/mobile/src/features/files/AttachmentFileScreen.tsx
#	apps/mobile/src/features/threads/NewTaskDraftRouteScreen.tsx
#	apps/mobile/src/features/threads/NewTaskDraftScreen.tsx
#	apps/mobile/src/features/threads/ThreadComposer.tsx
#	apps/mobile/src/features/threads/ThreadDetailScreen.tsx
#	apps/mobile/src/features/threads/new-task-flow-provider.tsx
#	apps/mobile/src/features/threads/use-composer-command-menu.ts
#	apps/mobile/src/native/NativeHeaderToolbar.tsx
#	apps/mobile/src/reactCompilerCoverage.test.ts
#	apps/mobile/src/state/threadOutboxDelivery.ts
#	apps/mobile/src/state/use-composer-drafts.test.ts
#	apps/mobile/src/state/use-composer-drafts.ts
#	apps/server/src/config.ts
#	apps/server/src/orchestration-v2/Adapters/CodexAdapterV2.ts
#	apps/server/src/orchestration-v2/ThreadSettlementService.test.ts
#	apps/server/src/orchestration-v2/ThreadSettlementService.ts
#	apps/server/src/preview/ServerBrowser.ts
#	apps/server/src/vcs/GitVcsDriverCore.ts
#	apps/web/src/components/BranchToolbarBranchSelector.tsx
#	apps/web/src/components/ChatView.tsx
#	apps/web/src/components/CommandPalette.tsx
#	apps/web/src/components/ComposerPromptEditorTiptap.tsx
#	apps/web/src/components/DiffPanel.tsx
#	apps/web/src/components/chat/ComposerPendingUserInputPanel.tsx
#	apps/web/src/components/pullRequest/PullRequestDetailPanel.tsx
#	apps/web/src/components/pullRequest/pullRequestDetail.logic.ts
#	apps/web/src/components/settings/IntegrationsSettings.tsx
#	apps/web/src/components/settings/ProjectDefaultsSettings.tsx
#	apps/web/src/components/settings/settingsSearch.ts
#	apps/web/src/routeTree.gen.ts
#	packages/contracts/src/rpc.ts
#	scripts/dev-runner.test.ts
#	scripts/dev-runner.ts
Effect.fn conversions and diagnostic fixes in server fork services, web timeline handoff row and banner group updates, effect-budget exemptions for the fork quick-action effects, knip cleanup of orphaned upstream PR components, and pruning of stale React Compiler bailouts.
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XXL labels Oct 27, 2026
@joaoheusi
joaoheusi merged commit 343b414 into main Oct 27, 2026
7 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.