enroll-activate: sig 073c79de3e67 recurs (drive 20260824T013326Z) — #714 still open, kill lands exactly at vmActivatePhaseTimeout on a switch that already finished #742

Closed
opened 2026-08-24 02:33:27 +00:00 by matou-build-agent · 2 comments

Third live recurrence of GOTCHAS #68 / issue #714 (open, labeled deferred) — not a new defect, fresh evidence for the existing one.

Failure. enroll-activate red: founding: the rented server stand-up did not complete (status "blocked"): the node has not come back yet — wait, then re-drive to verify.

Evidence this run (test-results/drive-rented/20260824T013326Z):

  • artifacts/legs.json: the leg ran 2700193ms — 45m00.193s, i.e. it was signal-killed exactly at vmActivatePhaseTimeout (internal/clan/enrollment.go:91), landing in the FailInterrupted → resumable-block path (enrollment.go:1027-1031, remedy text from blockedRemedyInstruction, enrollment.go:1057-1060).
  • logs/droplet-journal.txt:213-267: switch-to-configuration switch actually ran and completed — sshd/networkd/resolved/udevd cleanly restart 01:45:21-25, ~4 minutes into the leg.
  • logs/droplet-do-forensics.txt: hypervisor-side bandwidth collapses to floor by ~01:52 — the transfer/switch work was done long before the kill.
  • logs/droplet-journal.txt:1869-1874: the deploy's own SSH session (session 16, opened 01:41:52) sits idle until the server side itself read-times-out at 02:07:08 — a full 19 minutes before our own ceiling fires the SIGKILL at 02:26:59.
  • logs/droplet-stall.txt: post-kill the box is fully healthy — idle, established SSH, zero failed units.

Suspected layer. internal/clan/enrollment.go's verify() — exactly what #714 already names: clan-core wraps the remote switch in systemd-run --pipe --wait --collect, which survives our local SIGKILL, so the box finishes the switch after we've already conceded the block. FailInterrupted is treated as an immediate resumable block with no probe of the box's actual state.

What plugging it needs. Exactly #714's shape: on FailInterrupted at activate, before conceding, ssh in and compare readlink /run/current-system against the toplevel enroll-build recorded (Enrollment.Toplevel, enrollment.go:182). Equal → the switch finished after our kill, land green. Not equal → concede as today but name the box's actual current system in the remedy instead of the generic "hasn't come back" text. #714 states this is seam-testable against the existing enrollCLI double with no droplet needed.

Recommendation. Do not open a second parallel fix stream — #714 is open, labeled deferred/priority, and was deliberately scoped out of #713's ceiling-widening session under ADR 0174 to avoid blast-radius creep, not overlooked. This filing exists to attach this drive's fresh evidence and unblock #720 (the rented-journey confirmation loop) rather than to restate the diagnosis. A human/triager should link this to #714 and treat closing #714 as what clears this recurrence.

drive 20260824T013326Z red at enroll-activate: journey leg "enroll-activate" went red: founding: the rented server stand-up did not complete (status "blocked"): the node has not come back yet — wait, then re-drive to verify
evidence: test-results/…/20260824T013326Z/ on matou-workstation (legs.json, droplet-journal.txt, trace) — a representative screenshot is attached here if one was captured (#596)

Third live recurrence of GOTCHAS #68 / issue #714 (open, labeled `deferred`) — not a new defect, fresh evidence for the existing one. **Failure.** `enroll-activate` red: `founding: the rented server stand-up did not complete (status "blocked"): the node has not come back yet — wait, then re-drive to verify`. **Evidence this run (`test-results/drive-rented/20260824T013326Z`):** - `artifacts/legs.json`: the leg ran `2700193`ms — 45m00.193s, i.e. it was signal-killed exactly at `vmActivatePhaseTimeout` (`internal/clan/enrollment.go:91`), landing in the `FailInterrupted` → resumable-block path (`enrollment.go:1027-1031`, remedy text from `blockedRemedyInstruction`, `enrollment.go:1057-1060`). - `logs/droplet-journal.txt:213-267`: `switch-to-configuration switch` actually ran and completed — sshd/networkd/resolved/udevd cleanly restart 01:45:21-25, ~4 minutes into the leg. - `logs/droplet-do-forensics.txt`: hypervisor-side bandwidth collapses to floor by ~01:52 — the transfer/switch work was done long before the kill. - `logs/droplet-journal.txt:1869-1874`: the deploy's own SSH session (session 16, opened 01:41:52) sits idle until the *server side* itself read-times-out at 02:07:08 — a full 19 minutes before our own ceiling fires the SIGKILL at 02:26:59. - `logs/droplet-stall.txt`: post-kill the box is fully healthy — idle, established SSH, zero failed units. **Suspected layer.** `internal/clan/enrollment.go`'s `verify()` — exactly what #714 already names: clan-core wraps the remote switch in `systemd-run --pipe --wait --collect`, which survives our local SIGKILL, so the box finishes the switch after we've already conceded the block. `FailInterrupted` is treated as an immediate resumable block with no probe of the box's actual state. **What plugging it needs.** Exactly #714's shape: on `FailInterrupted` at activate, before conceding, ssh in and compare `readlink /run/current-system` against the toplevel `enroll-build` recorded (`Enrollment.Toplevel`, `enrollment.go:182`). Equal → the switch finished after our kill, land green. Not equal → concede as today but name the box's actual current system in the remedy instead of the generic "hasn't come back" text. #714 states this is seam-testable against the existing `enrollCLI` double with no droplet needed. **Recommendation.** Do not open a second parallel fix stream — #714 is open, labeled `deferred`/`priority`, and was deliberately scoped out of #713's ceiling-widening session under ADR 0174 to avoid blast-radius creep, not overlooked. This filing exists to attach this drive's fresh evidence and unblock #720 (the rented-journey confirmation loop) rather than to restate the diagnosis. A human/triager should link this to #714 and treat closing #714 as what clears this recurrence. drive `20260824T013326Z` red at `enroll-activate`: `journey leg "enroll-activate" went red: founding: the rented server stand-up did not complete (status "blocked"): the node has not come back yet — wait, then re-drive to verify` evidence: `test-results/…/20260824T013326Z/` on matou-workstation (legs.json, droplet-journal.txt, trace) — a representative screenshot is attached here if one was captured (#596) <!-- rehearsal-sig: 073c79de3e67 -->
Author
Member

Blocked — not an implementable swarm slice; fresh evidence for deferred #714

Picked up by the swarm (run 9561) as ready-for-agent, but this ticket is, by
its own body, the third live recurrence of GOTCHAS #68 / #714 — fresh
evidence for an existing, still-open defect, not an independent slice. It
carries no manifest/interface/seam of its own; the fix it describes is exactly
#714's completion-probe on FailInterrupted in internal/clan/enrollment.go.

Two things prevent an agent from actioning it here:

  1. #714 is labelled deferred. Per docs/agents/triage-labels.md, agents
    must not pick up deferred issues; the swarm skips them by construction, and
    the deferral was a deliberate ADR 0174 ruling from #713's session (scoped out
    to avoid blast-radius creep, not overlooked). Implementing #714's fix under
    this ticket's claim would be picking up that deferred work through the back
    door.
  2. This ticket explicitly says not to. Its own Recommendation: "Do not open
    a second parallel fix stream — #714 is open... A human/triager should link
    this to #714 and treat closing #714 as what clears this recurrence."

