Skip to content

fix(stats): keep omen-alpha under unknown provider - #47248

Merged
fwang merged 2 commits into
devfrom
stats-exclude-omen
Sep 4, 2026
Merged

fix(stats): keep omen-alpha under unknown provider#47248
fwang merged 2 commits into
devfrom
stats-exclude-omen

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Issue for this PR

Requested provider attribution change; no separate issue.

Type of change

  • Bug fix

What does this PR do?

Keep omen-alpha in stats, but always attribute it to unknown. This replaces the earlier exclusion proposal.

Use the same stealth-model list in the SQL aggregation queries and TypeScript normalization, checking it before route-model author detection or provider fallback. Model, provider, geographic, and retention aggregates retain usage without attributing it to an underlying provider. Other models keep their existing attribution rules.

No inference or billing changes. Deployment and a stats refresh are still required; this PR does not restore previously deleted rows or purge cached pages.

How did you verify your code works?

From packages/stats/core:

  • bun test src/domain — 15 passing tests. Regression coverage checks route/provider overrides, normalized suffixes, retained metrics, and precedence in stats/retention SQL. The new expectations failed against the earlier exclusion implementation.
  • bun typecheck — passed.
  • git diff --check — passed.

Screenshots / recordings

Not applicable; no UI changes.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Requested by: @fwang (Frank via Slack)

@opencode-agent opencode-agent Bot changed the title fix(stats): exclude omen-alpha from aggregation fix(stats): keep omen-alpha under unknown provider Sep 4, 2026
@fwang
fwang merged commit 70f7411 into dev Sep 4, 2026
10 checks passed
@fwang
fwang deleted the stats-exclude-omen branch September 4, 2026 08:22
@Hagly1337

Copy link
Copy Markdown

whahahaha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants