Skip to content

id-worlds does not compile on main: Pointer/Hover dispatch missing after revision-10 landing (E0004) #11277

Closed

Description

@dezren39

Problem

On current main (verified at e5eab19, 2026-11-17), cargo check -p id-worlds --lib fails: the revision-10 pointer landing (#1831 slice S2) added Pointer/Hover variants to ClientFrame without dispatch arms, leaving two matches non-exhaustive (E0004 in world_session/session_core.rs run_world_session and world_session/mod.rs handle_client_frame). The crate does not compile at all, so no id-worlds test can run.

Behind the lib errors, the test build has further pre-existing breakage from the same era:

  • shell_contract/tests.rs: the pointer test binds let contract = contract(); and later calls contract() (E0618).
  • world/actor.rs test modules device_info_tests / form_tests use Request (and form_tests also CapError) from crate::world_caps without importing them (E0422/E0425).

Evidence: clean worktree at e5eab19, cargo check -p id-worlds --lib -> RC 101, exactly the two E0004 errors (run by lane any-e, task 20044, 2026-11-17).

Interim fix (in the #7913 PR)

  • First-frame match: Pointer/Hover join the joined-only refusal group.
  • Joined dispatch: Hover accepted as ephemeral no-op (no host consumer yet); Pointer refused explicitly with input_refused / unknown_or_unsupported_event, per the contract rule that an input event is never silently dropped.
  • The two test-build import/shadowing fixes above.

Remaining (owned by #1831 follow-up)

Real pointer routing: manifest interfaces.input declaration checks, journaling pointer events like input (the journaled-vs-ephemeral contract test's pointer expectation — sample commits exactly one event — is written ahead of that routing and will fail until it lands), and hover delivery if a consumer appears.

Activity

  1. added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 17, 2026
  2. developing-today commented on Nov 17, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Fixed on main by PR #11231 (merged 2026-11-17T12:32:28Z, merge commit 8fef1ad), which closed #11208 and #11250.

    All three breakages listed here are resolved at current origin/main bcb79c8e44:

    • world_session/session_core.rs:452-453 — Pointer/Hover join the pre-join refusal group (E0004 gone).
    • world_session/mod.rs:1640 / :1713 — joined dispatch arms for Pointer (journaled via input_from_session) and Hover (ephemeral).
    • shell_contract/tests.rs — the pointer test was rewritten to pointer_and_hover_frames_conform_to_the_input_event_model (:564); no more let contract = contract(); then contract() (E0618 gone).
    • world/actor.rs — device_info_tests (:3243) and form_tests (:3410) now import Request/CapError from crate::world_caps (E0422/E0425 gone).

    Verification: cargo test -p id-worlds --lib --features sandbox,ssh on a tree whose id-worlds/id-cli files are byte-identical to current main — 943 passed, 0 failed, 3 ignored (43.68s). The interfaces.input manifest checks and full S2 pointer semantics remain #1831 follow-up.

    Closing as a duplicate of the merged fix.

  4. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Closed: fixed by PR #11231 (8fef1ad) on main; verified 943/0 id-worlds lib tests on identical file content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/idPackage/app: id (pkgs/ or apps/ in this repo)kind/bugSomething isn't working (prefixed form of the classic bug label)status:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions