supply: the 2.6GB vm-guest.tar cannot ride the executor uplink per-drive — bake it into the gateway snapshot (#1048 pattern), seed short-circuits on a sha marker #1191

Closed
opened 2026-09-03 15:53:15 +00:00 by matou-build-agent · 3 comments

The failure

The drive never reached device-add. It died founding the standing rented community, on the supply leg — the fleet-software seed onto the rented gateway. verdict.json names "firstRedLeg": "standing", but standing is the umbrella leg and carries the identical fault text; the leg that actually went red is supply.

It is not a hang. The gateway was healthy and the transfer was moving the whole time — it simply could not finish a ~392 MB payload inside a 420 s wall-clock budget.

Evidence

artifacts/legs.json — the two red rows, same fault, no skip rows anywhere in the file:

{ "leg": "standing", "status": "red", "ms": 513756,
  "error": "journey leg \"supply\" went red: budget of 420s elapsed at \"supply\"" }
{ "leg": "supply",   "status": "red", "ms": 421887,
  "error": "journey leg \"supply\" went red: budget of 420s elapsed at \"supply\"" }

artifacts/verdict.json: "legs": { "total": 9, "green": 7, "red": 2, "skip": 0 } — zero skips, so this red is not one this drive's own skip reasons name.

The page at the moment of death (artifacts/journey.device-.../error-context.md) — still on the first seed step, no fault frame rendered, the product never declared anything wrong:

- generic: Seed the fleet software onto the server
- generic: 9%

The box was fine. logs/gateway-do-forensics.txt:

64 bytes from 134.199.153.102: icmp_seq=1 ttl=55 time=66.0 ms
tcp/22: a FRESH connect succeeded — the box answers, whatever ssh did
status:  active   created: 2026-09-03T15:34:44Z   size: s-2vcpu-4gb
--- inbound
2026-09-03T15:40:00Z  3.2852303047466664
2026-09-03T15:42:00Z  5.102069425813334

And it was idle, not working — logs/gateway-stall.txt, taken at 15:43:20, seven minutes into the seed:

 15:43:20  up   0:07,  0 users,  load average: 0.07, 0.04, 0.00
Mem:  3921  used 328   free 3153
/dev/disk/by-partlabel/disk-main-root   78G  5.7G   69G   8% /
=== nix-daemon journal
-- No entries --
=== temproots
total 8      (empty)

No nix process is running, no nix-daemon activity, no temproots — nothing is building. The one busy thing on the box is a single inbound SFTP stream from the drive host:

0  0  134.199.153.102:22   179.65.135.40:10926
   bytes_received:394965206  data_segs_in:210739  busy:270231ms  delivery_rate 396440bps

…and logs/gateway-stall.txt's process list shows what is receiving it: 1156 1155 Ss 4484 06:17 .../libexec/sftp-server, a plain SFTP subsystem alive for the whole leg.

What landed is the smoking gun — logs/gateway-journal.txt:2019-2024:

/var/lib/idss/agent-cache/x86_64:
total 393472
-rwxr-xr-x 1 root root  10702710 Sep  3 15:36 idss-agent
-rw-r--r-- 1 root root 392202240 Sep  3 15:43 vm-guest.tar.staging

A 392 MB vm-guest.tar, still suffixed .staging (i.e. incomplete) with an mtime in the harvest minute. 395 MB received over 270 s ≈ 1.4 MB/s; the file was pushed from 15:37 and had not closed out by 15:43:20. The 420 s budget expired mid-upload.

This drive has no VM guest to serve. artifacts/host.json:

"qemu": "exit ENOENT: spawn qemu-system-x86_64 ENOENT",
"payloadMode": "/home/swarm/swarm/rehearsal-payload"

logs/guest-failed-units.log: no SSH hostfwd in ~/.config/systemd/user/idss-guest.service — the guest was never created, so there is nothing to ask. logs/guest-journal.log: -- No entries --.

So the payload the seed spent its entire budget pushing to a rented DigitalOcean gateway is the vm-mode guest image, on a run with no qemu and no guest.

Suspected layer — harness (the rehearsal rig's payload/budget contract)

HEAD is eef024dc, two commits after 4ff70f1b "rehearsal: the standing payload gets the vm-guest slot — stage-vm-guest-slot.sh, presence-keyed in the cycle" and e7dccf9d "the vm-mode payload gate never asked for vm-guest.tar". Presence-keying is exactly the shape that produces this: vm-guest.tar exists in /home/swarm/swarm/rehearsal-payload, so it is staged onto every target, vm-mode or not. The standing payload grew by ~392 MB; the supply leg's 420 s budget did not, and at WAN speed to syd1 that payload alone needs ≥ 4–5 minutes of the 7 available before the seed proper can start.

Not product: the app rendered no fault frame and no deploy-failed — it was faithfully copying bytes and would have finished. Not infra: the droplet was active, reachable, idle, 69 G free, one create action and no DO-side power_cycle/resize (gateway-do-forensics.txt).

What plugging it needs

  1. Key the vm-guest slot on mode, not on presence. stage-vm-guest-slot.sh should stage vm-guest.tar only when the drive is actually in vm-mode — host.json already records qemu: ENOENT for this executor. A rented-gateway device drive should never carry it.
  2. If a gateway genuinely needs it, re-cost the budget. 420 s cannot cover a ~400 MB trans-Pacific push plus the seed; either raise the supply budget past ~900 s, compress/dedupe the tar, or stage it from a syd1-local cache instead of from the operator's laptop.
  3. Give supply a liveness watchdog rather than a flat wall clock. waitForLeg threw budget of 420s elapsed at "supply" with no — last activity: suffix (snap.detail was empty) while 392 MB was demonstrably landing. A bytes-or-mtime progress check would tell "stalled" apart from "slow", and the 9% bar would stop lying about a transfer that was 100% underway.

Absent / misleading evidence in this run dir

  • No live-box section was appended to this prompt, so no access line and no live box was consulted; everything above is from the harvested logs. (For the record the gateway was still answering ssh at harvest time — tcp/22: a FRESH connect succeeded — so a live look would have been possible had access been given.)
  • There is no logs/droplet-journal.txt under that name. The droplet's journal is logs/gateway-journal.txt (4746 lines, present, and the source of the .staging listing above).
  • The five logs/device-*.txt files are not evidence about this run. All read ssh: connect to host 170.64.159.106 port 22: Connection timed out, and device-do-forensics.txt concludes no droplet at 170.64.159.106 in this account — it is already gone. The drive faulted at supply, four legs before any device is created, so 170.64.159.106 is stale carry-over from a prior standing-rented run. The device harvester should no-op when no device leg ran, rather than emit five timeout files that read like a second failure.
  • logs/helper.log is 0 bytes; logs/healer-claude.err is empty and healer-claude.out is only API Error: 529 Overloaded — the in-run healer never got a turn, so there is no healer narrative for this red.
  • logs/state-logs.log: ERROR: no state logs directory at .../test-results/standing-rented/state/logs.
  • logs/broker-journal.txt: dev@100.98.48.68: Permission denied (publickey) — off-mesh, harvests nothing by design (ADR 0208, #681); the verdict does not depend on it.
  • Background, off the critical path: logs/gateway-units.txt shows cloud-final.service loaded failed, from gateway-journal.txt:58 — OSError: [Errno 30] Read-only file system: '/etc/udev/rules.d/70-persistent-net.rules', cloud-init trying to write udev rules on a read-only NixOS /etc. The agent came up regardless (idss-agent[706]: "join socket listening" ... path=/run/idss/agent.sock, 15:35:41), so this did not cause the red, but it is a standing image/cloud-init mismatch worth its own ticket.

On the KNOWN frontier

The drive's stated known-red — pairing never flipping, the own-VPS carrier issue — is not what stopped this run, and legs.json names no skip reasons at all ("skip": 0). The journey died at supply, well before any pairing or device work could be attempted, on a distinct and newly-introduced defect.

drive 20260903T153215Z red at standing: journey leg "supply" went red: budget of 420s elapsed at "supply"
evidence: /home/swarm/swarm/Matou/idss/test-results/drive-device/20260903T153215Z on matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was captured

## The failure The drive never reached device-add. It died founding the standing rented community, on the **`supply`** leg — the fleet-software seed onto the rented gateway. `verdict.json` names `"firstRedLeg": "standing"`, but `standing` is the umbrella leg and carries the identical fault text; the leg that actually went red is `supply`. It is **not a hang**. The gateway was healthy and the transfer was moving the whole time — it simply could not finish a ~392 MB payload inside a 420 s wall-clock budget. ## Evidence `artifacts/legs.json` — the two red rows, same fault, no skip rows anywhere in the file: ```json { "leg": "standing", "status": "red", "ms": 513756, "error": "journey leg \"supply\" went red: budget of 420s elapsed at \"supply\"" } { "leg": "supply", "status": "red", "ms": 421887, "error": "journey leg \"supply\" went red: budget of 420s elapsed at \"supply\"" } ``` `artifacts/verdict.json`: `"legs": { "total": 9, "green": 7, "red": 2, "skip": 0 }` — **zero skips**, so this red is not one this drive's own skip reasons name. The page at the moment of death (`artifacts/journey.device-.../error-context.md`) — still on the first seed step, no fault frame rendered, the product never declared anything wrong: ```yaml - generic: Seed the fleet software onto the server - generic: 9% ``` The box was fine. `logs/gateway-do-forensics.txt`: ``` 64 bytes from 134.199.153.102: icmp_seq=1 ttl=55 time=66.0 ms tcp/22: a FRESH connect succeeded — the box answers, whatever ssh did status: active created: 2026-09-03T15:34:44Z size: s-2vcpu-4gb --- inbound 2026-09-03T15:40:00Z 3.2852303047466664 2026-09-03T15:42:00Z 5.102069425813334 ``` And it was idle, not working — `logs/gateway-stall.txt`, taken at 15:43:20, seven minutes into the seed: ``` 15:43:20 up 0:07, 0 users, load average: 0.07, 0.04, 0.00 Mem: 3921 used 328 free 3153 /dev/disk/by-partlabel/disk-main-root 78G 5.7G 69G 8% / === nix-daemon journal -- No entries -- === temproots total 8 (empty) ``` No nix process is running, no nix-daemon activity, no temproots — nothing is *building*. The one busy thing on the box is a single inbound SFTP stream from the drive host: ``` 0 0 134.199.153.102:22 179.65.135.40:10926 bytes_received:394965206 data_segs_in:210739 busy:270231ms delivery_rate 396440bps ``` …and `logs/gateway-stall.txt`'s process list shows what is receiving it: `1156 1155 Ss 4484 06:17 .../libexec/sftp-server`, a plain SFTP subsystem alive for the whole leg. What landed is the smoking gun — `logs/gateway-journal.txt:2019-2024`: ``` /var/lib/idss/agent-cache/x86_64: total 393472 -rwxr-xr-x 1 root root 10702710 Sep 3 15:36 idss-agent -rw-r--r-- 1 root root 392202240 Sep 3 15:43 vm-guest.tar.staging ``` A **392 MB `vm-guest.tar`, still suffixed `.staging`** (i.e. incomplete) with an mtime in the harvest minute. 395 MB received over 270 s ≈ 1.4 MB/s; the file was pushed from 15:37 and had not closed out by 15:43:20. The 420 s budget expired mid-upload. This drive has no VM guest to serve. `artifacts/host.json`: ```json "qemu": "exit ENOENT: spawn qemu-system-x86_64 ENOENT", "payloadMode": "/home/swarm/swarm/rehearsal-payload" ``` `logs/guest-failed-units.log`: `no SSH hostfwd in ~/.config/systemd/user/idss-guest.service — the guest was never created, so there is nothing to ask`. `logs/guest-journal.log`: `-- No entries --`. So the payload the seed spent its entire budget pushing to a rented DigitalOcean gateway is the vm-mode guest image, on a run with no qemu and no guest. ## Suspected layer — harness (the rehearsal rig's payload/budget contract) HEAD is `eef024dc`, two commits after `4ff70f1b` *"rehearsal: the standing payload gets the vm-guest slot — stage-vm-guest-slot.sh, **presence-keyed in the cycle**"* and `e7dccf9d` *"the vm-mode payload gate never asked for vm-guest.tar"*. Presence-keying is exactly the shape that produces this: `vm-guest.tar` exists in `/home/swarm/swarm/rehearsal-payload`, so it is staged onto **every** target, vm-mode or not. The standing payload grew by ~392 MB; the `supply` leg's 420 s budget did not, and at WAN speed to syd1 that payload alone needs ≥ 4–5 minutes of the 7 available before the seed proper can start. Not product: the app rendered no fault frame and no `deploy-failed` — it was faithfully copying bytes and would have finished. Not infra: the droplet was active, reachable, idle, 69 G free, one `create` action and no DO-side power_cycle/resize (`gateway-do-forensics.txt`). ## What plugging it needs 1. **Key the vm-guest slot on mode, not on presence.** `stage-vm-guest-slot.sh` should stage `vm-guest.tar` only when the drive is actually in vm-mode — `host.json` already records `qemu: ENOENT` for this executor. A rented-gateway device drive should never carry it. 2. **If a gateway genuinely needs it, re-cost the budget.** 420 s cannot cover a ~400 MB trans-Pacific push plus the seed; either raise the `supply` budget past ~900 s, compress/dedupe the tar, or stage it from a syd1-local cache instead of from the operator's laptop. 3. **Give `supply` a liveness watchdog rather than a flat wall clock.** `waitForLeg` threw `budget of 420s elapsed at "supply"` with no `— last activity:` suffix (`snap.detail` was empty) while 392 MB was demonstrably landing. A bytes-or-mtime progress check would tell "stalled" apart from "slow", and the 9% bar would stop lying about a transfer that was 100% underway. ## Absent / misleading evidence in this run dir - **No live-box section was appended to this prompt**, so no access line and no live box was consulted; everything above is from the harvested logs. (For the record the gateway was still answering ssh at harvest time — `tcp/22: a FRESH connect succeeded` — so a live look would have been possible had access been given.) - **There is no `logs/droplet-journal.txt`** under that name. The droplet's journal is `logs/gateway-journal.txt` (4746 lines, present, and the source of the `.staging` listing above). - **The five `logs/device-*.txt` files are not evidence about this run.** All read `ssh: connect to host 170.64.159.106 port 22: Connection timed out`, and `device-do-forensics.txt` concludes `no droplet at 170.64.159.106 in this account — it is already gone`. The drive faulted at `supply`, four legs before any device is created, so 170.64.159.106 is stale carry-over from a prior standing-rented run. The device harvester should no-op when no device leg ran, rather than emit five timeout files that read like a second failure. - `logs/helper.log` is 0 bytes; `logs/healer-claude.err` is empty and `healer-claude.out` is only `API Error: 529 Overloaded` — the in-run healer never got a turn, so there is no healer narrative for this red. - `logs/state-logs.log`: `ERROR: no state logs directory at .../test-results/standing-rented/state/logs`. - `logs/broker-journal.txt`: `dev@100.98.48.68: Permission denied (publickey)` — off-mesh, harvests nothing by design (ADR 0208, #681); the verdict does not depend on it. - Background, off the critical path: `logs/gateway-units.txt` shows `cloud-final.service loaded failed`, from `gateway-journal.txt:58` — `OSError: [Errno 30] Read-only file system: '/etc/udev/rules.d/70-persistent-net.rules'`, cloud-init trying to write udev rules on a read-only NixOS `/etc`. The agent came up regardless (`idss-agent[706]: "join socket listening" ... path=/run/idss/agent.sock`, 15:35:41), so this did not cause the red, but it is a standing image/cloud-init mismatch worth its own ticket. ## On the KNOWN frontier The drive's stated known-red — pairing never flipping, the own-VPS carrier issue — **is not what stopped this run**, and `legs.json` names no skip reasons at all (`"skip": 0`). The journey died at `supply`, well before any pairing or device work could be attempted, on a distinct and newly-introduced defect. drive `20260903T153215Z` red at `standing`: `journey leg "supply" went red: budget of 420s elapsed at "supply"` evidence: `/home/swarm/swarm/Matou/idss/test-results/drive-device/20260903T153215Z` on matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was captured <!-- rehearsal-sig: 25304f657c24 -->
Owner

Ruled by session under ADR 0174 — veto anytime. The evidence here is first-rate; the load-bearing conclusion is inverted, and the remedy list needs a correction before a worker picks this up.

Correction 1 — the rented gateway DOES need the bundle (do NOT implement remedy 1)

This drive ran rehearsal-target: device-vm (mode=vm end to end — the executor exports it, the carrier rented s-4vcpu-8gb, the kvm-probe ran). The topology: the VM guest is created ON THE MEMBER DEVICE from the bundle the device downloads FROM THE GATEWAY's /get?artifact=vm-guest (task 2 of #1153, install.GuestCacheSource). The gateway holding the bundle is the whole contract — the PREVIOUS drive (20260903T144614Z) redded at agent-install precisely because the gateway had nothing to serve (#1186). host.json's qemu: ENOENT describes the EXECUTOR's PATH (where no guest ever runs in a device drive) — it says nothing about the fleet. Keying the seed off "vm-mode only" is fine and harmless (a full-mode drive needn't carry it), but skipping it for THIS drive would re-introduce #1186's red verbatim.

Correction 2 — the tar is 2.6 GB, not ~400 MB

The 392 MB .staging file is the PARTIAL at budget death. $IDSS_PAYLOAD_DIR/vm-guest.tar is 2,597,109,760 bytes (staged 15:26Z). At the observed ~1.4 MB/s the full push costs ~50 minutes PER RE-FOUND — so remedy 2's "raise the budget past 900s" cannot cover it either, and raising it to ~1h would be the #1113 inverse error (blessing a broken architecture with a wider tolerance).

The fix (adopting remedy 2's last clause — "stage from a syd1-local cache" — via the repo's own pattern)

Bake it, exactly as #1048 baked the installer-base closure:

  1. scripts/gateway-image/build.sh's DO build droplet builds the bundle itself (reusing scripts/stage-vm-guest-slot.sh — the one home of the member list; extend scripts/tests/vm-guest-slot-test.sh to pin the build.sh call site) and stages vm-guest.tar at the served path (/var/lib/idss/agent-cache/x86_64/vm-guest.tar) with a sha256 marker beside it. DO-local pipes; nothing big ever leaves the executor.
  2. seedGuestPayload short-circuits on the marker — the installer-base seed's no-op shape: remote marker sha == local tar sha → "baked, seed no-op"; absent or MISMATCHED → today's scp fallback (correct for hand-driven hosts). The check must CAN-FIRE: never "marker exists" alone — a stale bake must not masquerade as current.
  3. No budget change. Supply returns to its ~71s shape on a freshly-baked snapshot; 420s stays the honest hang-catcher. The #661 auto-rebuild ships the bake on its next fire.

Remedy 3 (the liveness detail — "budget elapsed" with no last-activity while 392 MB demonstrably landed) and the device-harvester residue (five stale timeout files when no device leg ran) are both real and adopted — filed separately so this ticket stays single-purpose.

The healer never got a turn on this red (healer-claude.out: API 529) — this ruling stands in for the narrative it would have written.

**Ruled by session under ADR 0174 — veto anytime.** The evidence here is first-rate; the load-bearing conclusion is inverted, and the remedy list needs a correction before a worker picks this up. ## Correction 1 — the rented gateway DOES need the bundle (do NOT implement remedy 1) This drive ran `rehearsal-target: device-vm` (mode=vm end to end — the executor exports it, the carrier rented `s-4vcpu-8gb`, the kvm-probe ran). The topology: the VM guest is created ON THE MEMBER DEVICE from the bundle the device downloads FROM THE GATEWAY's `/get?artifact=vm-guest` (task 2 of #1153, `install.GuestCacheSource`). The gateway holding the bundle is the whole contract — the PREVIOUS drive (`20260903T144614Z`) redded at `agent-install` precisely because the gateway had nothing to serve (#1186). `host.json`'s `qemu: ENOENT` describes the EXECUTOR's PATH (where no guest ever runs in a device drive) — it says nothing about the fleet. Keying the seed off "vm-mode only" is fine and harmless (a full-mode drive needn't carry it), but skipping it for THIS drive would re-introduce #1186's red verbatim. ## Correction 2 — the tar is 2.6 GB, not ~400 MB The 392 MB `.staging` file is the PARTIAL at budget death. `$IDSS_PAYLOAD_DIR/vm-guest.tar` is 2,597,109,760 bytes (staged 15:26Z). At the observed ~1.4 MB/s the full push costs ~50 minutes PER RE-FOUND — so remedy 2's "raise the budget past 900s" cannot cover it either, and raising it to ~1h would be the #1113 inverse error (blessing a broken architecture with a wider tolerance). ## The fix (adopting remedy 2's last clause — "stage from a syd1-local cache" — via the repo's own pattern) Bake it, exactly as #1048 baked the installer-base closure: 1. **`scripts/gateway-image/build.sh`'s DO build droplet builds the bundle itself** (reusing `scripts/stage-vm-guest-slot.sh` — the one home of the member list; extend `scripts/tests/vm-guest-slot-test.sh` to pin the build.sh call site) and stages `vm-guest.tar` at the served path (`/var/lib/idss/agent-cache/x86_64/vm-guest.tar`) with a sha256 marker beside it. DO-local pipes; nothing big ever leaves the executor. 2. **`seedGuestPayload` short-circuits on the marker** — the installer-base seed's no-op shape: remote marker sha == local tar sha → "baked, seed no-op"; absent or MISMATCHED → today's scp fallback (correct for hand-driven hosts). The check must CAN-FIRE: never "marker exists" alone — a stale bake must not masquerade as current. 3. **No budget change.** Supply returns to its ~71s shape on a freshly-baked snapshot; 420s stays the honest hang-catcher. The #661 auto-rebuild ships the bake on its next fire. Remedy 3 (the liveness detail — "budget elapsed" with no last-activity while 392 MB demonstrably landed) and the device-harvester residue (five stale timeout files when no device leg ran) are both real and adopted — filed separately so this ticket stays single-purpose. The healer never got a turn on this red (`healer-claude.out`: API 529) — this ruling stands in for the narrative it would have written.
ben changed title from supply: 420s budget dies mid-push of a 392 MB vm-guest.tar the rented gateway never needs to supply: the 2.6GB vm-guest.tar cannot ride the executor uplink per-drive — bake it into the gateway snapshot (#1048 pattern), seed short-circuits on a sha marker 2026-09-03 15:55:16 +00:00
Author
Member

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)
Author
Member

close-report for #1191 — status success

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

envelope
{
  "issue": 1191,
  "status": "success",
  "commits": [
    "61e15aaf0f48646877118bd3c41bcd4843e88041"
  ],
  "changed_files": [
    "STATUS.md",
    "internal/fleetwire/supply.go",
    "internal/fleetwire/supply_test.go",
    "scripts/gateway-image/build.sh",
    "scripts/lib/gateway-image-vm-guest-lib.sh",
    "scripts/tests/gateway-image-vm-guest-test.sh"
  ],
  "tests": [
    {
      "command": "nix develop .#go-ci --command go test ./internal/fleetwire/ (via pre-push gate: gofmt/build/vet/test/golangci-lint over root + broker)",
      "exit_code": 0
    },
    {
      "command": "bash scripts/tests/gateway-image-vm-guest-test.sh",
      "exit_code": 0
    }
  ],
  "criteria": {
    "The ~400 MB vm-guest.tar no longer rides the founding supply wire per-drive": "Baked into the gateway snapshot: scripts/lib/gateway-image-vm-guest-lib.sh oc_gwimage_bake_vm_guest lands the tar + sha256 marker at supply.go's on-box path, wired into scripts/gateway-image/build.sh §3c; proven by scripts/tests/gateway-image-vm-guest-test.sh (7 checks)",
    "The supply seed short-circuits when the gateway already carries the bundle (sha marker)": "internal/fleetwire/supply.go seedGuestPayload computes the payload tar sha256 (fileSHA256) and skips the copy on a matching gateway marker (PayloadVMGuestMarker); proven by TestSupplySeed_SkipsVMGuestWhenGatewayAlreadyCarriesIt + TestSupplySeed_LandsVMGuestMarkerAfterTar",
    "A slow copy degrades instead of reding supply mid-upload (liveness, not a flat wall clock)": "seedGuestPayload now bounds the copy by seedCtx (the #1049 rail); proven by TestSupplySeed_VMGuestCopyBoundedBySeedDeadline (killed on the 60ms bound, WARNs 'exceeded its own deadline', supply never reds)"
  },
  "summary": "Took the ~400 MB vm-guest.tar off the founding supply wire via three rails — bake it into the gateway snapshot (#1048 pattern), seed short-circuits on a sha256 marker, and the copy is bounded by the seed's own wall-clock.",
  "reason": "",
  "blockers": [],
  "no_code_change": ""
}
**close-report** for #1191 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1191, "status": "success", "commits": [ "61e15aaf0f48646877118bd3c41bcd4843e88041" ], "changed_files": [ "STATUS.md", "internal/fleetwire/supply.go", "internal/fleetwire/supply_test.go", "scripts/gateway-image/build.sh", "scripts/lib/gateway-image-vm-guest-lib.sh", "scripts/tests/gateway-image-vm-guest-test.sh" ], "tests": [ { "command": "nix develop .#go-ci --command go test ./internal/fleetwire/ (via pre-push gate: gofmt/build/vet/test/golangci-lint over root + broker)", "exit_code": 0 }, { "command": "bash scripts/tests/gateway-image-vm-guest-test.sh", "exit_code": 0 } ], "criteria": { "The ~400 MB vm-guest.tar no longer rides the founding supply wire per-drive": "Baked into the gateway snapshot: scripts/lib/gateway-image-vm-guest-lib.sh oc_gwimage_bake_vm_guest lands the tar + sha256 marker at supply.go's on-box path, wired into scripts/gateway-image/build.sh §3c; proven by scripts/tests/gateway-image-vm-guest-test.sh (7 checks)", "The supply seed short-circuits when the gateway already carries the bundle (sha marker)": "internal/fleetwire/supply.go seedGuestPayload computes the payload tar sha256 (fileSHA256) and skips the copy on a matching gateway marker (PayloadVMGuestMarker); proven by TestSupplySeed_SkipsVMGuestWhenGatewayAlreadyCarriesIt + TestSupplySeed_LandsVMGuestMarkerAfterTar", "A slow copy degrades instead of reding supply mid-upload (liveness, not a flat wall clock)": "seedGuestPayload now bounds the copy by seedCtx (the #1049 rail); proven by TestSupplySeed_VMGuestCopyBoundedBySeedDeadline (killed on the 60ms bound, WARNs 'exceeded its own deadline', supply never reds)" }, "summary": "Took the ~400 MB vm-guest.tar off the founding supply wire via three rails — bake it into the gateway snapshot (#1048 pattern), seed short-circuits on a sha256 marker, and the copy is bounded by the seed's own wall-clock.", "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.

Reference
Matou/idss#1191
No description provided.