Repository navigation
fix(fork): resolve upstream merge e9c952495c (2026-11-23) - #284
Merged
Merged
Conversation
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>
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Other scenariosNo All 64 scenario measurements
Baseline: unavailable · PR result: Scenario and decoded snapshot size10 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.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
This was referenced Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
e9c952495con the integration branchcatch-up/20261124. Nothing reachesmainor 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
81972e66fa.send_to_usercapture, drop checkpoint key, update tests.Scope
Tradeoffs
send_to_userresults stop false refusals (1/64 slots).Blast Radius
catch-up/20261124changes; upstream adds migration111_SupersededRunAttemptIndex.send_to_user, busy turns, late steers.Verification
Details
catch-up/20261124-base(81972e66fa) mergespingdotgg/t3codee9c952495c(284 commits) into forkmain48f6dc0911. Most of the 20 hunks across 17 files are import unions or one-sided keeps.startBusyTurnwith fix(server): a compaction or manual continuation keeps its session busy like a turn pingdotgg/t3code#41490busyTurnfor compaction and manual continuation, keeping only the fork account-change release.preserveReadingPositionon the composer. Upstream alone fails 11 of 14 fork tests, and both together make selection-drag tests flaky. Fork-only passes all 14 fork tests and the updated fix(web): preserve reading position when side panels resize pingdotgg/t3code#41184 test, which waits for scroll rest before width changes because the reader line ignores scrolls under 100 ms.send_to_userthrough fix(server): recover dropped T3 MCP tool results in ACP and OpenCode Code Mode pingdotgg/t3code#41552 MCP result capture and passtextand display-mode services in its test. Chat-mode replies, acks, and rewrites record an empty result on success so dropped output does not match a stored refusal error. ACP keeps provider output over an empty recovered result. Each call uses 1 of 64 per-thread slots and may push out an older unclaimed result.catch-up/20261124) decides whether to re-key checkpoint capture by attempt with a regression test written for upstream perf(server): runs finish when the provider turn ends, not after checkpoint capture pingdotgg/t3code#41362, or to drop it.t3_thread_sendfyi) are infork/docs/internals.md. Update fork tests for setup-script runner, Antigravity profile dir, removed turn-diff prop, and completed-run flag, plus agent context size budget. Changed files: 617 to 614 (-3 docs, -2 steering; +1 fix(server): recover dropped T3 MCP tool results in ACP and OpenCode Code Mode pingdotgg/t3code#41552 test, +1 doc).server/web/provider-acptypechecks, andcheck:changedagainste9c952495c(format, lint, knip, GraphQL, React compiler, 43-package typechecks) pass. Its 299-file test step had 12 load failures: 11 web browser tests (all 123 pass when their 4 files run alone) and 1 slow upstream Git UTF-16 merge-commit test that times out on pure upstream. Passing: 81 of 81 steering, 109provider-acp, 425 web unit files, 123 web browser tests (4 files), and 288 tests across display-mode wrap, message-tool, capture, and Antigravity adapter suites.