Skip to content

"Top referrer host" metric is inert — always reads the no-referrer bucket #34

Description

@lauurnce

From the first real weekly growth report (VANTAGE, 2026-08-25).

What
scripts/reports/growth.ts:338 reads by_referrer_host.rows[0].host — rows[0] is the "(none)" bucket, so the headline metric can only ever print "(none)" regardless of what referring hosts exist.

Fix
Read the first non-(none) row (and show the none-share separately — it is already its own metric). One-line change plus test update. Looks ready-for-agent once triaged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageMaintainer needs to evaluate the issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions