You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
main-broken: id-0.1.0 fails to compile — ClientFrame::Pointer/Hover not covered in id-worlds session matches (blocks amd toplevel) #11208
Found 2026-11-17 building the amd toplevel from main 57ad2db (after #11016 was fixed): id-0.1.0's build fails in id-worlds (lib) with two E0004 non-exhaustive pattern errors:
crates/id-worlds/src/world_session/session_core.rs:18 — the pre-join first-frame match does not cover ClientFrame::Pointer / ClientFrame::Hover.
crates/id-worlds/src/world_session/mod.rs:1449 — the joined-session dispatch does not cover them either.
The variants arrived with the #1831 input-interface work (slice S2 types: Pointer is journaled input like Input; Hover is ephemeral like Resize) but no world-side consumer was wired, and the two exhaustive matches were not updated. Nothing else in the tree matches on the new variants yet.
Fix (fail-closed, following the existing shapes): Pointer/Hover join the pre-join refusal group in session_core (same as Input/Resize/Paste: "first frame must be join, invite or install_begin"), and the joined dispatch refuses them explicitly as not yet enabled on this server (same convention as compilation) until the S2 consumers land — never silently dropped. The real S2 handling (journaling Pointer, ephemeral Hover) stays with #1831.
Blocks nixos-rebuild switch from current main (currently holding up dot-ssh user activation, PR #10990). Being fixed now by the #11016 coordinator thread.
Root cause: the #1831 slice S2 commit added ClientFrame::Pointer/Hover to the frame enum but no session dispatch, so two match sites in id-worlds failed E0004. Two further stacked breaks from the same refactor churn were folded into the same PR because they blocked the same gate: a use super::* trim breaking two actor.rs test modules, a contract() helper shadowed in the shell-contract tests, a missing server_config_directory_path import in id-cli's serve.rs, and a stale v1.9 contract-version expectation in id-cli's contract-check test.
Fix shape: pre-join, Pointer/Hover join the joined-only refusal group. Post-join, per the 2026-11-08 input-event-model design (decision 3): Pointer is an activation event — journaled through world.input_from_session with its canonical frame encoding and replayed like keyboard Input; Android secondary-press is refused with the design's NoSecondaryButton reason. Hover is ephemeral — accepted with no journal entry and no replay; on Android it is refused with HoverUnsupported. The contract's executable oracle (the_journaled_vs_ephemeral_boundary_is_what_the_contract_says) passes.
Verification: cargo test -p id-worlds --lib --features sandbox,ssh 943 passed / 0 failed; nix build .#id-web EXIT=0 (117 test suites ok) on the laptop — pkgs/id compiles and tests green on main again, unblocking the amd switch.
Activity
developing-today commentedon Nov 17, 2026
CODE-4091
fix(id-cli): import server_config_directory_path in serve.rs (#11208)
fix(id-cli): contract check test expects shell contract v1.10 (#11208)
Merge pull request #11231 from developing-today/fix/11208-clientframe…
dezren39 commentedon Nov 17, 2026
Fixed by PR #11231 (merged, merge commit 8fef1ad).
Root cause: the #1831 slice S2 commit added
ClientFrame::Pointer/Hoverto the frame enum but no session dispatch, so two match sites in id-worlds failed E0004. Two further stacked breaks from the same refactor churn were folded into the same PR because they blocked the same gate: ause super::*trim breaking two actor.rs test modules, acontract()helper shadowed in the shell-contract tests, a missingserver_config_directory_pathimport in id-cli's serve.rs, and a stale v1.9 contract-version expectation in id-cli's contract-check test.Fix shape: pre-join, Pointer/Hover join the joined-only refusal group. Post-join, per the 2026-11-08 input-event-model design (decision 3): Pointer is an activation event — journaled through
world.input_from_sessionwith its canonical frame encoding and replayed like keyboard Input; Android secondary-press is refused with the design'sNoSecondaryButtonreason. Hover is ephemeral — accepted with no journal entry and no replay; on Android it is refused withHoverUnsupported. The contract's executable oracle (the_journaled_vs_ephemeral_boundary_is_what_the_contract_says) passes.Verification:
cargo test -p id-worlds --lib --features sandbox,ssh943 passed / 0 failed;nix build .#id-webEXIT=0 (117 test suites ok) on the laptop — pkgs/id compiles and tests green on main again, unblocking the amd switch.