Repository navigation
test: guard API registry against route drift - #829
Merged
ajianaz merged 1 commit intoAug 3, 2026
Merged
Conversation
ajianaz
approved these changes
Aug 3, 2026
ajianaz
left a comment
Collaborator
There was a problem hiding this comment.
LGTM. Parsing handlers.rs routes at compile time and diffing against the ENDPOINTS registry is a solid drift guard. The BTreeSet comparison approach is clean.
This was referenced Aug 3, 2026
ajianaz
added a commit
that referenced
this pull request
Aug 5, 2026
- v0.12.0: add @KazamiHazaki (Windows installer #779) + @dependabot - v0.11.0: add @themiguelamador (#830 #831) + @tomatotomata (#829) - v0.12.0: add install.ps1 to Added section Co-authored-by: ajianaz <[email protected]>
ajianaz
added a commit
that referenced
this pull request
Aug 13, 2026
- v0.12.0: add @KazamiHazaki (Windows installer #779) + @dependabot - v0.11.0: add @themiguelamador (#830 #831) + @tomatotomata (#829) - v0.12.0: add install.ps1 to Added section Co-authored-by: ajianaz <[email protected]>
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.
Closes #828.\n\nThe existing registry test only spot-checked a few paths. This replaces it with a source-backed guard that extracts (Method, path) route arms from uteke-server/src/handlers.rs and asserts every handler path is represented in ENDPOINTS. It keeps the existing core endpoint checks as a smoke test.\n\nValidation:\n- cargo fmt --all -- --check\n- Focused source-level route comparison: 46 handler paths, 57 registered paths, 0 missing\n- git diff --check\n\ncargo test -p uteke-server registry_covers_handler_routes was attempted twice, but this environment exceeded 5 minutes compiling the workspace dependencies. No test result is being claimed from that command.