GeezerVison is showing github.com — fix(id-worlds): cover ClientFrame::Pointer/Hover in session dispatch (#11208) by dezren39 · Pull Request #11231 · developing-today/code
Conversation
dezren39
commented
Nov 17, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Fixes #11208.
Main did not compile. The #1831 S2 frame types (b6409f5) landed without updating the two exhaustive ClientFrame matches in id-worlds, and the #10456 import trim (8a3cff7, in #11167) removed names two actor test modules use through super::*. Stacked breaks, one gate: pkgs/id's check phase, blocking nixos-rebuild switch.
What this does:
- session_core pre-join match:
Pointer/Hover join the joined-only refusal group, like Input/Resize/Paste ("first frame must be join, invite or install_begin").
- Joined dispatch — implemented per the input event model design (doc/2026-11-08T05-48-47Z_design_input_event_model, Decision 3), with the shell-contract boundary test as the oracle:
Pointer is journaled and replayed like Input: the frame's canonical JSON goes through input_from_session, which namespaces the connection-local pointer_id with the session identity. Android secondary_press (a per-environment extra; Android has no secondary button) is refused with the design's named reason no_secondary_button via the input_refused reply.
Hover is ephemeral: accepted, never journaled, never seen by other sessions. On Android it is refused as hover_unsupported. Nothing is silently dropped.
- Not in scope: the manifest
interfaces.input declaration checks (the app-manifest plumbing lives on the S2 lane; the dispatch has no manifest handle yet) — core events and the environment-only refusals above are what's implemented.
- actor.rs test modules (
device_info_tests, form_tests) import the Request/CapError they use instead of relying on the parent's trimmed glob import.
- shell_contract tests: use the bound
contract value instead of re-calling the shadowed contract() helper (E0618).
Verification (laptop): cargo test -p id-worlds --lib --features sandbox,ssh — 943 passed, 0 failed, including the_journaled_vs_ephemeral_boundary_is_what_the_contract_says (pointer commits exactly one journal event, hover none). Nix check-phase build result to follow in a comment before merge.
![Autofix with [code]smith](/api/image?u=https%3A%2F%2Fcamo.githubusercontent.com%2F33b6f70f3541c4e93f4503d29cbfec051fa1b040d8e0ae9313a51c4ece44a627%2F68747470733a2f2f70722d636f6d6d656e74732d6173736574732e626c61636b736d6974682e73682f636f6465736d6974682f6175746f6669782d776974682d636f6465736d6974682d6461726b2d33782e706e67)
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…11208, #1831 S2)
Main did not compile: the #1831 S2 frame types (b6409f5) landed
without updating the two exhaustive ClientFrame matches, and the
#10456 import trim (8a3cff7) removed names two actor test modules
use through super::*.
- session_core pre-join match: Pointer/Hover join the joined-only
refusal group, like Input/Resize/Paste.
- Joined dispatch: Pointer is journaled and replayed like Input
(design Decision 3) — the frames canonical JSON goes through
input_from_session, which namespaces the connection-local
pointer_id with the session identity. Android secondary_press is
refused with the designs named reason (no_secondary_button).
Hover is ephemeral: accepted without journaling; on Android it is
refused as hover_unsupported. Nothing is silently dropped.
- actor.rs test modules import the Request/CapError they use
(device_info_tests, form_tests) instead of relying on the parents
trimmed glob.
- shell_contract tests: use the bound contract value instead of
re-calling the shadowed contract() helper.
The shell-contract boundary test
(the_journaled_vs_ephemeral_boundary_is_what_the_contract_says) is
the oracle: pointer commits exactly one journal event, hover none.
id-worlds lib: 943 passed, 0 failed (sandbox,ssh features).
Codex Review Summary: ❌ Failed
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
❌ Failed 2026-11-17T10:40:55.695789Z We couldn’t complete this review. Comment @codex review to try again. |
02297ef |
PR opened |
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review" or "@codex security review".
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Nov 17, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Warning
Review limit reached
You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.
Next included review available in 49 minutes.
Check out review usage here.
View limit details
-
Limit details: You’ve used the included review currently available.
Learn how review limits work.
Review configuration:
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
3638f1cd-008a-49ed-801a-c3f54d1300f9
Commits
-
Reviewing files that changed from the base of the PR and between ac92887 and 764b7db.
Files selected for processing: 6
-
pkgs/id/crates/id-cli/src/commands/serve.rs
pkgs/id/crates/id-cli/src/commands/world.rs
pkgs/id/crates/id-worlds/src/shell_contract/tests.rs
pkgs/id/crates/id-worlds/src/world/actor.rs
pkgs/id/crates/id-worlds/src/world_session/mod.rs
pkgs/id/crates/id-worlds/src/world_session/session_core.rs
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
The serve split moved the helper into serve::startup (pub(super)) but
the world-gated call site in serve.rs never imported it — E0425 in
world-feature builds (the nix check path), masked in default-feature
builds where the call site is cfg-ed out. Stacked break from the same
refactor churn as the ClientFrame matches; folded into the #11208
unblock.
|
Second stacked break found by the nix gate on this branch (commit 8a4633d): id-cli failed to compile in world-feature builds — the serve split moved server_config_directory_path into serve::startup (pub(super)) but the #[cfg(feature = "world")] call site in serve.rs never imported it (E0425; masked in default-feature builds where the call site is cfg'd out). One-line import fix, folded into this PR since it blocks the same gate.
Local verification recap: cargo test -p id-worlds --lib --features sandbox,ssh 943 passed / 0 failed. Nix gate re-running on the updated branch.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
The #1831 S2 commit bumped the shell contract to revision 10 but
this test still expected the v1.9 conformance banner. Stacked break
from the same landing; folded into the #11208 unblock.
|
Third stacked break, caught by the nix gate on the previous run (commit 764b7db): the check phase got all the way to id-cli's lib tests — 690 passed, 1 failed: the_contract_check_reports_conformance_or_every_violation still expected the "shell contract v1.9" banner after the S2 commit bumped the contract to revision 10. Expected-string updated to v1.10; the test passes locally (cargo test -p id-cli --lib --features world,sandbox,ssh, filtered run green).
Also confirmed in that run: provider_registry_exit_proof passes 4/4 inside the nix check phase (the #11016 fix holding on current main), and id-worlds' 943 lib tests include the boundary contract test green. Nix gate re-running on the updated branch.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Nix gate green on this branch: nix build .#id-web EXIT=0 — 117 test suites ok, 0 failed, including provider_registry_exit_proof 4/4 (the #11016 fix holding) and the full id-worlds/id-cli suites. Output: /nix/store/3r3wjbljs0fnf70qpw85qhqsgylp8fd2-id-0.1.0. Merging.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
dezren39
pushed a commit
that referenced
this pull request
Nov 17, 2026
…orld_is_refused
Dropping the service leaves its actor - and the actor journal
ownership (#8459) - alive, so the second open was refused as a
concurrent open instead of reaching the belongs-to check. Capture
the handle and shut the actor down explicitly. Found shepherding
PR #11259: full id-worlds suite run with the #11231 compile fix
merged locally - 752 passed, this test the only failure.
This was referenced Nov 17, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
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.
|