Count invalid clicks by their stored domain and path in retained Analytics. An invalid click at /docs appears in its Link report and in reports for its current tags, even if that path was not configured at the time. Unconfigured paths get daily counts, but the report selector still only shows configured links and tags.
No database schema changes, new outcome values, or backfill. Routing, Root visits, and lifetime hit counts used for visit caps are unchanged.
Verification
97 tests passed: 41 worker, 15 database, and 41 web. Worker build and type check, scoped lint and formatting, and diff checks passed. Reviewed independently for code and test coverage. Browser E2E was not run.
Rollout
This targets fresh data. Invalid clicks processed before the change are not backfilled; their expiry can temporarily undercount a path bucket. If you ran the previous revision of this PR against a preview database, use a fresh preview database or restore a pre-preview backup: this revision drops the preview-only migration.
## Summary
Count invalid clicks by their stored domain and path in retained Analytics. An invalid click at `/docs` appears in its Link report and in reports for its current tags, even if that path was not configured at the time. Unconfigured paths get daily counts, but the report selector still only shows configured links and tags.
No database schema changes, new outcome values, or backfill. Routing, Root visits, and lifetime hit counts used for visit caps are unchanged.
## Verification
97 tests passed: 41 worker, 15 database, and 41 web. Worker build and type check, scoped lint and formatting, and diff checks passed. Reviewed independently for code and test coverage. Browser E2E was not run.
## Rollout
This targets fresh data. Invalid clicks processed before the change are not backfilled; their expiry can temporarily undercount a path bucket. If you ran the previous revision of this PR against a preview database, use a fresh preview database or restore a pre-preview backup: this revision drops the preview-only migration.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Count invalid clicks by their stored domain and path in retained Analytics. An invalid click at
/docsappears in its Link report and in reports for its current tags, even if that path was not configured at the time. Unconfigured paths get daily counts, but the report selector still only shows configured links and tags.No database schema changes, new outcome values, or backfill. Routing, Root visits, and lifetime hit counts used for visit caps are unchanged.
Verification
97 tests passed: 41 worker, 15 database, and 41 web. Worker build and type check, scoped lint and formatting, and diff checks passed. Reviewed independently for code and test coverage. Browser E2E was not run.
Rollout
This targets fresh data. Invalid clicks processed before the change are not backfilled; their expiry can temporarily undercount a path bucket. If you ran the previous revision of this PR against a preview database, use a fresh preview database or restore a pre-preview backup: this revision drops the preview-only migration.
a1b07adb1cto20bdc5edb1Attribute invalid clicks to matched linksto Count invalid clicks by recorded path