Skip to content

fix(patches): rebase 1474-cleanup-fallback-model on nightly 5085 - #23

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

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

Conversation

@mg-dev25

Copy link
Copy Markdown
Contributor

Store release v0.1.12-nightly.20261122.5085 left out 1474-cleanup-fallback-model, so that server and desktop build lacks the voice cleanup fallback model.

The cause is upstream commit 504589183e (pingdotgg/t3code#40699). It replaced the fallback selection block in apps/server/src/textGeneration/TextGeneration.ts with fallbackWhere(sameInstance) and a supportsTextGeneration !== false model check, so the patch hunk did not apply.

This PR rebases patches/own/1474-cleanup-fallback-model.patch onto nightly 5085. canRun now includes the supportsTextGeneration !== false check so both preferredCanRun and upstream's fallbackWhere share it, and fallback order tries preferred before fallbackWhere(false) before fallbackWhere(true). No feature is added. The other files keep the same changes with updated index lines and hunk offsets.

Proof:

  • node scripts/store.ts apply on a clean copy of tag v0.1.12-nightly.20261122.5085 applies all 13 entries with 0 skipped.
  • node scripts/store.ts validate is ok, and node --test scripts/*.test.ts passes 23 of 23.
  • On the patched tree, typecheck exits 0 for @t3tools/contracts, @t3tools/shared, t3, and @t3tools/web.
  • packages/shared/src/serverSettings.test.ts passes 46 of 46, apps/server/src/textGeneration/CodexTextGeneration.test.ts passes 44 of 44 (including the 8 voice cleanup fallback tests and the new upstream preflight tests), apps/server/src/provider/codexUsageLimits.test.ts passes 24 of 24, and apps/server/src/speech/postProcessing.test.ts passes 6 of 6.

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 b625819 into main Nov 22, 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