test: use uuid dataplane subject fixtures#61
Open
gandhipratik203 wants to merge 1 commit into
Open
Conversation
Signed-off-by: Pratik Gandhi <gandhipratik203@gmail.com>
gandhipratik203
marked this pull request as ready for review
July 22, 2026 12:35
lucarlig
requested changes
Jul 23, 2026
lucarlig
left a comment
Contributor
There was a problem hiding this comment.
Two small changes requested before merge: (1) ContextForgeClaims::new still copies the UUID into user.email; please preserve separate email metadata or adjust the docs. (2) The Goose load test still requests an admin@example.com subject, so it will not match the UUID-keyed config. Focused tests, Clippy, formatting, and mdBook checks pass.
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.
Summary
user.emailmetadata where examples need it.Context
Paired control-plane PR: IBM/mcp-context-forge#5708
Part of issue: IBM/mcp-context-forge#5462
The Python publisher now writes dataplane user configs under
EmailUser.id, so Rust dataplane fixtures and examples should present JWTs whosesubmatches that opaque UUID key.Migration / Compatibility
Compatibility handling is documented in the paired control-plane PR IBM/mcp-context-forge#5708.
In short: existing email-keyed Redis configs expire through the normal publisher TTL, and pre-cutover API tokens with email subjects must be rotated or recreated so their
subis the user UUID. The Rust dataplane keeps JWTsubas an opaque Redis lookup key and does not add email-to-UUID fallback mapping.Validation
Also validated with a cross-repo smoke against the Python publisher branch from IBM/mcp-context-forge#5708:
("UserConfig", "11111111-1111-1111-1111-111111111111").c0ffee00f001f00lf00ldeadbeefdead.tools/listreturned200with backend tools fromgateway-one.11111111-1111-1111-1111-111111111111.