Skip to content

id: WebSocket upgrades under a publication mount do not complete (#5537 phase-4 residual) #11290

Closed

Description

@dezren39

Residual from #5537 phase 4 (design #2146), found while landing PR #11284 (queue task 19857).

Segment-boundary dispatch for publication mounts exists in pkgs/id/crates/id-web/src/routes.rs (publication_mount_layer): a mounted world serves its program frontend scoped under the mount prefix. One documented in-code limit remains: WebSocket upgrades under a mount do not complete — the on-demand dispatch has no hyper upgrade handle.

Work: give the mount dispatch path an upgrade handle so a WebSocket session round-trip under a mount succeeds, with tests (unauthorized refused, authorized round-trip under a mount) and the existing id-web/id-cli suites still green. Scope: pkgs/id/crates/id-web (routes/dispatch) and its tests; no publication-lifecycle (#2147) work.

Activity

  1. added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/highImportant and time-sensitive
    effort/mMedium: expected under 1 day of work
    on Nov 17, 2026
  2. developing-today commented on Nov 17, 2026

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

    @dezren39
    MemberAuthor

    Daily review note: open dispatched issues #11309, #11310, and #11311 have the same title and essentially identical hand-off text as this issue. This issue has the canonical phase-4 context, exact scope, and acceptance criteria; please keep it as the source of truth and reconcile/cancel duplicate queue claims before parallel workers implement the same mount-upgrade path. No separate technical requirement was apparent in the duplicate wrappers.

  4. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Dispatched by conductor: task 20759 → session ses_e5e141becdfffecLMnvgoU92Bc, route opencode-route/workhorse, worktree ~/git/fleet/20759-11290-id-ws-mount, branch queue/20759-11290-id-ws-mount (pushed empty first). Engagement verified: first assistant turns running preflight and reads.

  5. dezren39 commented on Nov 18, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    conductor: task 20759 claim released (reason: owner mismatch; checkpoint required repo-worker-code). Session ses_e5e141becdfffecLMnvgoU92Bc finished with no edits; worktree ~/git/fleet/20759-11290-id-ws-mount is clean and its branch queue/20759-11290-id-ws-mount was pushed empty at 6b9894e. No writer exists now; the task returns to the pool for a repo-worker-code claim.

  6. added a commit that references this issue on Nov 18, 2026
  7. dezren39 commented on Nov 18, 2026

    @dezren39
    MemberAuthor

    Agent note — task 20759 complete after fresh revalidation

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

Metadata

Metadata

Assignees

Labels

effort/mMedium: expected under 1 day of workkind/bugSomething isn't working (prefixed form of the classic bug label)priority/highImportant and time-sensitivestatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions