Skip to content

fix(patches): repair pr-39799 and pr-40244 on nightly 5138 - #27

Merged
mg-dev25 merged 1 commit into
mainfrom
t3/repair-nightly-patch-store
Nov 23, 2026
Merged

mg-dev25 merged 1 commit into
mainfrom
t3/repair-nightly-patch-store

Conversation

@mg-dev25

Copy link
Copy Markdown
Contributor

Store release v0.1.12-nightly.20261123.5138 left out pr-39799 and pr-40244, so that server and desktop build lacks the Antigravity question-wait message queue and quota auto-resume fixes.

Causes and changes:

  • pr-39799: upstream commit 58e309e75b (pingdotgg/t3code#41241) added appContext tracking in steerWithPrompt in packages/provider-acp/src/server/adapter.ts right where pr-39799.patch adds the pendingRuntimeRequests guard. Upstream PR pingdotgg/t3code#39799 is still open at da4e902702f1b6e874440b7dcc0cf812518e2354. This PR rebases patches/upstream/pr-39799.patch onto nightly 5138, keeping the pendingRuntimeRequests check before the appContext block so a declined steer does not mutate context.appContextOffered or context.appContextSequence. Only index lines, hunk offsets, and 3 context lines changed. Every added and removed line stays unchanged.
  • pr-40244: upstream commit 1d4d9be3ff (pingdotgg/t3code#33596) changed API_ERROR and resetAtFrom in apps/server/src/provider/acp/AntigravityTurnOutcome.ts. Upstream PR pingdotgg/t3code#40244 pushed a new head (19d0b9291261b1ff967dfa0740e32d9c249e0ede, merging upstream main) that adapts resetAtFrom for now: DateTime.Utc | undefined and applies cleanly on nightly 5138. This PR moves the pin in patches.json and patches/upstream/pr-40244.patch to 19d0b9291261b1ff967dfa0740e32d9c249e0ede.

Proof:

  • node scripts/store.ts apply on a clean copy of tag v0.1.12-nightly.20261123.5138 applies all 13 entries with 0 skipped.
  • node scripts/store.ts validate is ok, and node --test scripts/*.test.ts passes 24 of 24.
  • On the patched tree, vp run --filter=@t3tools/provider-acp --filter=t3 typecheck exits 0.
  • @t3tools/provider-acp tests pass 109 of 109 (8 files).
  • apps/server Antigravity tests pass 86 of 86 (AntigravityAdapterV2.test.ts 39 of 39 including the pr-39799, pr-40244, and pr-37119 tests, AntigravityProtocol.test.ts 45 of 45, and AntigravityTurnOutcome.test.ts 2 of 2).

After the merge, the Nightly workflow runs again with the tag and replace, so PATCHES.json no longer asks for a repair.

Reviewed with sol-loop: 1 round with GPT-6.2 Sol on xhigh. Sol verdict: approved

Created with Gemini 4 Neon in T3 Code, Antigravity harness.

@mg-dev25
mg-dev25 merged commit 24786a2 into main Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant