Uh oh!
There was an error while loading. Please reload this page.
fix(llm-catalog): refresh default model pricing on sync - #3281
Conversation
ericallam
commented
Mar 27, 2026
- Rebuild llm_pricing_tiers and llm_prices in syncLlmCatalog for source=default
- Add vitest config, sync regression tests, and pin vitest 3.1.4
- Update pnpm-lock.yaml for the new devDependency
- Rebuild llm_pricing_tiers and llm_prices in syncLlmCatalog for source=default - Add vitest config, sync regression tests, and pin vitest 3.1.4 - Update pnpm-lock.yaml for the new devDependency
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (5)
✅ Files skipped from review due to trivial changes (1)
🚧 Files skipped from review as they are similar to previous changes (2)
📜 Recent review details⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (27)
🧰 Additional context used📓 Path-based instructions (6)**/*.{ts,tsx}📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
**/*.{ts,tsx,js,jsx}📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
**/*.ts📄 CodeRabbit inference engine (.cursor/rules/otel-metrics.mdc)
Files:
**/*.{js,ts,jsx,tsx,json,md,yaml,yml}📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.{test,spec}.{ts,tsx}📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
**/*.test.{ts,tsx,js,jsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
🧠 Learnings (20)📓 Common learnings📚 Learning: 2026-03-13T13:42:25.092ZApplied to files:
📚 Learning: 2026-03-13T13:42:57.512ZApplied to files:
📚 Learning: 2026-03-22T13:49:25.960ZApplied to files:
📚 Learning: 2025-11-27T16:26:58.661ZApplied to files:
📚 Learning: 2025-11-27T16:26:37.432ZApplied to files:
📚 Learning: 2026-03-02T12:43:17.177ZApplied to files:
📚 Learning: 2025-08-14T10:09:02.528ZApplied to files:
📚 Learning: 2026-03-22T13:26:12.060ZApplied to files:
📚 Learning: 2026-03-22T19:24:14.403ZApplied to files:
📚 Learning: 2026-03-23T06:24:14.566ZApplied to files:
📚 Learning: 2026-01-15T10:48:02.687ZApplied to files:
📚 Learning: 2026-03-23T06:24:14.566ZApplied to files:
📚 Learning: 2026-03-06T14:44:55.489ZApplied to files:
📚 Learning: 2026-03-02T12:43:25.254ZApplied to files:
📚 Learning: 2025-11-27T16:26:37.432ZApplied to files:
📚 Learning: 2026-03-02T12:43:43.173ZApplied to files:
📚 Learning: 2026-03-03T13:07:33.177ZApplied to files:
📚 Learning: 2026-03-22T13:49:23.474ZApplied to files:
📚 Learning: 2026-03-26T10:02:22.373ZApplied to files:
🔇 Additional comments (4)
WalkthroughAdds Vitest test infrastructure (devDependency, Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes 🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Use undefined-only fallback for contextWindow and maxOutputTokens so explicit null in the catalog clears stored values instead of preserving them via nullish coalescing.
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
ericallam
commented
Mar 27, 2026
@cubic-dev-ai can you please review this PR |
@ericallam I have started the AI code review. It will take a few minutes to complete. |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
- Use postgresTest + @internal/testcontainers for sync integration tests - Assert catalog null clears baseModelName (gemini-pro regression) - Exclude *.test.ts from package tsc; vitest timeout for containers - Keep conditional updateMany and undefined-only merges in sync.ts - Refresh pnpm-lock for testcontainers devDependency
Uh oh!
There was an error while loading. Please reload this page.