Skip to content

fix(fork): resolve upstream merge e9c952495c (2026-11-23) - #284

Merged
orbitingflea merged 1 commit into
catch-up/20261124-basefrom
catch-up/20261124
Nov 24, 2026
Merged

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

Conversation

@orbitingflea

Copy link
Copy Markdown
Owner

Behaviour change

yes, removal only: until stage 2, if a late steer restarts a run at attempt end, the new attempt may get no checkpoint, so that run may not be offered as latest fork point

Why

This pull request is stage 1 of a staged catch-up to upstream e9c952495c on the integration branch catch-up/20261124. Nothing reaches main or is deployed until stage 2 is done. Stage 1 intentionally drops the fork's per-attempt checkpoint key. Stage 2 (a separate PR) decides whether to re-key checkpoint capture by attempt with a regression test for upstream pingdotgg#41362, or drop it.

What changed

Scope

  • 614 changed files (from 617); no new lint suppressions; stage 2 out of scope.

Tradeoffs

  • Dropping checkpoint key keeps 81 upstream steering tests passing.
  • Fork-only reader line avoids scroll conflicts; empty Chat-mode send_to_user results stop false refusals (1/64 slots).

Blast Radius

  • Only catch-up/20261124 changes; upstream adds migration 111_SupersededRunAttemptIndex.
  • Affects chat scroll, PDF resize, assistant rows, send_to_user, busy turns, late steers.

Verification

  • Format, lint, knip, GraphQL, React compiler, 43-package typechecks pass.
  • Steering, adapter, unit, browser suites pass.
Details

Resolve the 17 conflicts that commit A left from merging upstream
e9c9524, and fix what the merge broke elsewhere. This is stage 1 of
a staged catch-up: one fork change is dropped for now (below).

Each conflict keeps upstream's code and puts the fork's change back on
top. Where both sides changed one behaviour:

- Upstream pingdotgg#41490 keeps a compaction or manual continuation busy like a
  turn, which the fork's startBusyTurn did for account-change restarts.
  Upstream's busyTurn replaces it; the fork keeps releaseIfAccountChanged.
- Upstream pingdotgg#41184 keeps the reading position when side panels resize.
  The chat timeline keeps the fork's reader line, which covers that case
  and more; running both made two correctors pull on one scroll node.
  Upstream's helper still serves the composer. Its timeline test waits
  until the scroll has settled, as the reader line requires.
- Upstream pingdotgg#41537 keeps a PDF's place on resize; the fork's restore echo
  and saved width stay on top.
- Upstream pingdotgg#41317 removes the changed-files card under assistant turns;
  the fork's edited mark and sub-thread reply line stay.
- Upstream pingdotgg#41552 captures MCP tool results for providers that drop
  them. The fork's send_to_user goes through it; upstream's capture test
  calls the fork's tool. A Chat-mode reply, ack or rewrite succeeds with
  no result the capture keeps, so it records an empty result: a refused
  call with the same arguments can then no longer pass its error to a
  delivered reply. The ACP adapter keeps a result the provider reported
  over an empty recovered one.
- Upstream pingdotgg#41362 finishes a run when the provider turn ends, not after
  checkpoint capture. The fork's per-attempt checkpoint capture id (a
  run restarted by a late steer still completes) breaks upstream's
  steering tests and its own pin no longer holds, so this stage drops it
  and its pin; a follow-up decides whether it is still needed.
- Upstream pingdotgg#41307 shows a queued message whose cancelled run had
  started. The fork's Chat history and sub-thread counts take the same
  rule, and the display-mode wrap test models a cancelled queued turn as
  never started.
- Upstream pingdotgg#41330 deletes three internal docs that the fork had extended;
  they stay deleted, and the fork's notes from them (outbox order, the
  Antigravity summarization recovery, the `fyi` send mode) move to the
  fork-only fork/docs/internals.md.

Fork tests follow upstream's new interfaces (setup-script runner,
Antigravity profile directory, removed onOpenTurnDiff, hasCompletedRun),
and agentContextBudget.json holds the measured values.

Upstream adds database migration 111_SupersededRunAttemptIndex.

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 24, 2026
@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: d897d79 · Source CI: failure

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