Repository navigation
test: verify published admin key metadata contract - #1096
Merged
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This branch was successfully deployed
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.
Documents the metadata response added by #1095 through the shared published-docs fixture. The new tests call the actual GET route and authentication/query code with synthetic service boundaries, checking both auth envelopes, admin denial, masked read failures, returned key-record counts, no credential fields, and UTC calendar periods.
The companion Marketing reference distinguishes
/api/admins/agent-signupsfrom the unavailable/api/admins/agent/signups. Current-email metadata and returned-record counts do not establish signup origin, unique agents/accounts, active keys, adoption or collection completeness. No runtime behavior or live data access changes; Mono #327 / API #428 and held gates remain separate.Validation: 218 tests / 23 files pass (including 15 new published-contract tests and the 20 metadata owner tests); response-constructor typecheck, full lint, changed-file formatting and whitespace checks pass. Whole-project TypeScript retains exactly the same 211 diagnostic lines, with none added; it is not clean. New tests first failed for the missing fixture. API fixture release precedes the Marketing source pin, then generated retained Docs publication; coordinator owns merge approval and release.
Summary by cubic
Verifies the documented admin key metadata contract by testing the real GET route against a new shared published-docs fixture entry.
Written for commit d6f14f6. Summary will update on new commits.