Skip to content

fix(fork): resolve upstream merge 36b9a06f09 (2026-11-25) - #316

Merged
orbitingflea merged 1 commit into
catch-up/20261126-basefrom
catch-up/20261126
Nov 26, 2026
Merged

orbitingflea merged 1 commit into
catch-up/20261126-basefrom
catch-up/20261126

Conversation

@orbitingflea

@orbitingflea orbitingflea commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

Why

Resolve 23 conflicts and merge breaks from 36b9a06f09, 242 commits over 8957e56d36. Commit A 0fe4cfe7ed is the raw merge. Commit B holds manual edits.

Behaviour change

Behaviour change: yes, cmd+k palette users see the fork's Display mode submenu for the open thread

Upstream pingdotgg#40742 builds palette actions from readMenu(), where the fork adds display-mode items.

What changed

Drops Antigravity limits code for pingdotgg#43026, fixes the hidden + menu break, re-applies fork edits, and updates agentContextBudget.json.

Scope

Only merge fixes and limits removal apply. Fork files drop from 624 to 620 with one new test. Suppressions stay at 27.

Tradeoffs

Sharing readMenu() avoids a hook in CommandPaletteThreadActions.tsx. Dropping limits follows pingdotgg#43026 to avoid account flags.

Blast Radius

This PR adds no migrations. Commit A adds 117_WorkflowMailSender.ts, 118_WorkflowPools.ts, and 119_WorkflowRunSubject.ts. CI Agent context budget fails on commit A's markers.

Verification

  • 43-package typecheck, fmt, lint, knip, GraphQL, and React Compiler pass.
  • Server focused tests pass 809 in 12 files plus budget. The browser test fails before, passes after.
  • A browser test opens cmd+k on a thread, finds Display mode with its modes and Enable Dashboard, and sends a mode action. With upstream's canAddSurface rule, the new all-hidden menu test fails.
  • check:changed tests: 8029 of 8038 pass; 4 fail only under full-run load and pass alone.
Per-file changes