What a human/triager must do to re-arm / resolve:

  • Link #742 → #714 (evidence: test-results/drive-rented/20260824T013326Z on
    matou-workstation — legs.json shows the leg killed at exactly
    vmActivatePhaseTimeout (2700193ms) on a box that had already completed
    switch-to-configuration switch ~4 min in; droplet-journal.txt:213-267).
  • Decide whether this third recurrence + the #720 rented-journey blockage now
    fires #714's revisit criterion — i.e. remove deferred from #714 and
    re-label it ready-for-agent so the swarm can land the completion probe
    (seam-testable against the enrollCLI double, no droplet needed) — or dedup
    #742 into #714 and close this one.

Not a one-way door (the underlying fix is a revertible, seam-testable
internal/clan change), so routing to agent-blocked rather than
ready-for-human. Removing ready-for-agent, adding agent-blocked, and
releasing the run-9561 claim.

## Blocked — not an implementable swarm slice; fresh evidence for deferred #714 Picked up by the swarm (run 9561) as `ready-for-agent`, but this ticket is, by its own body, the **third live recurrence of GOTCHAS #68 / #714** — fresh evidence for an existing, still-open defect, not an independent slice. It carries no manifest/interface/seam of its own; the fix it describes is exactly #714's completion-probe on `FailInterrupted` in `internal/clan/enrollment.go`. Two things prevent an agent from actioning it here: 1. **#714 is labelled `deferred`.** Per `docs/agents/triage-labels.md`, agents must not pick up `deferred` issues; the swarm skips them by construction, and the deferral was a deliberate ADR 0174 ruling from #713's session (scoped out to avoid blast-radius creep, not overlooked). Implementing #714's fix under this ticket's claim would be picking up that deferred work through the back door. 2. **This ticket explicitly says not to.** Its own Recommendation: "Do not open a second parallel fix stream — #714 is open... A human/triager should link this to #714 and treat closing #714 as what clears this recurrence." **What a human/triager must do to re-arm / resolve:** - Link #742 → #714 (evidence: `test-results/drive-rented/20260824T013326Z` on matou-workstation — legs.json shows the leg killed at exactly `vmActivatePhaseTimeout` (2700193ms) on a box that had already completed `switch-to-configuration switch` ~4 min in; droplet-journal.txt:213-267). - Decide whether this third recurrence + the #720 rented-journey blockage now fires #714's revisit criterion — i.e. remove `deferred` from #714 and re-label it `ready-for-agent` so the swarm can land the completion probe (seam-testable against the `enrollCLI` double, no droplet needed) — or dedup #742 into #714 and close this one. Not a one-way door (the underlying fix is a revertible, seam-testable `internal/clan` change), so routing to `agent-blocked` rather than `ready-for-human`. Removing `ready-for-agent`, adding `agent-blocked`, and releasing the run-9561 claim.
Owner

Closed by #714's fix (a9b132c, merge 42c6988): the completion probe this recurrence's evidence called for is landed — an interrupted activate now asks the box whether the switch finished (this drive's journal showed it done ~4 min into the 45 min ceiling) before conceding the block. #720's confirmation loop re-fires on the executor's next tick.

Closed by #714's fix (`a9b132c`, merge `42c6988`): the completion probe this recurrence's evidence called for is landed — an interrupted activate now asks the box whether the switch finished (this drive's journal showed it done ~4 min into the 45 min ceiling) before conceding the block. #720's confirmation loop re-fires on the executor's next tick.
ben closed this issue 2026-08-24 13:19:48 +00:00
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.

Reference
Matou/idss#742
No description provided.