Repository navigation
test(id): phase-4 acceptance — session round-trip and sibling isolation under publication mounts (#5537) - #11300
Merged
Merged
Conversation
…on under publication mounts (#5537) The two packet acceptance cases PR #11284 did not cover, at router level through the live mount layer: (1) unauthorized/authorized session round-trip under a mount — POST <mount>/api/world/invite is refused 401 with no or a wrong admin token and served 200 with the mounted world's admin secret; (2) sibling-mount isolation — two mounts on one hub each serve only their own world's program page, and a mount's scoped API refuses to name the sibling world (404) while the sibling's own mount serves it.
|
Caution Review failedThe pull request is closed.
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. |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
What
Tests only (+121/−0 in
pkgs/id/crates/id-web/src/routes.rs): the two #5537 phase-4 packet acceptance cases that PR #11284 did not cover, exercised at router level through the live publication-mount layer.publication_mount_session_round_trip_is_gated_by_the_world_admin_secret— the unauthorized/authorized session round-trip under a mount:POST /prog/api/world/inviteis refused401with no admin token and with a wrong one, and served200with the mounted world's admin secret. The mount adds no authority and removes none.publication_mounts_isolate_sibling_worlds_at_the_router— cross-mount isolation with two worlds on one hub: each mount serves only its own world's program page; a mount's scoped API refuses to name the sibling world (404on an invite naming it) while the sibling's own mount serves it; a string-prefix path (/prog2) reaches no mount.Context
Task 19857 (phase 4) was completed by its owning session in PR #11284 (merged
6c20bab1); lane any-l held a duplicate claim from a capacity-park resume, stood down on the heartbeat verdict, and is landing these already-written acceptance tests as a follow-on instead of dropping them (recorded on #5537). The WebSocket-under-mount residual is owned by #11290 / task 20759 and is not touched here.Verification
Targeted runs (
cargo test -p id-web publication_mountandprogram_router) are queued behind the fleet build lock on the laptop; results will be recorded here before merge. The full id-web suite passed for the underlying implementation in PR #11284 (704 tests).Refs #5537.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.