test(router): route-iterating done-bar coverage guard#249
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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