codeburn/tests/providers
iamtoruk ada9382833 test(grok): pin the unpriced-model branch instead of inheriting it from the snapshot
Both multi-model tests assert that chooseAuthoritativeModel skips a
modelUsage id it cannot price and falls back to a priced one. They got that
"cannot price" from the bundled LiteLLM snapshot happening not to carry
grok-4.6-build, so `npm run build` - which re-fetches the snapshot - flipped
both assertions the moment an xai/grok-4.6 entry appeared upstream and the
prefix match started pricing the id.

Stub getModelCosts for that one id instead. The reporter's real ids stay in
the fixtures, so the tests still document the #998 case, and calculateCost is
left alone: module-internal calls are not intercepted, so cost assertions
keep pricing off the real tables.

Verified by re-running both files against a refreshed snapshot that does
carry xai/grok-4.6; 26/26 pass where they previously failed.
2026-08-18 10:26:06 -07:00
..
antigravity.test.ts
claude-config-dirs.test.ts fix(desktop): close cache and lifecycle review gaps 2026-08-12 20:31:17 +03:00
cline-cli.test.ts fix(cline-cli): decline the rollup when per-message calls were all deduped 2026-08-04 01:57:27 +02:00
cline.test.ts
codebuff.test.ts
codewhale.test.ts perf(cache): shard the session cache per provider 2026-08-16 19:03:12 -07:00
codex-resume.test.ts test(codex): give the every-boundary differential an explicit timeout 2026-08-17 01:48:04 -07:00
codex.test.ts
copilot-skills.test.ts
copilot.test.ts fix(copilot): classify CLI sessions by source provenance, not producer (#945) 2026-08-09 04:51:44 +03:00
crush.test.ts
cursor-agent.test.ts
cursor-bubble-dedup.test.ts
cursor-large-db-cap.test.ts
cursor-real-tokens.test.ts
cursor-workspace-breakdown.test.ts
cursor.test.ts perf(desktop): share cache state and eliminate duplicate cold hydration 2026-08-12 17:16:41 +03:00
devin.test.ts
droid.test.ts
dsh.test.ts fix(dsh): cap zstd decode, coerce usage fields, scope the snap read 2026-08-17 17:28:41 -07:00
forge.test.ts
gemini.test.ts
grok.test.ts test(grok): pin the unpriced-model branch instead of inheriting it from the snapshot 2026-08-18 10:26:06 -07:00
hermes.test.ts fix(parser): fold SQLite -wal siblings into source fingerprints 2026-08-04 14:38:43 +03:00
ibm-bob.test.ts
kilo-code.test.ts
kimi.test.ts
kimicode.test.ts
kiro.test.ts fix(kiro): estimate input tokens from the full prompt, not a 500-char slice 2026-08-04 05:58:17 +03:00
lingtai-tui.test.ts
mistral-vibe.test.ts
mux.test.ts
omp.test.ts
open-design.test.ts
openclaude.test.ts feat(openclaude): OpenClaude CLI provider (#213) 2026-08-04 04:05:25 +03:00
openclaw.test.ts
opencode-file.test.ts
opencode.test.ts
pi.test.ts
quickdesk.test.ts
roo-code.test.ts
vercel-gateway.test.ts
vscode-cline-parser.test.ts fix(providers): guard two malformed-input crashes in the parse path 2026-08-04 06:28:41 +03:00
warp.test.ts
zcode.test.ts
zed.test.ts
zerostack.test.ts