Skip to content

chore: sync fork with upstream ba588ef663 - #34

Merged
radys-s merged 167 commits into
mainfrom
tomas/sync-upstream-2026-11-23
Nov 23, 2026
Merged

radys-s merged 167 commits into
mainfrom
tomas/sync-upstream-2026-11-23

Conversation

@radys-s

@radys-s radys-s commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Fork main (0830f64a0f, after #33) was 163 commits behind upstream main (156 when the sync was asked for, 7 more during the checks), including durable workflows, milestones over MCP and more Linear accounts.

This merges upstream main ba588ef663 with a real merge. Fork main stays the first parent, so no force-push is needed.

Conflicts. Four code files and the 10 web catalogs. Each was resolved by keeping both sides:

  • useSidebarRowThreadKey.ts (mobile): the fork's nestLaunchedThreads: false moved into upstream's new atom family (perf(mobile): avoid re-rendering on shell updates in useSidebarRowThreadKey pingdotgg/t3code#41143).
  • MCP project handlers.ts and Orchestrator.ts (thread.create): the fork's delegatedFrom stamping sits beside upstream's new workflowRun.
  • server.ts: the fork's launched-thread notice reactor sits beside upstream's milestone reactors.
  • Web catalogs: upstream's 4 tracker-account keys come first, then the fork's tail keys. Upstream's gt("working") hashes to the key the fork's machine bar had already added, so the two now share upstream's entry. The only visible change is in fr, which now reads "en cours" instead of "au travail".

The merge leaves the fork's diff against upstream at 121 files with the same lines, apart from those resolutions.

Follow-up commits.

  • fix(server): Auto failover now leaves workflow steps alone. Upstream's workflows retry a step whose turn died, so failover's "Continue where you left off" would have run the step twice. A test row fails without the fix.
  • test(mobile): upstream's new sidebar-row test used a same-environment delegatedFrom child. In the fork, that is a launched thread with its own mobile row. The test's parent now lives in a linked environment, which is the case upstream's delegatedFrom stands for.

Checks.

  • vp run check:changed upstream/main (the fork's 122 files, final head): all steps pass, tests 1642/1642 in 59 files.
  • vp run check:changed origin/main (upstream's 696 files plus the follow-ups, final head): format, lint, knip, graphql, typecheck (43 packages) and react compiler pass. Tests 8600/8601 in 293 files. The one failure is upstream's ChatView retention browser test, which timed out at 15 s under the parallel run; the file alone passes 19/19.
  • vp run i18n:check passes, and AgentContextBudget.test.ts passes 2/2.
  • Real run: the scratch data dir was seeded from a read-only copy of the live database, and migrations 103–110 applied. The server booted on it, completed V2 recovery and answered HTTP 302, then was stopped. No agent turn was sent.
  • Review: one read-only review confirmed all five resolutions. Its failover finding is fixed above. Its other point was left as is, with the reason in docs/progress.md: a thread launched by a workflow step nests under that step, the same as under a subagent launcher.

Needs the agent-context-increase label. mcpToolListJsonBytes grows from 59192 to 61724 (+2532). All of the growth comes from upstream: pingdotgg#35871 agent feedback (+1206) and pingdotgg#38882 workflows (+1350). The fork's own tool text is unchanged.

Switching the hubs. Migrations 106–110 are new, and hub2's live database is at 102, so its switch applies 103–110. The lockfile and package manifests changed, so the new build needs vp i.

juliusmarminge and others added 30 commits November 22, 2026 02:55
…#40783)

Co-authored-by: geezoria <25051260+geezoria@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ation (pingdotgg#33916)

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

Co-authored-by: Abhiram-745 <237478249+Abhiram-745@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: shadowfeind <travestroy007@gmail.com>
…ingdotgg#36802)

Co-authored-by: Alex Southwell <4596216+saphid@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…tgg#40778)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…reloads them mid-run (pingdotgg#31999)

Co-authored-by: Rodrigo Brechard <rodrigo@clubtidy.fr>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ills (pingdotgg#40808)

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

Co-authored-by: Justin <159104807+Justin24506@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…(body edit 10.3 s → 5.4 s) (pingdotgg#30879)

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…queue (pingdotgg#40763)

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

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

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…h the agent (pingdotgg#40777)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
juliusmarminge and others added 24 commits November 22, 2026 21:11
…uest regressions (pingdotgg#41159)

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

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…er each request (pingdotgg#41238)

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>
… scrolls out (pingdotgg#41263)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…tgg#25208)

Co-authored-by: Yukun Shan <92423096+nateEc@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…story (pingdotgg#41264)

Co-authored-by: Cursor <cursoragent@cursor.com>
…ingdotgg#26965)

Co-authored-by: jason chien <3936511+jason5545@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ingdotgg#24034)

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Fork main (0830f64, after #33) was 163 upstream commits behind
(696 files, including durable workflows, milestones and more Linear
accounts), and upstream changed 55 files the fork also changes.

Conflicts, each resolved by keeping both sides:
- useSidebarRowThreadKey.ts (mobile): upstream pingdotgg#41143 moved the lookup
  into an atom family; the fork's nestLaunchedThreads: false moved
  with it.
- MCP project handlers.ts: the fork's delegatedFrom (the caller is the
  parent of a local launch) next to upstream's link-only workflowRun.
- Orchestrator.ts thread.create: the fork's unconditional
  delegatedFrom next to upstream's workflowRun.
  withCreationProvenance strips both from client commands.
- server.ts: the fork's LaunchedThreadNoticeReactor next to upstream's
  milestone hub and OrchestrationMilestones reactor.
- The 10 web catalogs, at their tails: upstream's 4 tracker-account
  keys, then the fork's keys.

Upstream's workflow feed added gt("working"), whose key
(30a5be40eb956663) the fork's machine bar had already appended. The
key is shared, so the fork's tail copy was dropped and upstream's
entry kept, in source order; in fr that means upstream's "en cours"
instead of the fork's "au travail". Every catalog parses to base plus
both sides' key changes with no duplicate keys.
Upstream's durable workflows (pingdotgg#38882, merged in the 2026-11-23 sync)
retry a step whose turn died, on a thread of their own or the same
one. The fork's Auto failover sent "Continue where you left off" to
the dead step's thread 1.5 s later as well, so the step ran twice, and
a step whose workflow pinned a model was moved to Auto.

autoFailoverPlan now returns null for a thread whose lineage is a
workflow step, as it does for delegated threads not on Auto. Found by
the read-only review of the sync merge.
…nment

Upstream pingdotgg#41143 added useSidebarRowThreadKey.test.tsx with a delegated
child whose parent is in the same environment. In the fork that thread
is a launched thread, which keeps its own row on mobile
(nestLaunchedThreads: false), so the test failed on the 2026-11-23
sync merge. Its parent now lives in a linked environment, the case
upstream's delegatedFrom stands for, so the test checks re-renders as
upstream meant.
Records the 2026-11-23 sync: the conflicts and how each was resolved,
the catalog key both sides added, the two follow-up fixes, the checks,
the seeded server boot with migrations 106-110, the review, and the
agent-context growth that needs the agent-context-increase label.
Asked for by the main thread's sync request.
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:XXL labels Nov 23, 2026
@github-actions

Copy link
Copy Markdown

This PR changes the test suite by +329 test cases (browser +25, unit +125, server +179).

New browser test files: apps/web/src/components/Sidebar.motion.browser.test.ts, apps/web/src/components/workflows/WorkflowRunsView.browser.test.tsx, apps/web/src/lib/pageTranslationGuard.browser.test.tsx.
Each browser test file costs CI seconds of module loading before its first test runs; a unit test costs milliseconds.

Keep tests that would fail for a real reason, and test logic below the UI where it can be. See Testing.

@radys-s radys-s added the agent-context-increase Accepts a larger agent context budget than main label Nov 23, 2026
@github-actions github-actions Bot added the 📱 Native Change Changes the native fingerprint; merging blocks production OTAs until a new store build ships. label Nov 23, 2026
@radys-s
radys-s merged commit 0b657fb into main Nov 23, 2026
26 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-context-increase Accepts a larger agent context budget than main 📱 Native Change Changes the native fingerprint; merging blocks production OTAs until a new store build ships. size:XXL vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.