Antigravity limits removal (pingdotgg#43026, internal API calls can flag accounts):

  • Removes makeAntigravityRuntimeUsageProbe and test in apps/server/src/fork/antigravityCliRuntime/, apps/server/src/fork/antigravityAccountEmail/, packages/shared/src/fork/antigravityEmailBindings.ts and test, packages/shared/src/usageLimits.ts hook, credentialEmail in packages/contracts/src/providerUsageLimits.ts, and Usage > Limits docs.

In apps/server/src/:

In web:

Other files:

Resolve the 23 files commit A left conflicted. Each fork change is
re-applied on upstream's new structure: shared tooltip triggers, the
restructured asset response headers, the thread action menu built in
readMenu, the mobile thread body moved inline, the add-surface shortcut
block, and the new onSessionStarted session argument.

Upstream pingdotgg#43026 stops reading Antigravity usage limits, because calls to
Google's internal APIs can get an account flagged. The fork code that
only fed those limits goes with it: the agy CLI runtime's limits probe,
the Antigravity account e-mail reader and its client-side pooling, and
credentialEmail in the usage limits contract.

Upstream pingdotgg#42722 hides the "+" menu when no surface can be added. With
the whiteboard's right panel menu settings hiding every item, the
arranged list is empty, so the menu that points to those settings could
no longer open; an empty arranged list now still opens it.

agentContextBudget.json takes the measured values of the merged tree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:XXL labels Nov 26, 2026
@github-actions

Copy link
Copy Markdown

This PR changes the test suite by -23 test cases (browser +1, unit -2, server -22).

New browser test files: apps/web/src/fork/rightPanelMenu/allHiddenAddMenu.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.

@github-actions

Copy link
Copy Markdown

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

ℹ️ No successful main baseline artifact is available yet. This run establishes the initial measurement.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire — 5.0 KiB — 6.8 KiB ✅
Codex Thread snapshot wire — 3.8 KiB — 4.9 KiB ✅
Codex Live turn WebSocket wire — 1.2 KiB — 2.0 KiB ✅
Codex Live turn WebSocket decoded — 21.5 KiB — 24.4 KiB ✅
Codex Live turn messages — 1 — 8 ✅
Claude Total thread wire — 5.0 KiB — 6.8 KiB ✅
Claude Thread snapshot wire — 3.8 KiB — 4.9 KiB ✅
Claude Live turn WebSocket wire — 1.2 KiB — 2.0 KiB ✅
Claude Live turn WebSocket decoded — 21.9 KiB — 24.4 KiB ✅
Claude Live turn messages — 1 — 8 ✅

Other scenarios

No main baseline exists yet for these 64 scenario measurements.

All 64 scenario measurements
Provider Scenario Metric Main baseline This PR Impact PR ceiling
Codex short turn resume WebSocket decoded — 10.5 KiB — 12.7 KiB ✅
Codex short turn resume WebSocket messages — 2 — 2 ✅
Codex long turn running, cold open HTTP decoded — 281.7 KiB — 302.7 KiB ✅
Codex long turn running, cold open rows — 75 — 75 ✅
Codex long turn running, history page HTTP decoded — 92.4 KiB — 107.4 KiB ✅
Codex long turn running, history page rows — 75 — 75 ✅
Codex long turn finished, cold open HTTP decoded — 381.5 KiB — 410.2 KiB ✅
Codex long turn finished, cold open rows — 151 — 151 ✅
Codex long turn finished, socket cold open WebSocket decoded — 381.6 KiB — 410.2 KiB ✅
Codex long turn finished, socket cold open WebSocket messages — 2 — 2 ✅
Codex long turn finished, socket cold open rows — 151 — 151 ✅
Codex long turn finished, work page HTTP decoded — 186.2 KiB — 200.2 KiB ✅
Codex long turn finished, work page rows — 150 — 150 ✅
Codex idle thread resume WebSocket decoded — 65 B — 200 B ✅
Codex idle thread resume WebSocket messages — 1 — 1 ✅
Codex fleet shell snapshot HTTP decoded — 42.4 KiB — 53.7 KiB ✅
Codex fleet shell snapshot rows — 27 — 27 ✅
Codex fleet shell subscribe WebSocket decoded — 65 B — 200 B ✅
Codex fleet shell subscribe WebSocket messages — 1 — 1 ✅
Codex fleet shell resume check HTTP decoded — 18 B — 100 B ✅
Codex fleet shell resume check rows — 0 — 0 ✅
Codex stale shell reload HTTP decoded — 42.4 KiB — 53.7 KiB ✅
Codex stale shell reload rows — 27 — 27 ✅
Codex stale shell resume WebSocket decoded — 140 B — 400 B ✅
Codex stale shell resume WebSocket messages — 2 — 2 ✅
Codex stale todo list cold open HTTP decoded — 72.4 KiB — 83.0 KiB ✅
Codex stale todo list cold open rows — 75 — 75 ✅
Codex stale todo list cold open nodes — 2 — 4 ✅
Codex stale todo list cold open subagents — 2 — 4 ✅
Codex stale todo list cold open plans — 1 — 2 ✅
Codex stale todo list cold open providerTurns — 1 — 2 ✅
Codex stale todo list cold open checkpoints — 1 — 2 ✅
Claude short turn resume WebSocket decoded — 10.6 KiB — 12.7 KiB ✅
Claude short turn resume WebSocket messages — 2 — 2 ✅
Claude long turn running, cold open HTTP decoded — 283.3 KiB — 302.7 KiB ✅
Claude long turn running, cold open rows — 75 — 75 ✅
Claude long turn running, history page HTTP decoded — 93.4 KiB — 107.4 KiB ✅
Claude long turn running, history page rows — 75 — 75 ✅
Claude long turn finished, cold open HTTP decoded — 384.2 KiB — 410.2 KiB ✅
Claude long turn finished, cold open rows — 151 — 151 ✅
Claude long turn finished, socket cold open WebSocket decoded — 384.3 KiB — 410.2 KiB ✅
Claude long turn finished, socket cold open WebSocket messages — 2 — 2 ✅
Claude long turn finished, socket cold open rows — 151 — 151 ✅
Claude long turn finished, work page HTTP decoded — 188.1 KiB — 200.2 KiB ✅
Claude long turn finished, work page rows — 150 — 150 ✅
Claude idle thread resume WebSocket decoded — 66 B — 200 B ✅
Claude idle thread resume WebSocket messages — 1 — 1 ✅
Claude fleet shell snapshot HTTP decoded — 43.0 KiB — 53.7 KiB ✅
Claude fleet shell snapshot rows — 27 — 27 ✅
Claude fleet shell subscribe WebSocket decoded — 66 B — 200 B ✅
Claude fleet shell subscribe WebSocket messages — 1 — 1 ✅
Claude fleet shell resume check HTTP decoded — 18 B — 100 B ✅
Claude fleet shell resume check rows — 0 — 0 ✅
Claude stale shell reload HTTP decoded — 43.0 KiB — 53.7 KiB ✅
Claude stale shell reload rows — 27 — 27 ✅
Claude stale shell resume WebSocket decoded — 140 B — 400 B ✅
Claude stale shell resume WebSocket messages — 2 — 2 ✅
Claude stale todo list cold open HTTP decoded — 73.4 KiB — 83.0 KiB ✅
Claude stale todo list cold open rows — 75 — 75 ✅
Claude stale todo list cold open nodes — 2 — 4 ✅
Claude stale todo list cold open subagents — 2 — 4 ✅
Claude stale todo list cold open plans — 1 — 2 ✅
Claude stale todo list cold open providerTurns — 1 — 2 ✅
Claude stale todo list cold open checkpoints — 1 — 2 ✅

Baseline: unavailable · PR result: 7427354 · 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

1 participant