remove-device red on drive 20260901T205618Z is already fixed on main — the drive ran a commit that predates its own fix #1133
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
2 participants
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#1133
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?
Failure
Drive
20260901T205618Z(targetdevice) reached 29/30 green and red atremove-device:Signature
0be66b4eb38d.artifacts/verdict.jsonrecordsfirstRedLeg: remove-device,commit: b0d402bcf4f211d02ceb5af200e7ef06746c53ee.Diagnosis (confirmed against the trace, not just the code)
The leg opened on a Nextcloud page. The
oidc-loginleg immediately above drives the shareddashpage to the files door and never navigates back:app/tests/e2e/journey.device.spec.ts:873—await dash.goto(doorPath(door, '/login'), ...)app/tests/e2e/journey.device.spec.ts:874—oidcSignInAsOperator(dash, door, ...)app/tests/e2e/journey.device.spec.ts:875—assertOperatorIsAdmin(dash, door)remove-devicethen inherited that surface and clicked for the dashboard's Fleet tab there until the 300s action ceiling.Decisive evidence — the
dashcontext's final actions inartifacts/journey.device-device-add--809eb-e-standing-rented-community/trace.zip,1-trace.trace:goto https://files.rehearsal-e.idss.nz/logingoto https://files.rehearsal-e.idss.nz/settings/adminclick [data-action="tab-fleet"], timeout 300000The product is fine:
oidc-loginwent green — the operator really is a Nextcloud admin through the community IdP.Caveat for whoever reads this next:
error-context.md's "Page snapshot" shows the operator ceremony window ("Rehearsal E is alive.", "Save your recovery kit"), not the Nextcloud pagedashwas actually on. It snapshots a different page in the context. Diagnosing fromerror-context.mdalone points at the wrong surface; the trace is the reliable record.Suspected layer
Drive harness (the Playwright journey spec), not product code. No IDSS service, no droplet state, no infra fault is implicated. All box-side evidence is clean: no failed units of note in
logs/device-units.txt,logs/device-stall.txtshows an idle healthy box (load 0.00, 70G free), andlogs/device-do-forensics.txtshows a singlecreateaction with no DO-side power_cycle/resize.What plugging it needs — nothing; re-drive
The fix is already on
main. Commitbb99c596("drive: #1132 — remove-device opens its own surface: come back from Nextcloud, and drill in the PROVISIONED way") landed after the drive's commitb0d402bcand addresses exactly this. The healer verified each element of it at HEAD rather than trusting the commit message:app/tests/e2e/journey.device.spec.ts:897-899— the leg now doesdash.goto(portalAddress, { waitUntil: 'domcontentloaded' })and waits for[data-status="dashboard-chrome"], establishing its own starting surface instead of inheriting the previous leg's. This is the same pattern thestandingleg already uses at:420-422.app/tests/e2e/journey.device.spec.ts:906—openNodeSurface(dash, { deviceId, provisioned: true })replacesopenDeviceSetup. This is correct:nodeSurfaceRoute(dashboard/src/lib/fleet.ts:136) returnschange-node-<id>for a provisioned node andset-up-<id>otherwise, and by this leg the device is provisioned —deploy-takeoverandfiles-doorwere both green, and the trace shows[data-field="active"] >> [data-service="files"]resolving at t=2315730.Symbols the fix depends on all resolve at HEAD:
portalAddress(:211),CEILING.standing(:96),openNodeSurfaceimported (:22).Checks run on this machine at HEAD
bb99c596:pnpm --filter app exec vitest run tests/e2e/fixtures— 244 passed (15 files)pnpm exec tsc -p tsconfig.json --noEmit— no errors injourney.device.spec.ts(the only two diagnostics are pre-existingAppUpdateSurface.vue-import errors insrc/bootstrap.ts:40andtests/unit/appShell.test.ts:5, unrelated to this spec)Action: re-drive at current
main. No code change is required, and no new commit should be made for this signature — a healer that "fixes" it again would duplicatebb99c596.Secondary observation (not the red, no change made)
app/tests/e2e/journey.device.spec.ts:909clicks[data-action="remove-device"]with no explicit timeout, so it inherits the 300s action ceiling. The equivalent call inwalkOffNodeat:1024passes{ timeout: CEILING.assess }precisely so a missing surface control fails fast rather than burning five minutes. Worth aligning opportunistically, but it is a fast-fail nit, not a cause of any observed red — filed here only so it is not rediscovered.Evidence absent from the run directory
droplet-journal.txt— not written; this drive harvestslogs/device-journal.txtandlogs/gateway-journal.txtinstead.state/logs— absent;logs/state-logs.logrecords theENOENT.logs/broker-journal.txt— harvest failed (dev@100.98.48.68: Permission denied (publickey)), documented as off-mesh and not affecting the verdict (#681).remove-devicethrew before thereapleg, and theafterAllteardown fallback (app/tests/e2e/journey.device.spec.ts:245-269) covers it. Not a fault.drive
20260901T205618Zred atremove-device:locator.click: Timeout 300000ms exceeded. Call log: - waiting for locator('[data-action="tab-fleet"]')evidence:
/home/swarm/swarm/Matou/idss/test-results/drive-device/20260901T205618Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedConfirmed — closing, nothing to implement.
The
remove-devicered on drive20260901T205618Zisbb99c596(#1132), which landed while that drive was mid-flight: the cycle had synced main about a minute before the push, so it drove one commit behind and hit the same wall.For the record, that run is the arc's deepest — 29 of 30 green, with
deploy-takeover,files-doorandoidc-loginall green, the last two for the first time. The red was a leg-boundary fault, not a product one:oidc-logindrives the shareddashpage to Nextcloud (deliberately — it needs the live kanidm session) and never navigates back, soremove-devicehunted the dashboard's Fleet tab on a Nextcloud page until the 300s ceiling. #1132 has the leg open its own surface, and drill in the provisioned way (change-node-<id>, not theset-up-<id>a provisioned row never offers — the #1043/#1044 lesson).The drive host is now on
bb99c596. Closing so #854 unparks; the next cycle runsremove-deviceandreapfor the first time.