two-machine drive: prove Document editing actually LEAVES a member device — an uninstall-from-card leg with on-the-box proof (#1589 and #1590 are seam-proven only for this slug) #1595

Closed
opened 2026-09-18 18:32:35 +00:00 by ben · 2 comments
Owner

Why

#1589 (771736b3) gave Document editing and Calendar & contacts a real removal — before it, unticking either only edited the inventory and the service never left the box (the GOTCHAS #207 class). It is seam-proven only: no drive installs-then-removes either slug. The brand-reach walk (#1277) covers the seven forward-auth ports and neither of these, so a green there says nothing about them. GOTCHAS #207 exists because exactly this kind of removal greened on the card while the units kept running on the guest.

What to build

app/tests/e2e/journey.v2-fleet.spec.ts (the two-machine build, #1451) is the one drive that places docs-editing — on the added member device, with files on the gateway. After its last existing leg, add:

  1. uninstall-from-card-docs-editing — Services tab → Document editing's card → Uninstall (the #1590 door, here on a MEMBER DEVICE placement, which brand-reach's gateway co-host leg does not cover) → confirm → the dialog's progress reaches done → the card goes back to Install.
  2. On-the-box proof, same leg (the #1351 pattern — the card alone has lied before): on the member device docs-editing.nix is gone from its machine dir and coolwsd's unit is not active; on the gateway the front door no longer routes docs-editing.<apex> (the address that leg 11 proved answering now does not), and Files still answers.
  3. files-still-edits-nothing is NOT needed — only assert Files' door still serves after the removal (the WOPI coupling was switched off, not Files).

Reuse brandreach.ts's uninstall-from-card fixture (#1590) rather than writing a second walker.

Calendar

No drive places calendar at all. Do not add it here — note in the close report whether a drive can cheaply tick it beside files (it ships no module; the proof would be Nextcloud's occ app:list on the guest before and after). If it can, file that as its own ticket.

Done looks like

  • The two legs above exist, recorded through runRecordedLeg, with a dash frame each.
  • Harness unit pins for any new fixture function (the brandreach.test.ts pattern).
  • The #1351 removal-ordering guard (#1591's scoped form) still holds or is extended to this spec.
  • #1451's leg list in its ticket body is updated by comment so its green bar names the new legs.
  • Live proof is #1451's next fire — say so in STATUS.md; do not claim it here.
## Why #1589 (`771736b3`) gave **Document editing** and **Calendar & contacts** a real removal — before it, unticking either only edited the inventory and the service never left the box (the GOTCHAS #207 class). It is **seam-proven only**: no drive installs-then-removes either slug. The brand-reach walk (#1277) covers the seven forward-auth ports and neither of these, so a green there says nothing about them. GOTCHAS #207 exists because exactly this kind of removal greened on the card while the units kept running on the guest. ## What to build `app/tests/e2e/journey.v2-fleet.spec.ts` (the two-machine build, #1451) is the one drive that places `docs-editing` — on the added member device, with `files` on the gateway. After its last existing leg, add: 1. **`uninstall-from-card-docs-editing`** — Services tab → Document editing's card → **Uninstall** (the #1590 door, here on a MEMBER DEVICE placement, which brand-reach's gateway co-host leg does not cover) → confirm → the dialog's progress reaches done → the card goes back to Install. 2. **On-the-box proof, same leg** (the #1351 pattern — the card alone has lied before): on the member device `docs-editing.nix` is gone from its machine dir and coolwsd's unit is not active; on the gateway the front door no longer routes `docs-editing.<apex>` (the address that leg 11 proved answering now does not), and Files still answers. 3. **`files-still-edits-nothing`** is NOT needed — only assert Files' door still serves after the removal (the WOPI coupling was switched off, not Files). Reuse `brandreach.ts`'s uninstall-from-card fixture (#1590) rather than writing a second walker. ## Calendar No drive places `calendar` at all. Do not add it here — note in the close report whether a drive can cheaply tick it beside `files` (it ships no module; the proof would be Nextcloud's `occ app:list` on the guest before and after). If it can, file that as its own ticket. ## Done looks like - [ ] The two legs above exist, recorded through `runRecordedLeg`, with a dash frame each. - [ ] Harness unit pins for any new fixture function (the `brandreach.test.ts` pattern). - [ ] The #1351 removal-ordering guard (#1591's scoped form) still holds or is extended to this spec. - [ ] #1451's leg list in its ticket body is updated by comment so its green bar names the new legs. - [ ] Live proof is #1451's next fire — say so in STATUS.md; do not claim it here.

swarm-claim host=bens-mac-04 run=26659
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=bens-mac-04 run=26659 (automated multi-host claim — lowest live claim id works this ticket)

close-report for #1595 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 1595,
  "status": "success",
  "commits": [
    "ed2650d86aa555ce5bb6be54bfcb9078427b2880"
  ],
  "changed_files": [
    "STATUS.md",
    "app/tests/e2e/fixtures/docsEditingRemoval.test.ts",
    "app/tests/e2e/fixtures/docsEditingRemoval.ts",
    "app/tests/e2e/journey.v2-fleet.spec.ts"
  ],
  "tests": [
    {
      "command": "npx vitest run tests/e2e/fixtures/docsEditingRemoval.test.ts (in app/)",
      "exit_code": 0
    },
    {
      "command": "npx vitest run tests/e2e/fixtures/brandreach.test.ts (in app/)",
      "exit_code": 0
    },
    {
      "command": "npx vue-tsc -p tsconfig.json --noEmit (in app/)",
      "exit_code": 0
    },
    {
      "command": "npx eslint tests/e2e/fixtures/docsEditingRemoval.ts tests/e2e/journey.v2-fleet.spec.ts (in app/)",
      "exit_code": 0
    },
    {
      "command": "OC_E2E_SPEC=journey.v2-fleet.spec.ts npx playwright test --list (in app/)",
      "exit_code": 0
    }
  ],
  "criteria": {
    "The two legs above exist, recorded through runRecordedLeg, with a dash frame each": "journey.v2-fleet.spec.ts adds two runRecordedLeg legs before `release` — `sign-in` (reaches the control-panel SPA via signInOperator, sets dashRef.page) and `uninstall-from-card-docs-editing`; installLegCapture now takes the `() => dashRef.page` getter so each dash-era leg takes its own <name>-dash.png frame (legframe.ts appWindowCapturer)",
    "uninstall-from-card-docs-editing: Services tab -> card -> Uninstall -> confirm -> progress done -> card back to Install (member-device placement)": "the leg calls the reused #1590 uninstallServiceFromCard(dash, DOCS_EDITING_SERVICE); that fixture drives tab-services -> the Document editing card -> uninstall-service -> confirm-uninstall -> uninstall-progress data-status=done -> install-service reappears. docs-editing is placed on the added member device (leg 4 placeServiceOnMachine), files on the gateway",
    "On-the-box proof, same leg (#1351): member device docs-editing.nix gone + coolwsd not active; gateway front door no longer routes docs-editing.<apex>; Files still answers": "same leg calls expectDocsEditingLeftTheFleet (fixtures/docsEditingRemoval.ts): member device coolwsd LoadState=not-found via sshDeviceViaGatewayStdout (module left the box => unknown => not active, reusing loadStateShowsGone); gateway front door docs-editing.<apex> answers the unserved-host 404 (GOTCHAS #221), files.<apex> still answers over TLS",
    "files-still-edits-nothing NOT needed — only assert Files' door still serves": "expectDocsEditingLeftTheFleet asserts only that files.<apex> still answers over the front door (frontDoorStillServes); no Files-editing/WOPI assertion added",
    "Reuse brandreach.ts's uninstall-from-card fixture (#1590) rather than a second walker": "the leg calls uninstallServiceFromCard(dash, DOCS_EDITING_SERVICE) — the #1590 fixture — with a minimal BrandService-shaped descriptor keyed by name; no second walker written (pinned by docsEditingRemoval.test.ts)",
    "Harness unit pins for any new fixture function (the brandreach.test.ts pattern)": "app/tests/e2e/fixtures/docsEditingRemoval.test.ts — 10 pins over the pure descriptor, command/URL builders and 404/not-found rulers, all green",
    "The #1351 removal-ordering guard (#1591's scoped form) still holds or is extended to this spec": "docsEditingRemoval.test.ts adds a v2FleetLegBody-scoped guard: the uninstall-from-card-docs-editing leg body contains uninstallServiceFromCard(...) then expectDocsEditingLeftTheFleet(...), the second indexOf greater than the first — the #1591 same-leg ordering extended to journey.v2-fleet.spec.ts; brandreach.test.ts's provision-brands guard is untouched and still green (41 pass)",
    "#1451's leg list in its ticket body is updated by comment so its green bar names the new legs": "comment posted on #1451 (issuecomment-49575) naming the sign-in and uninstall-from-card-docs-editing legs and their placement before release",
    "Live proof is #1451's next fire — say so in STATUS.md; do not claim it here": "STATUS.md #1595 entry marks the slice seam-proven / live-unproven and states the two legs run on #1451's next live fire (the KVM + live broker + DO executor frontier), not claimed here",
    "calendar note": "noted in the close report and STATUS: no drive places calendar (it ships no module); a cheap tick beside files provable by occ app:list before/after CAN be added to a files-bearing drive, so it is filed as its own follow-up issue #1599 rather than added here (per the ticket's instruction)"
  },
  "summary": "The v2-fleet two-machine drive gains a docs-editing removal tail — a reused #1590 uninstall-from-card leg on a member-device placement whose SAME-leg on-the-box proof (coolwsd not-found via the gateway relay, front door 404 for docs-editing while files still answers) closes the GOTCHAS #207 blind spot #1589/#1590 were only seam-proven against.",
  "reason": "",
  "blockers": [],
  "no_code_change": ""
}
**close-report** for #1595 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1595, "status": "success", "commits": [ "ed2650d86aa555ce5bb6be54bfcb9078427b2880" ], "changed_files": [ "STATUS.md", "app/tests/e2e/fixtures/docsEditingRemoval.test.ts", "app/tests/e2e/fixtures/docsEditingRemoval.ts", "app/tests/e2e/journey.v2-fleet.spec.ts" ], "tests": [ { "command": "npx vitest run tests/e2e/fixtures/docsEditingRemoval.test.ts (in app/)", "exit_code": 0 }, { "command": "npx vitest run tests/e2e/fixtures/brandreach.test.ts (in app/)", "exit_code": 0 }, { "command": "npx vue-tsc -p tsconfig.json --noEmit (in app/)", "exit_code": 0 }, { "command": "npx eslint tests/e2e/fixtures/docsEditingRemoval.ts tests/e2e/journey.v2-fleet.spec.ts (in app/)", "exit_code": 0 }, { "command": "OC_E2E_SPEC=journey.v2-fleet.spec.ts npx playwright test --list (in app/)", "exit_code": 0 } ], "criteria": { "The two legs above exist, recorded through runRecordedLeg, with a dash frame each": "journey.v2-fleet.spec.ts adds two runRecordedLeg legs before `release` — `sign-in` (reaches the control-panel SPA via signInOperator, sets dashRef.page) and `uninstall-from-card-docs-editing`; installLegCapture now takes the `() => dashRef.page` getter so each dash-era leg takes its own <name>-dash.png frame (legframe.ts appWindowCapturer)", "uninstall-from-card-docs-editing: Services tab -> card -> Uninstall -> confirm -> progress done -> card back to Install (member-device placement)": "the leg calls the reused #1590 uninstallServiceFromCard(dash, DOCS_EDITING_SERVICE); that fixture drives tab-services -> the Document editing card -> uninstall-service -> confirm-uninstall -> uninstall-progress data-status=done -> install-service reappears. docs-editing is placed on the added member device (leg 4 placeServiceOnMachine), files on the gateway", "On-the-box proof, same leg (#1351): member device docs-editing.nix gone + coolwsd not active; gateway front door no longer routes docs-editing.<apex>; Files still answers": "same leg calls expectDocsEditingLeftTheFleet (fixtures/docsEditingRemoval.ts): member device coolwsd LoadState=not-found via sshDeviceViaGatewayStdout (module left the box => unknown => not active, reusing loadStateShowsGone); gateway front door docs-editing.<apex> answers the unserved-host 404 (GOTCHAS #221), files.<apex> still answers over TLS", "files-still-edits-nothing NOT needed — only assert Files' door still serves": "expectDocsEditingLeftTheFleet asserts only that files.<apex> still answers over the front door (frontDoorStillServes); no Files-editing/WOPI assertion added", "Reuse brandreach.ts's uninstall-from-card fixture (#1590) rather than a second walker": "the leg calls uninstallServiceFromCard(dash, DOCS_EDITING_SERVICE) — the #1590 fixture — with a minimal BrandService-shaped descriptor keyed by name; no second walker written (pinned by docsEditingRemoval.test.ts)", "Harness unit pins for any new fixture function (the brandreach.test.ts pattern)": "app/tests/e2e/fixtures/docsEditingRemoval.test.ts — 10 pins over the pure descriptor, command/URL builders and 404/not-found rulers, all green", "The #1351 removal-ordering guard (#1591's scoped form) still holds or is extended to this spec": "docsEditingRemoval.test.ts adds a v2FleetLegBody-scoped guard: the uninstall-from-card-docs-editing leg body contains uninstallServiceFromCard(...) then expectDocsEditingLeftTheFleet(...), the second indexOf greater than the first — the #1591 same-leg ordering extended to journey.v2-fleet.spec.ts; brandreach.test.ts's provision-brands guard is untouched and still green (41 pass)", "#1451's leg list in its ticket body is updated by comment so its green bar names the new legs": "comment posted on #1451 (issuecomment-49575) naming the sign-in and uninstall-from-card-docs-editing legs and their placement before release", "Live proof is #1451's next fire — say so in STATUS.md; do not claim it here": "STATUS.md #1595 entry marks the slice seam-proven / live-unproven and states the two legs run on #1451's next live fire (the KVM + live broker + DO executor frontier), not claimed here", "calendar note": "noted in the close report and STATUS: no drive places calendar (it ships no module); a cheap tick beside files provable by occ app:list before/after CAN be added to a files-bearing drive, so it is filed as its own follow-up issue #1599 rather than added here (per the ticket's instruction)" }, "summary": "The v2-fleet two-machine drive gains a docs-editing removal tail — a reused #1590 uninstall-from-card leg on a member-device placement whose SAME-leg on-the-box proof (coolwsd not-found via the gateway relay, front door 404 for docs-editing while files still answers) closes the GOTCHAS #207 blind spot #1589/#1590 were only seam-proven against.", "reason": "", "blockers": [], "no_code_change": "" } ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#1595
No description provided.