Skip to content

fix(api): route LiteLLM usage accounting through the shared chat-usage normalizer #9901

fix(api): route LiteLLM usage accounting through the shared chat-usage normalizer

fix(api): route LiteLLM usage accounting through the shared chat-usage normalizer #9901

Triggered via pull request November 17, 2026 17:16
Status Success
Total duration 8m 59s
Artifacts –

mutation-testing.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 warnings and 1 notice
Mutation test advisory: src/api/transform/chat-usage-normalization.ts#L177
src/api/transform/chat-usage-normalization.ts:177: 2 mutation test gaps; example: NoCoverage StringLiteral mutant (replacement: ""). See the job summary for the complete list and resolution guidance.
Mutation test advisory: src/api/transform/chat-usage-normalization.ts#L125
src/api/transform/chat-usage-normalization.ts:125: Survived ConditionalExpression mutant (replacement: true). See the job summary for the complete list and resolution guidance.
Mutation test advisory: src/api/providers/lite-llm.ts#L396
src/api/providers/lite-llm.ts:396: Survived OptionalChaining mutant (replacement: normalized.cacheReadTokens). See the job summary for the complete list and resolution guidance.
Mutation test advisory: src/api/providers/lite-llm.ts#L395
src/api/providers/lite-llm.ts:395: Survived OptionalChaining mutant (replacement: normalized.cacheWriteTokens). See the job summary for the complete list and resolution guidance.
Mutation test advisory: src/api/providers/deepseek.ts#L250
src/api/providers/deepseek.ts:250: 2 mutation test gaps; example: Survived OptionalChaining mutant (replacement: normalized.cacheWriteTokens). See the job summary for the complete list and resolution guidance.
Mutation test advisory: src/api/providers/base-openai-compatible-provider.ts#L204
src/api/providers/base-openai-compatible-provider.ts:204: Survived OptionalChaining mutant (replacement: normalized.cacheReadTokens). See the job summary for the complete list and resolution guidance.
Mutation test advisory: src/api/providers/base-openai-compatible-provider.ts#L203
src/api/providers/base-openai-compatible-provider.ts:203: Survived OptionalChaining mutant (replacement: normalized.cacheWriteTokens). See the job summary for the complete list and resolution guidance.
Mutation test advisory: src/api/providers/base-openai-compatible-provider.ts#L202
src/api/providers/base-openai-compatible-provider.ts:202: Survived OptionalChaining mutant (replacement: normalized.outputTokens). See the job summary for the complete list and resolution guidance.
Mutation test advisory: src/api/providers/base-openai-compatible-provider.ts#L201
src/api/providers/base-openai-compatible-provider.ts:201: Survived OptionalChaining mutant (replacement: normalized.inputTokens). See the job summary for the complete list and resolution guidance.
mutation-diff
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"