rehearsal: red-path evidence quality — supply budget-death carries live progress; device harvester no-ops when no device leg ran #1192

Closed
opened 2026-09-03 15:55:19 +00:00 by ben · 19 comments
Owner

Two red-path evidence-quality residues from drive 20260903T153215Z (#1191's secondary findings, adopted)

  1. Supply liveness detail: waitForLeg threw budget of 420s elapsed at "supply" with NO — last activity: suffix (snap.detail empty) while 392 MB was demonstrably landing on the gateway. A bytes-or-mtime progress detail in the budget-death message tells "stalled" from "slow", and the seed step's % bar should reflect transfer progress, not sit at 9%.
  2. Device harvester no-op: the drive faulted at supply, four legs before any device exists, yet the run dir carries five logs/device-*.txt files that all read connect timed out against a STALE IP from a prior run — evidence that reads like a second failure. The harvester should no-op (one honest line: "no device leg ran") when OC_E2E_DEVICE_IP was never exported this run.

Both are harness-side (journey fixtures + evidence harvest lib). Origin: #1191.

## Two red-path evidence-quality residues from drive `20260903T153215Z` (#1191's secondary findings, adopted) 1. **Supply liveness detail**: `waitForLeg` threw `budget of 420s elapsed at "supply"` with NO `— last activity:` suffix (`snap.detail` empty) while 392 MB was demonstrably landing on the gateway. A bytes-or-mtime progress detail in the budget-death message tells "stalled" from "slow", and the seed step's % bar should reflect transfer progress, not sit at 9%. 2. **Device harvester no-op**: the drive faulted at `supply`, four legs before any device exists, yet the run dir carries five `logs/device-*.txt` files that all read `connect timed out` against a STALE IP from a prior run — evidence that reads like a second failure. The harvester should no-op (one honest line: "no device leg ran") when `OC_E2E_DEVICE_IP` was never exported this run. Both are harness-side (journey fixtures + evidence harvest lib). Origin: #1191.

swarm-claim host=elitebook-distributed-server-03 run=17205
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=17205 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=17207
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=17207 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=17207
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=17207 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=17247
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=17247 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=17247
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=17247 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=17247
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=17247 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=17272
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=17272 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=17272
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=17272 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=17274
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=17274 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=17278
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=17278 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=17278
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=17278 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=17286
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=17286 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=17293
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=17293 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=17293
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=17293 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=17293
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=17293 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=17300
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=17300 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=17300
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=17300 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=17304
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=17304 (automated multi-host claim — lowest live claim id works this ticket)

close-report for #1192 — status success

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

envelope
{
  "issue": 1192,
  "status": "success",
  "commits": [
    "5d49358a09b9056695cbbd527e81dd5ebd0fd8ec"
  ],
  "changed_files": [
    "app/tests/e2e/fixtures/journey.ts",
    "app/tests/e2e/fixtures/journey.test.ts",
    "scripts/lib/rehearsal-droplet.sh",
    "scripts/smoke-private-path.sh",
    "scripts/tests/device-evidence-order-test.sh",
    "STATUS.md"
  ],
  "tests": [
    {
      "command": "CI=true pnpm exec vitest run tests/e2e/fixtures/journey.test.ts (in app/)",
      "exit_code": 0
    },
    {
      "command": "bash scripts/tests/device-evidence-order-test.sh",
      "exit_code": 0
    },
    {
      "command": "bash scripts/tests/droplet-evidence-order-test.sh",
      "exit_code": 0
    },
    {
      "command": "bash scripts/tests/rehearsal-device-target-test.sh",
      "exit_code": 0
    },
    {
      "command": "bash scripts/tests/rehearsal-rented-target-test.sh",
      "exit_code": 0
    },
    {
      "command": "pnpm exec vue-tsc -p tsconfig.json --noEmit (in app/)",
      "exit_code": 0
    }
  ],
  "criteria": {
    "Supply liveness detail: budget-death message carries a progress/liveness detail so a stalled leg reads differently from a slow one": "journey.ts adds newLiveness/foldLiveness/budgetDeathReason tracking the last advance across waitForLeg's poll loop; the death line now carries bar %, last activity, and 'last advanced Ns ago'. Proven by journey.test.ts (SLOW=20s-ago vs STALLED=410s-ago), 7->15 checks.",
    "Device harvester no-ops (one honest line 'no device leg ran') when OC_E2E_DEVICE_IP was never exported this run": "oc_device_evidence now sources the device IP from a run-scoped artifacts/device-ip.txt instead of the ambient env var (which leaks across drives); absent -> 'no device leg ran this run (no artifacts/device-ip.txt) — skipping the device harvest'. smoke-private-path.sh writes that artifact right after oc_device_create. Proven by device-evidence-order-test.sh test 4 (stale OC_E2E_DEVICE_IP set, no artifact -> no device-*.txt, honest line) and test 6b (smoke-wiring order), 9->12 checks."
  },
  "summary": "Budget-death fault lines now carry leg liveness (stalled vs slow), and the device harvest no-ops on a run that never rented a device instead of dialling a stale IP.",
  "reason": "Both harness-side residues from #1191 fixed and proven at their offline seams; app-side % bar is out of the issue's stated harness-side scope.",
  "blockers": []
}
**close-report** for #1192 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1192, "status": "success", "commits": [ "5d49358a09b9056695cbbd527e81dd5ebd0fd8ec" ], "changed_files": [ "app/tests/e2e/fixtures/journey.ts", "app/tests/e2e/fixtures/journey.test.ts", "scripts/lib/rehearsal-droplet.sh", "scripts/smoke-private-path.sh", "scripts/tests/device-evidence-order-test.sh", "STATUS.md" ], "tests": [ { "command": "CI=true pnpm exec vitest run tests/e2e/fixtures/journey.test.ts (in app/)", "exit_code": 0 }, { "command": "bash scripts/tests/device-evidence-order-test.sh", "exit_code": 0 }, { "command": "bash scripts/tests/droplet-evidence-order-test.sh", "exit_code": 0 }, { "command": "bash scripts/tests/rehearsal-device-target-test.sh", "exit_code": 0 }, { "command": "bash scripts/tests/rehearsal-rented-target-test.sh", "exit_code": 0 }, { "command": "pnpm exec vue-tsc -p tsconfig.json --noEmit (in app/)", "exit_code": 0 } ], "criteria": { "Supply liveness detail: budget-death message carries a progress/liveness detail so a stalled leg reads differently from a slow one": "journey.ts adds newLiveness/foldLiveness/budgetDeathReason tracking the last advance across waitForLeg's poll loop; the death line now carries bar %, last activity, and 'last advanced Ns ago'. Proven by journey.test.ts (SLOW=20s-ago vs STALLED=410s-ago), 7->15 checks.", "Device harvester no-ops (one honest line 'no device leg ran') when OC_E2E_DEVICE_IP was never exported this run": "oc_device_evidence now sources the device IP from a run-scoped artifacts/device-ip.txt instead of the ambient env var (which leaks across drives); absent -> 'no device leg ran this run (no artifacts/device-ip.txt) — skipping the device harvest'. smoke-private-path.sh writes that artifact right after oc_device_create. Proven by device-evidence-order-test.sh test 4 (stale OC_E2E_DEVICE_IP set, no artifact -> no device-*.txt, honest line) and test 6b (smoke-wiring order), 9->12 checks." }, "summary": "Budget-death fault lines now carry leg liveness (stalled vs slow), and the device harvest no-ops on a run that never rented a device instead of dialling a stale IP.", "reason": "Both harness-side residues from #1191 fixed and proven at their offline seams; app-side % bar is out of the issue's stated harness-side scope.", "blockers": [] } ``` </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#1192
No description provided.