Skip to content

Sidebar: another machine's session leaves its machine row once its record is held, when the registry knows its project #644

Closed

Description

@SSFSKIM

The fault

On machine A, a person opens a session that runs on machine B from B's machine row in the sidebar. Once A holds B's record of that session, the row leaves B's machine row and is filed under a project row in the Projects list. When that project row is collapsed the session's row is not drawn, and B's machine row goes too when nothing is left in it.

The cause

rowOfListedRecord (src/renderer/src/stores/org-projects.ts) lets a record at a listed address sit where its listing sits only when the record's project is not known on A; its comment gives the premise, "RL2 machines send no projects". The project registry (M11) places every registry location on another machine into the sessions store's projects map (registryRecords, src/renderer/src/stores/registry.ts) under the same address the record read over the link carries. So with B's location in the registry the record's project is known, the record files under that project's key, and its listing, whose orgKey the key table has no entry for, stays under B's machine row. One address files in two places depending on whether a record is held.

Found by the Mac mini copy of e2e:remote on the UX wave's U9 branch (run 43523605515: e2e/remote.spec.ts:3272, the Fork step): the registry's answer arrives before the click on the Mac mini and later on the hosted Macs.

The ruling (the MAWS architect, 2026-11-13 UTC)

  1. For a record on another machine, a listing that names its address decides the row, whether or not the record's project is known. This Mac's records keep today's rule.
  2. The same in sessionSetKey's twin rule, in resume/model.ts and in channel/project.ts; the pull request says for each whether it follows or deliberately does not.
  3. Tests first: a registry-placed project on B, a listing whose orgKey names no key, the record arriving: the row stays under B's machine row; and the case where listing and registry agree on the key: the row is that project's, before and after.
  4. The remaining limit is named in the pull request and in a tracker row: when the listing goes away while the record is held, the row can move to the registry project's row without a click; say whether that is reachable today.

Proof

The unit tests; class 1a; the macOS-only unit tests; e2e:remote on a hosted Mac and on the Mac mini's host; e2e:default.

Activity

  1. added
    bug
    status:ready-for-implementer
    priority:P2
    on Nov 14, 2026
  2. added
    status:in-progress
    and removed
    status:ready-for-implementer
    on Nov 14, 2026
  3. SSFSKIM commented on Nov 14, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-progress: Built from the ticket body on branch ux-wave/row-filing, from master b8be1f0.

  4. added
    status:in-review
    and removed
    status:in-progress
    on Nov 14, 2026
  5. SSFSKIM commented on Nov 14, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-review: PR #647 at head ec277a8 (holds master 32c4d40). Review converged after one fix wave. Green on the final head: class 1a 43547613057, unit:darwin 43547639326, e2e:settings hosted 43547676849 and on the Mac mini's guest 43547727779 (27 passed each); on 6c623c1: default 43543894146, e2e:remote hosted 43543938420 and on the Mac mini's host 43544485448.

  6. added a commit that references this issue on Nov 14, 2026
  7. removed
    status:in-review
    on Nov 14, 2026
  8. SSFSKIM commented on Nov 14, 2026

    @SSFSKIM
    OwnerAuthor

    [board] done: landed in #647 (master 5002c67)

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

    bugpriority:P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions