updates-open: pressing "open updates" on Settings hops the frame to Fleet, unmounting the P4b drill-in the same click opened #1628
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1628
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The failure
The
updates-openleg waits on[data-field="updates-surface-drill-in"](app/tests/e2e/fixtures/updatesDrive.ts:40) and timed out after 30s withelement(s) not found.artifacts/legs.jsonrecordsfounding-prefixandoperator-sessiongreen,updates-openred at 30472ms;artifacts/verdict.jsonnames itfirstRedLegon commit894202119c.No box was available to ask — this run directory carries no
artifacts/live-box.json, so the droplet is gone and the diagnosis below is off the harvested evidence plus a reproduction in the checkout. (The leg is a panel leg, not a roles door leg, so thedebug-rented-services-tail.shre-walk does not apply either.)The evidence
The leg got PAST the affordance gate — the guarded
expectatupdatesDrive.ts:36("Settings DS has no 'open updates' affordance") passed, and the click at line 39 fired. The failing wait is the next line. So the button was there and was pressed.The leg's own snapshot in
artifacts/journey.updates-updates-dr-be4c7-t-list-→-replay-→-real-rail/error-context.mdsays where the click landed — not Settings:That is FleetSurface, with the Settings tab still unpressed in the nav.
The defect
The click is forwarded twice, and the two halves disagree.
SettingsSurface.onRoute(dashboard/src/components/shell/SettingsSurface.vue:160-168) setsupdatesOpen = true, so the drill-in<div data-field="updates-surface-drill-in">atSettingsSurface.vue:21renders — P4b in place over Settings, exactly the DS → P4b-U1 edge its header comment (SettingsSurface.vue:13-20) anddashboard/src/lib/mountRegistry.ts:346-348both describe.SettingsSurface.vue:161), whichDashboardCompositionforwards straight tonavigator.drillIn(dashboard/src/components/DashboardComposition.vue:232).updatesRoutestamps that intentowner: 'provisioning'(dashboard/src/lib/settings.ts:112), and provisioning's RESTING tab is Fleet —OWNER_TAB.provisioning = 'fleet'(dashboard/src/lib/dashboardNavigator.ts:106), where the P4 device-setup journey homes per DDR 0101 §1.drillIntherefore swapped the outlet to FleetSurface and unmounted the Settings surface that had, in the same tick, opened P4b. The drill-in was mounted and destroyed by one click.P4b's home is Settings, and the navigator already records it:
updates: 'settings', commented "provisioning's Updates homes under Settings (DDR 0101 §2, DS → P4b)" (dashboardNavigator.ts:98-100). Theprovisioningowner string is overloaded — it carries both the P4 journey (Fleet, DDR 0101 §1) and the P4b Updates surfaces (Settings, DDR 0101 §2).Why it was never caught
The unit proof mounts
SettingsSurfacealone (dashboard/tests/unit/mountProvisioningUpdates.test.ts:225) — no composition, no navigator — so the tab hop is invisible to it and it asserts the drill-in appears (line 236). #1618's journey is the first drive of this edge through the real frame. The hop is not a regression: it has been there sinceprovisioningfirst enteredOWNER_TAB(f84ccaad, #156, as'services'; re-homed to'fleet'later).The layer
Web dashboard routing —
dashboard/src/lib/dashboardNavigator.ts. Not the harness: the fixture's selector, action and wait are all correct, and the product genuinely does not render the element.The fix
ProductionDashboardNavigator.drillInnow routes the two DS affordances (open-updates,open-update-policy) to the Settings mount — the home DDR 0101 §2 already gave them — alongside the action-keyed cases already in that method (device-add,community-app/design-app, thenetworkin-place mount). 21 non-test lines in one product file.Not fixed here — sibling edges of the same owner overload
Still landing Fleet, deliberately left open: Overview's
review-release(dashboard/tests/fakes/overview.ts:59), and the Updates surface's ownview-signed-source-*,retry-quarantined-*anddrill-in-update-history(SettingsSurface.vue:28-31). The #1618 drive presses none of them, so they do not re-fire this leg; the durable fix for the family is to give P4b its own owner string (updates, whichOWNER_TABalready maps tosettings) and change whatupdatesRoutestamps — that edits the emitted-intent contract asserted atdashboard/tests/unit/settings.test.ts:124-125, so it is a ruling, not a heal.Proposed ruling (Ruled by the healer under ADR 0174 — veto anytime)
Two-way door. The change is a 21-line, single-file edit to
ProductionDashboardNavigator.drillIn—git revertrestores the previous routing exactly, with no migration, no persisted state, no deploy artifact and no secrets touched. It is a mechanical repair, not a design decision: the destination was ALREADY decided and already written down in three places in the tree —SettingsSurface.vue:13-20("P4b opens in place over Settings, edge DS → P4b-U1, DDR 0099 §2 / DDR 0101 §2"),mountRegistry.ts:346-348("The Settings mount homes P4b"), and the navigator's ownupdates: 'settings'entry commented "provisioning's Updates homes under Settings (DDR 0101 §2, DS → P4b)" (dashboardNavigator.ts:98-100). The code simply did not do what it already meant to do, because one owner string serves two homes. I am NOT choosing a new route shape — I am making the router land the route DDR 0101 §2 specifies. Proven by two new composition-level tests indashboard/tests/unit/dashboardComposition.test.tsthat mount the realDashboardCompositionwith the realProductionDashboardNavigator, press each affordance, and assert the frame stays on Settings with the drill-in rendered; the first reproduced the drive's red verbatim before the fix (expected 'fleet' to be 'settings'). No assertion value was edited, no test deleted or skipped, 2 files, well under the cap. Built on the workstation (never the drive host) and closed through the close-report gate — the same gate a swarm worker passes.drive
20260919T131607Zred atupdates-open(sig 7e8181a118ff) — self-fixed on the fast lane, commit6bfde10961d8ddd96d65f338cf7b299e4be02df9; checks:pnpm --filter dashboard exec vitest run tests/unit/dashboardComposition.test.ts— RED first withAssertionError: expected 'fleet' to be 'settings'(the leg's own snapshot, exactly), GREEN after: 30 passed (30). Package testspnpm --filter dashboard exec vitest run— 136 files, 1741 passed | 3 skipped (1744), including the previously-greenmountProvisioningUpdates.test.ts,settings.test.tsandnavigatorDialog.test.ts.. evidence:/home/swarm/swarm/Matou/idss/test-results/private-path/20260919T131607Zon matou-workstation.close-report for #1628 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope