Repository navigation
Conversation
…1250) The #1831 S2 input variants reached the wire (parsing, shell contract) before the session dispatch, leaving two matches non-exhaustive and main uncompilable: - session_core's first-frame match: Pointer and Hover join the joined-session-only group next to Input/Resize/Paste, refused as first frames like the rest of that group. - handle_client_frame's joined dispatch: both frames are answered with the design's explicit refusal frame, never silently dropped. Pointer takes NotDeclaredByApp (the world advertises pointer:false; no app can declare pointer input yet, and journaling starts when the world consumes pointer events); Hover takes HoverUnsupported. The InputRefused event names ride two small wire-name helpers. No behavior change for any previously covered frame.
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. |
|
Warning Review limit reachedYou'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. View limit details
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. |
|
Closing as superseded: while this PR was in flight, the fuller #1831 S2 dispatch landed on main in commit 02297ef ("fix(id-worlds): cover ClientFrame::Pointer/Hover in session dispatch (#11208, #1831 S2)") — Pointer journaled through the input path with the Android secondary-press refusal, Hover accepted except Android (HoverUnsupported), plus the same first-frame group coverage. Verified independently: |
Fixes #11250
What was wrong
origin/maindid not compile: the #1831 S2 input variantsClientFrame::PointerandClientFrame::Hoverwere added to the wire enum (with parsing and shell-contract coverage) before the session dispatch learned them, leaving two matches non-exhaustive (E0004):world_session/session_core.rs:18— the first-frame match inrun_world_sessionworld_session/mod.rs:1449— the joined-session dispatch inhandle_client_frameThis also blocked PR #11259.
The fix
Input,Resize,Paste, …) and are refused as first frames exactly like that group.ServerFrame::InputRefused, "never silently dropped" (Proof-of-concept Android app + input interface extension (touch, mouse, hover) for relaying into live apps #1831 S2 refusal table):Pointer→NotDeclaredByApp: the world advertisespointer: falsein its input declaration, so no app can declare pointer input yet; journaling likeInputstarts when the world consumes pointer events.Hover→HoverUnsupported: hover is connection-local presentation context this host does not support yet.eventnames ride two small helpers (pointer_event_wire,hover_event_wire) returning the serde snake_case forms.No behavior change for any previously covered frame.
Verification
cargo check -p id-worldspasses (the one warning touching these files —FormResultunreachable in the group — is pre-existing). This is the issue's stated acceptance.cargo test -p id-worldscannot build its test target on current main for a pre-existing, unrelated reason:world/actor.rs's#[cfg(test)]module referencesRequest/CapErrorthat are not in scope (E0425, lines 3270+). That breakage is independent of this change (this diff touches onlyworld_session/{mod,session_core}.rs) and was found independently by lane code-c's re-verify under task 20651; it is not fixed here.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.