Skip to content

test(router): route-iterating done-bar coverage guard#249

Merged
mastermanas805 merged 2 commits into
masterfrom
test/route-donebar-guard-clean
Jun 4, 2026
Merged

test(router): route-iterating done-bar coverage guard#249
mastermanas805 merged 2 commits into
masterfrom
test/route-donebar-guard-clean

Conversation

@mastermanas805

Copy link
Copy Markdown
Member

Walks the live Fiber route stack; every route must be mapped to a covering integration test or explicitly exempted (with justification) — reds CI on any new uncovered route. The structural anti-drift defense (login-outage / Team-buyable / silent-route classes). Pure source-scan, no DB. Completes the done-bar guard set (api joins mcp/cli/provisioner).

🤖 Generated with Claude Code

Walks the live Fiber route stack and asserts every registered route is either
mapped to a covering integration test (routeTestMap) or in an explicit
exemptions list with justification — reds CI when a NEW route is added without
a test (the structural defense against the login-outage / silent-untested-route /
Team-buyable classes). TestDoneBar_TestMapPointsAtRealTests (go/ast scan) closes
the map-rot loophole. Pure source-scan, no DB, runs in -short. Mirrors the
mcp/cli/provisioner registry guards.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mastermanas805 mastermanas805 enabled auto-merge (squash) June 4, 2026 20:43
@mastermanas805 mastermanas805 merged commit 388fc0a into master Jun 4, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant