fix(scripts): restore changeset creation in the model-metadata sync#887
fix(scripts): restore changeset creation in the model-metadata sync#887tombeckenham wants to merge 1 commit into
Conversation
… monorepo flatten detectChangedPackages() still matched the pre-#643 packages/typescript/ layout, so it never matched anything and the daily model-metadata sync stopped creating changesets for packages changed by convert-openrouter-models.ts. As a result the OpenRouter meta regenerations in #772 and #883 (including Claude Sonnet 5 and Fable 5) never triggered an @tanstack/ai-openrouter release. Fix the regex and add the missed changeset so the pending meta changes ship with the next Version Packages. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
View your CI Pipeline Execution ↗ for commit f970d1a
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version Preview4 package(s) bumped directly, 20 bumped as dependents. 🟨 Minor bumps
🟩 Patch bumps
|
@tanstack/ai
@tanstack/ai-acp
@tanstack/ai-angular
@tanstack/ai-anthropic
@tanstack/ai-bedrock
@tanstack/ai-claude-code
@tanstack/ai-client
@tanstack/ai-code-mode
@tanstack/ai-code-mode-skills
@tanstack/ai-codex
@tanstack/ai-devtools-core
@tanstack/ai-elevenlabs
@tanstack/ai-event-client
@tanstack/ai-fal
@tanstack/ai-gemini
@tanstack/ai-grok
@tanstack/ai-grok-build
@tanstack/ai-groq
@tanstack/ai-isolate-cloudflare
@tanstack/ai-isolate-node
@tanstack/ai-isolate-quickjs
@tanstack/ai-mcp
@tanstack/ai-mistral
@tanstack/ai-ollama
@tanstack/ai-openai
@tanstack/ai-opencode
@tanstack/ai-openrouter
@tanstack/ai-preact
@tanstack/ai-react
@tanstack/ai-react-ui
@tanstack/ai-sandbox
@tanstack/ai-sandbox-cloudflare
@tanstack/ai-sandbox-daytona
@tanstack/ai-sandbox-docker
@tanstack/ai-sandbox-local-process
@tanstack/ai-sandbox-sprites
@tanstack/ai-sandbox-vercel
@tanstack/ai-solid
@tanstack/ai-solid-ui
@tanstack/ai-svelte
@tanstack/ai-utils
@tanstack/ai-vue
@tanstack/ai-vue-ui
@tanstack/openai-base
@tanstack/preact-ai-devtools
@tanstack/react-ai-devtools
@tanstack/solid-ai-devtools
commit: |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis PR updates the package-path detection regex in the sync-provider-models script from a ChangesSync Script and Changeset
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🎯 Changes
The daily model-metadata sync stopped creating changesets for packages whose meta is regenerated by
convert-openrouter-models.ts. The safety net,detectChangedPackages()inscripts/sync-provider-models.ts, still matched the pre-#643packages/typescript/<pkg>/layout — the #643 monorepo flatten updated everymetaFilepath in the script (and even the comment above the regex) but missed the regex itself, so since May 26 it has always returned an empty set.Consequences:
@tanstack/ai-openrouterwas never bumped.@tanstack/ai-openrouterfrom its changeset despite a 2,043-line meta regeneration (its changeset only listed the packagessync-provider-models.tsadded models to directly).This PR:
packages/typescript/([\w-]+)/→packages/([\w-]+)/)..changeset/sync-models.mdpatching@tanstack/ai-openrouter, covering the unreleased meta changes from chore: sync model metadata from OpenRouter #772 and chore: sync model metadata from OpenRouter #883 (Claude Sonnet 5, Claude Fable 5, DeepSeek V3.2, GLM-5.2, and other additions/removals/pricing updates). The file reuses thesync-modelsname so the next daily sync merges into it instead of duplicating.Audited all sync commits since the flatten:
ai-anthropic/ai-geminichanges from #772 were released via #873, so@tanstack/ai-openrouteris the only package with unreleased sync changes.✅ Checklist
pnpm run test:pr.🚀 Release Impact
🤖 Generated with Claude Code
Summary by CodeRabbit