Skip to content

fix(usage): price new models without waiting a day for the rate table - #9202

Merged
t3dotgg merged 2 commits into
mainfrom
fix/usage-rates-refresh
Sep 3, 2026
Merged

t3dotgg merged 2 commits into
mainfrom
fix/usage-rates-refresh

fix(usage): refetch rates through a dedicated RPC so refresh keeps th…

d378d2e
Select commit
Loading
Failed to load commit list.
MacroscopeApp / Macroscope - Correctness Check succeeded Sep 2, 2026 in 1m 48s

No issues identified (12 code objects reviewed).

• Reviewed files modified since 4a76454; other PR files not modified since then were skipped.
• Merge Base: 70cd258
• Head: d378d2e

Details

✅ File Path U3 Bytes Comments Posted Reason
✅ apps/server/src/ws.ts 545 0
✅ apps/server/src/auth/RpcAuthorization.ts 507 0
✅ apps/web/src/state/usage.ts 1797 0
✅ packages/client-runtime/src/state/server.ts 592 0
✅ apps/mobile/src/state/usage.ts 1854 0
✅ packages/contracts/src/rpc.ts 1586 0
➖ apps/server/src/usage/UsageService.test.ts 603 Excluded by default ignore patterns
✅ apps/server/src/usage/UsageService.ts 5248 0

Billed Total: 10.00KB of diff | $0.50 (This review was charged at our per-review byte minimum of 10.00KB. Learn more here)
Saved $0.11 vs. the upper-bound estimate of $0.61 — cached code objects from prior reviews on this PR were not re-billed.