matou-dev-server-01 (the last green pool host) is at 98% / 6.7 GB free — ~74 GB of per-commit app-build-<sha> + payload-manual-<sha> scratch in /home/dev has no retention sweep, so matou-workstation is next for #2174/#2076s ENOSPC #2175

Open
opened 2026-11-06 13:08:34 +00:00 by matou-build-agent · 7 comments

Filed by the healer (heal-Matou-idss-1793970168-1190178, watchdog pass of 2026-11-06 13:02 UTC, signature 0990ca97e6aa, workflow swarm, kind always-red, evidence /tmp/matou-heal-Matou-idss.8QoK6P, swarm lock free). No repair attempted — clearing this is rm -rf outside /tmp and a docker cache prune, both outside the healer's charter, and the big items are a human's own build scratch. Hence ready-for-human.

Found while diagnosing #2174 (bens-mac-04 wedged on ENOSPC since ~21:02 UTC 2026-11-05, now ~16 h). With bens-mac-04 dead at workflow prepared and elitebook-03 carrying #2076/#2057, matou-workstation is the only pool host still answering — and its root filesystem is at 98%.

Ground truth

host.txt from this pass, on matou-dev-server-01 (the box that wears the matou-workstation runner label, runner 4ff4a71f-283a-41d7-8063-3bd52f91f633):

Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1       232G  225G  6.7G  98% /

/home/dev is 152 GB of the 225 GB. The two largest families are per-commit build scratch with no retention sweep:

4.9G  /home/dev/payload-manual-15b0a2eb      12G  /home/dev/app-build-15b0a2eb
4.9G  /home/dev/payload-manual-4b82cfc9      12G  /home/dev/app-build-a4c8c72f
4.9G  /home/dev/payload-manual-a4c8c72f      12G  /home/dev/app-build-b749b064
4.9G  /home/dev/payload-manual-b749b064      12G  /home/dev/app-build-d6578ff7
4.9G  /home/dev/payload-manual-d6578ff7
4.9G  /home/dev/payload-manual-e397dd50

10 directories, ~74 GB, mtimes 2026-11-02 23:42 → 2026-11-04 17:35. Every suffix resolves to a real commit on main from that window (15b0a2eb, a4c8c72f, b749b064, d6578ff7, 4b82cfc9, e397dd50) — i.e. one dir per operator-app build cut during the #2166/#2167 arc. Each app-build-<sha> is a full repo checkout; each payload-manual-<sha> carries a nixos-guest.qcow2, so this is GOTCHAS #259's shape (multi-GB guest disks kept per run) with a different producer. Nothing in this repo creates these names — grep -rn 'payload-manual\|app-build-' hits only GOTCHAS #317, which describes scripts/assemble-payload.sh writing into a payload-manual-… dest — so the loop that made them runs by hand, outside the repo, and has no --keep N.

Next largest, both reclaimable without a decision:

docker: Build Cache 18.75GB total / 7.441GB reclaimable;  Images 18.4GB / 7.611GB reclaimable
/home/dev/.cache/go-build  9.6G

Why it matters now

swarm.yml pins one leg per host (host: [matou-workstation, elitebook-03, bens-mac-04]), and triage.yml / resume-asks.yml / ci.yml share the swarm pool label that all three runners carry. In this pass's window (10:09–13:00 UTC) swarm (matou-workstation) was 18/18 green and swarm (bens-mac-04) 18/18 red. If this host reaches 0 bytes the way elitebook-03 did in #2076 and bens-mac-04 did in #2174, every scheduled tick in every repo on this Forgejo reds instantly at workflow prepared, with no host left to retry on. 6.7 GB is less than one app-build-<sha>.

What a human should do

  1. Drop the ended build scratch in /home/dev — the payload-manual-* guest disks are scratch, not evidence (GOTCHAS #259's rule), and app-build-<sha> is a re-creatable checkout. Keep the newest if a build is mid-flight; app-build-a4c8c72f / payload-manual-a4c8c72f are the newest (2026-11-04 17:35). ~74 GB → 32% free.
  2. docker builder prune + docker image prune on the rootful socket (#2076's lesson: /etc/cron.d/swarm-prune on the sibling hosts still points at the rootless socket, so 77 nightly prunes reclaimed 0B — check this host's cron points at the right socket while you are here). ~15 GB.
  3. Give the app-build loop a retention bound (--keep N, sweeping the guest disk at build end, green and red) so this does not re-accrue. That is the #259 rule applied to a second producer, and is the only part of this that is a code fix.
  4. The underlying outage is #2174 — this ticket is the next domino, not that one.

Related: #2174 (bens-mac-04 full, live), #2076 (elitebook-03 full, prune cron on the wrong socket), #2057 (elitebook-03 degraded), #2045 (the healer bills one investigation per workflow name while a host stays wedged), GOTCHAS #259 / #317.

Filed by the healer (`heal-Matou-idss-1793970168-1190178`, watchdog pass of 2026-11-06 13:02 UTC, signature `0990ca97e6aa`, workflow `swarm`, kind `always-red`, evidence `/tmp/matou-heal-Matou-idss.8QoK6P`, swarm lock `free`). **No repair attempted** — clearing this is `rm -rf` outside `/tmp` and a `docker` cache prune, both outside the healer's charter, and the big items are a human's own build scratch. Hence `ready-for-human`. Found while diagnosing #2174 (bens-mac-04 wedged on ENOSPC since ~21:02 UTC 2026-11-05, now ~16 h). With bens-mac-04 dead at `workflow prepared` and elitebook-03 carrying #2076/#2057, **`matou-workstation` is the only pool host still answering** — and its root filesystem is at 98%. ## Ground truth `host.txt` from this pass, on `matou-dev-server-01` (the box that wears the `matou-workstation` runner label, runner `4ff4a71f-283a-41d7-8063-3bd52f91f633`): ``` Filesystem Size Used Avail Use% Mounted on /dev/vda1 232G 225G 6.7G 98% / ``` `/home/dev` is 152 GB of the 225 GB. The two largest families are per-commit build scratch with no retention sweep: ``` 4.9G /home/dev/payload-manual-15b0a2eb 12G /home/dev/app-build-15b0a2eb 4.9G /home/dev/payload-manual-4b82cfc9 12G /home/dev/app-build-a4c8c72f 4.9G /home/dev/payload-manual-a4c8c72f 12G /home/dev/app-build-b749b064 4.9G /home/dev/payload-manual-b749b064 12G /home/dev/app-build-d6578ff7 4.9G /home/dev/payload-manual-d6578ff7 4.9G /home/dev/payload-manual-e397dd50 ``` 10 directories, **~74 GB**, mtimes 2026-11-02 23:42 → 2026-11-04 17:35. Every suffix resolves to a real commit on `main` from that window (`15b0a2eb`, `a4c8c72f`, `b749b064`, `d6578ff7`, `4b82cfc9`, `e397dd50`) — i.e. one dir per operator-app build cut during the #2166/#2167 arc. Each `app-build-<sha>` is a full repo checkout; each `payload-manual-<sha>` carries a `nixos-guest.qcow2`, so this is **GOTCHAS #259's shape** (multi-GB guest disks kept per run) with a different producer. Nothing in this repo creates these names — `grep -rn 'payload-manual\|app-build-'` hits only GOTCHAS #317, which describes `scripts/assemble-payload.sh` writing into a `payload-manual-…` dest — so the loop that made them runs by hand, outside the repo, and has no `--keep N`. Next largest, both reclaimable without a decision: ``` docker: Build Cache 18.75GB total / 7.441GB reclaimable; Images 18.4GB / 7.611GB reclaimable /home/dev/.cache/go-build 9.6G ``` ## Why it matters now `swarm.yml` pins one leg per host (`host: [matou-workstation, elitebook-03, bens-mac-04]`), and `triage.yml` / `resume-asks.yml` / `ci.yml` share the `swarm` pool label that all three runners carry. In this pass's window (10:09–13:00 UTC) `swarm (matou-workstation)` was **18/18 green** and `swarm (bens-mac-04)` **18/18 red**. If this host reaches 0 bytes the way elitebook-03 did in #2076 and bens-mac-04 did in #2174, **every** scheduled tick in every repo on this Forgejo reds instantly at `workflow prepared`, with no host left to retry on. 6.7 GB is less than one `app-build-<sha>`. ## What a human should do 1. Drop the ended build scratch in `/home/dev` — the `payload-manual-*` guest disks are scratch, not evidence (GOTCHAS #259's rule), and `app-build-<sha>` is a re-creatable checkout. Keep the newest if a build is mid-flight; `app-build-a4c8c72f` / `payload-manual-a4c8c72f` are the newest (2026-11-04 17:35). ~74 GB → 32% free. 2. `docker builder prune` + `docker image prune` on the **rootful** socket (#2076's lesson: `/etc/cron.d/swarm-prune` on the sibling hosts still points at the rootless socket, so 77 nightly prunes reclaimed `0B` — check this host's cron points at the right socket while you are here). ~15 GB. 3. Give the app-build loop a retention bound (`--keep N`, sweeping the guest disk at build end, green and red) so this does not re-accrue. That is the #259 rule applied to a second producer, and is the only part of this that is a code fix. 4. The underlying outage is #2174 — this ticket is the *next* domino, not that one. **Related:** #2174 (bens-mac-04 full, live), #2076 (elitebook-03 full, prune cron on the wrong socket), #2057 (elitebook-03 degraded), #2045 (the healer bills one investigation per workflow name while a host stays wedged), GOTCHAS #259 / #317.
Author
Member

Recurrence — same signature 0990ca97e6aa, +7 h (healer heal-Matou-idss-1793995383-2281635)

Watchdog pass of 2026-11-06 20:02 UTC, workflow swarm, kind always-red, evidence /tmp/matou-heal-Matou-idss.ldEycl on matou-dev-server-01, swarm lock free. No repair attempted — unchanged from this ticket's filing: the 74 GB is rm -rf outside /tmp plus a docker build-cache prune, both outside the healer's charter, and it is a human's own build scratch. Still ready-for-human.

Nothing in the picture has improved; the three numbers that moved:

at filing (13:02 UTC) now (20:02 UTC)
/ on this host (host.txt) 225G used / 6.7G free / 98% 225G used / 6.5G free / 98%
bens-mac-04 wedged for ~16 h ~23 h
swarm legs in the 50-run window — 17/17 bens-mac-04 red, 18/18 matou-workstation green

What the always-red actually is

It is #2174's ENOSPC verbatim, not a new fault. job-log.txt for run 61356 — the bens-mac-04 leg (task 280229, runner 73a6cc98-3960-4a27-ac53-0c3890c73887) dies before step one:

2026-11-06T19:54:13Z Runner 73a6cc98-3960-4a27-ac53-0c3890c73887 (version:v12.13.1) received task 280229 of job swarm, triggered by event: workflow_dispatch
2026-11-06T19:54:13Z workflow prepared
2026-11-06T19:54:13Z mkdir /home/swarm/.cache/act/87e35723539162d4: no space left on device

The matou-workstation leg of the same run (task 280231, this host) is fully green — all 10 preflight guards fired, run-swarm: no ready tasks, 🏁 Job succeeded. So the swarm workflow is red purely because one matrix leg's host cannot create a directory; the fleet still has exactly one working pool host, as this ticket predicted.

Nothing left in charter to reclaim here

Checked on matou-dev-server-01 this pass, so the next healer need not re-measure:

  • /tmp is 3.4 GB total (20,813 entries, the largest single item a 1.4 GB matou-test-backend.log). Even a clean sweep of the one directory the charter does allow buys ~3 GB against a 74 GB problem — it would not clear 98%.
  • No leaked factory containers. All 30 running containers are long-lived production services (zitadel, garage, any-sync, keria, uptime-kuma, …); none carries a matou.factory label, so the sweep has nothing to reap and none of them is the disk.
  • Docker is unchanged from this ticket's measurement: Images 18.4 GB / 7.611 GB reclaimable, Build Cache 18.75 GB / 7.441 GB reclaimable.

Note for whoever picks this up

run-verdict.txt misread this pass as a local pre-Sandcastle fault ("the fault was in the job BEFORE Sandcastle span … NOT a leg on another pool host"). The #2048 heuristic sees that this host ran an idss job in the window and concludes the fault was local — but the job it ran was the green leg; the red leg was never on this host. Harmless here (the job log is unambiguous), but on a matrix workflow where one leg is permanently red on another host, "local evidence shows this repo's job ran here" is not evidence the failing leg did. heal.sh is outside the healer's charter to change, so this is left as an observation rather than filed — worth folding into #2049's forward-port if that lands.

Blocked on the same single human action as #2174 / #2076: free bytes on the wedged hosts, and give app-build-<sha> / payload-manual-<sha> a --keep N.

## Recurrence — same signature `0990ca97e6aa`, +7 h (healer `heal-Matou-idss-1793995383-2281635`) Watchdog pass of 2026-11-06 20:02 UTC, workflow `swarm`, kind `always-red`, evidence `/tmp/matou-heal-Matou-idss.ldEycl` on `matou-dev-server-01`, swarm lock `free`. **No repair attempted** — unchanged from this ticket's filing: the 74 GB is `rm -rf` outside `/tmp` plus a `docker` build-cache prune, both outside the healer's charter, and it is a human's own build scratch. Still `ready-for-human`. Nothing in the picture has improved; the three numbers that moved: | | at filing (13:02 UTC) | now (20:02 UTC) | | --- | --- | --- | | `/` on this host (`host.txt`) | 225G used / 6.7G free / 98% | 225G used / **6.5G** free / 98% | | `bens-mac-04` wedged for | ~16 h | **~23 h** | | swarm legs in the 50-run window | — | **17/17 `bens-mac-04` red, 18/18 `matou-workstation` green** | ### What the always-red actually is It is #2174's ENOSPC verbatim, not a new fault. `job-log.txt` for run 61356 — the `bens-mac-04` leg (task 280229, runner `73a6cc98-3960-4a27-ac53-0c3890c73887`) dies before step one: ``` 2026-11-06T19:54:13Z Runner 73a6cc98-3960-4a27-ac53-0c3890c73887 (version:v12.13.1) received task 280229 of job swarm, triggered by event: workflow_dispatch 2026-11-06T19:54:13Z workflow prepared 2026-11-06T19:54:13Z mkdir /home/swarm/.cache/act/87e35723539162d4: no space left on device ``` The `matou-workstation` leg of the **same run** (task 280231, this host) is fully green — all 10 preflight guards fired, `run-swarm: no ready tasks`, `🏁 Job succeeded`. So the swarm workflow is red purely because one matrix leg's host cannot create a directory; the fleet still has exactly one working pool host, as this ticket predicted. ### Nothing left in charter to reclaim here Checked on `matou-dev-server-01` this pass, so the next healer need not re-measure: - **`/tmp` is 3.4 GB total** (20,813 entries, the largest single item a 1.4 GB `matou-test-backend.log`). Even a clean sweep of the one directory the charter does allow buys ~3 GB against a 74 GB problem — it would not clear 98%. - **No leaked factory containers.** All 30 running containers are long-lived production services (zitadel, garage, any-sync, keria, uptime-kuma, …); none carries a `matou.factory` label, so the sweep has nothing to reap and none of them is the disk. - Docker is unchanged from this ticket's measurement: Images 18.4 GB / 7.611 GB reclaimable, Build Cache 18.75 GB / 7.441 GB reclaimable. ### Note for whoever picks this up `run-verdict.txt` misread this pass as a local pre-Sandcastle fault ("the fault was in the job BEFORE Sandcastle span … NOT a leg on another pool host"). The #2048 heuristic sees that *this* host ran an idss job in the window and concludes the fault was local — but the job it ran was the **green** leg; the red leg was never on this host. Harmless here (the job log is unambiguous), but on a matrix workflow where one leg is permanently red on another host, "local evidence shows this repo's job ran here" is not evidence the *failing* leg did. `heal.sh` is outside the healer's charter to change, so this is left as an observation rather than filed — worth folding into #2049's forward-port if that lands. Blocked on the same single human action as #2174 / #2076: free bytes on the wedged hosts, and give `app-build-<sha>` / `payload-manual-<sha>` a `--keep N`.
Author
Member

The domino fired. This host is no longer "next" — it hit real ENOSPC at 05:28 UTC today and is redding rails now. Healer watchdog pass of 2026-11-07 06:03 UTC (heal-Matou-idss-1794031531-164944, signature d56f19bc43ce, workflow landing-tripwire, kind always-red, evidence /tmp/matou-heal-Matou-idss.IxrT90, swarm lock held).

host.txt this pass — down 0.6 GB from the 6.7 GB measured when this was filed, same 10 scratch dirs, mtimes unchanged (2026-11-02 → 11-04, so nothing is mid-flight):

/dev/vda1       232G  226G  6.1G  98% /

Still ~73 GB in app-build-<sha> + payload-manual-<sha>, and docker system df now reports 19.55 GB build cache / 8.96 GB reclaimable plus 9.30 GB reclaimable images. Inodes are fine (11%).

What it broke, and the trap it set

landing-tripwire red on both pushes in the window (runs 61562 at 04:27, 61570 at 05:25). The job log is ~100 lines of landing-tripwire: GET /issues/<n> -> HTTP 000 ending in scripts/landing-tripwire.sh: line 102: printf: write error: No space left on device.

That log is a lie about the forge. git.matou.nz answered 200 to every one of those requests — the same bundle's api-timing.txt reads api_http=200, api_seconds=0.846, and the job's own git fetch succeeded seconds earlier. On a full filesystem curl -s -o "$f" -w '%{http_code}' receives the response and fails writing the body, exiting 23; code="$(curl …)" || code=000 then fires on that rc and throws away the 200 it had already captured. Reproduced directly:

$ code="$(curl -s -o /dev/full -w '%{http_code}' https://git.matou.nz/api/v1/version)" || rc=$?
code=[200] rc=23

So a full disk on this host presents as a total forge outage. Anyone triaging the next one of these from the job log alone will go hunting git.matou.nz. Noting it here because this ticket is where a human will land.

Repaired (code half only)

24e56dcc — GOTCHAS #412: tw_disk_guard measures before the write (#411's rule on a second rail) and tw_get now reports curl's own exit status instead of laundering a local write failure into HTTP 000. scripts/tests/landing-tripwire-test.sh 24/24, 18/24 against the pre-fix script; check-harness-drift.sh rc 0 (repo-owned path, not vendored — checked first).

That guard frees nothing and is not meant to. Items 1–3 of "What a human should do" above are untouched and still owed — rm -rf outside /tmp and a cache prune are both outside the healer charter. The guard only buys you a named fault instead of a heal cycle spent on a phantom outage.

One more thing a human should fold in here

Once the disk is cleared, landing-tripwire will still be red, for two correct reasons — verified live against the forge with the fix in place:

  • 6454feb4 and 43ee3181 both name #2177 (a landing-pr ticket) in their subjects and arrived by direct push, not a merged PR. Genuine findings; already owned by #2177/#2181.
  • #2036 is reported as carrying the origin marker without landing-pr. False positive — its marker text sits inside inline backticks in prose about #1819, and body-marker.jq strips only block fences. That is #2111 exactly. Not relabelled: only a human lifts the policy, and the ticket is not actually report-descended.

Because the workflow's state mark advances only on a clean pass, those three re-page on every push until they are dealt with. Clearing the disk alone will not green this rail.

**The domino fired.** This host is no longer "next" — it hit real ENOSPC at 05:28 UTC today and is redding rails now. Healer watchdog pass of 2026-11-07 06:03 UTC (`heal-Matou-idss-1794031531-164944`, signature `d56f19bc43ce`, workflow `landing-tripwire`, kind `always-red`, evidence `/tmp/matou-heal-Matou-idss.IxrT90`, swarm lock `held`). `host.txt` this pass — down 0.6 GB from the 6.7 GB measured when this was filed, same 10 scratch dirs, mtimes unchanged (2026-11-02 → 11-04, so nothing is mid-flight): ``` /dev/vda1 232G 226G 6.1G 98% / ``` Still ~73 GB in `app-build-<sha>` + `payload-manual-<sha>`, and `docker system df` now reports **19.55 GB build cache / 8.96 GB reclaimable** plus 9.30 GB reclaimable images. Inodes are fine (11%). ### What it broke, and the trap it set `landing-tripwire` red on both pushes in the window (runs 61562 at 04:27, 61570 at 05:25). The job log is ~100 lines of `landing-tripwire: GET /issues/<n> -> HTTP 000` ending in `scripts/landing-tripwire.sh: line 102: printf: write error: No space left on device`. **That log is a lie about the forge.** git.matou.nz answered **200** to every one of those requests — the same bundle's `api-timing.txt` reads `api_http=200`, `api_seconds=0.846`, and the job's own `git fetch` succeeded seconds earlier. On a full filesystem `curl -s -o "$f" -w '%{http_code}'` receives the response and fails writing the *body*, exiting 23; `code="$(curl …)" || code=000` then fires on that rc and throws away the 200 it had already captured. Reproduced directly: ``` $ code="$(curl -s -o /dev/full -w '%{http_code}' https://git.matou.nz/api/v1/version)" || rc=$? code=[200] rc=23 ``` So a full disk on this host presents as a **total forge outage**. Anyone triaging the next one of these from the job log alone will go hunting git.matou.nz. Noting it here because this ticket is where a human will land. ### Repaired (code half only) `24e56dcc` — GOTCHAS **#412**: `tw_disk_guard` measures before the write (#411's rule on a second rail) and `tw_get` now reports curl's own exit status instead of laundering a local write failure into `HTTP 000`. `scripts/tests/landing-tripwire-test.sh` 24/24, 18/24 against the pre-fix script; `check-harness-drift.sh` rc 0 (repo-owned path, not vendored — checked first). **That guard frees nothing and is not meant to.** Items 1–3 of "What a human should do" above are untouched and still owed — `rm -rf` outside `/tmp` and a cache prune are both outside the healer charter. The guard only buys you a named fault instead of a heal cycle spent on a phantom outage. ### One more thing a human should fold in here Once the disk is cleared, `landing-tripwire` will **still** be red, for two correct reasons — verified live against the forge with the fix in place: - `6454feb4` and `43ee3181` both name **#2177** (a `landing-pr` ticket) in their subjects and arrived by direct push, not a merged PR. Genuine findings; already owned by #2177/#2181. - `#2036` is reported as carrying the origin marker without `landing-pr`. **False positive** — its marker text sits inside inline backticks in prose *about* #1819, and `body-marker.jq` strips only block fences. That is **#2111** exactly. Not relabelled: only a human lifts the policy, and the ticket is not actually report-descended. Because the workflow's state mark advances only on a clean pass, those three re-page on **every** push until they are dealt with. Clearing the disk alone will not green this rail.
Author
Member

Fresh measurement — 6.0 GB free, down 0.7 GB in ~22 h. Watchdog pass of 2026-11-07 11:02 UTC (heal-Matou-idss-1794049362-1062411, signature 0ff1caf1b642, workflow swarm, kind streak, evidence /tmp/matou-heal-Matou-idss.wSppcP, swarm lock free), while diagnosing #2174's 7-run red streak on bens-mac-04. No repair attempted — unchanged from the filing: clearing this is rm -rf outside /tmp plus a docker prune, both outside the healer's charter, and the big items are a human's own build scratch.

host.txt this pass (was 225G used / 6.7G avail at filing):

Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1       232G  226G  6.0G  98% /

Inodes are fine (12% IUse), so this is bytes, not inodes — the same shape that killed bens-mac-04.

The scratch families are still there, unchanged: 10 dirs, 76 GiB (du -sc = 80,001,436 KB) — 4 × app-build-<sha> at 12–13 G and 6 × payload-manual-<sha> at 4.9 G, same shas as the filing (15b0a2eb, a4c8c72f, b749b064, d6578ff7, 4b82cfc9, e397dd50). /home/dev/.cache/go-build is still 9.6 G.

Docker's reclaimable share grew by ~1.5 GB each since the filing, so the host is still accreting:

filing (11-06 13:08) this pass (11-07 11:02)
Images 18.4 GB / 7.611 GB reclaimable 18.46 GB / 9.296 GB reclaimable
Build Cache 18.75 GB / 7.441 GB reclaimable 19.55 GB / 8.962 GB reclaimable

So ~18 GB is reclaimable by prune alone without touching the build scratch — that plus the 76 GiB of scratch is the whole gap. /tmp is only 3.6 GB total (its largest single item is a 1.4 GB matou-test-backend.log), i.e. there is nothing inside the healer's permitted cleanup scope that moves this.

At the current ~0.7 GB/22 h bleed this host has weeks, not hours — but it is the only pool host still answering (bens-mac-04 #2174, elitebook-03 #2076/#2057), and a single large build or image pull can close 6.0 GB in one step, which would stall every scheduled tick in every repo on this Forgejo at workflow prepared. Keeping ready-for-human.

**Fresh measurement — 6.0 GB free, down 0.7 GB in ~22 h.** Watchdog pass of 2026-11-07 11:02 UTC (`heal-Matou-idss-1794049362-1062411`, signature `0ff1caf1b642`, workflow `swarm`, kind `streak`, evidence `/tmp/matou-heal-Matou-idss.wSppcP`, swarm lock `free`), while diagnosing #2174's 7-run red streak on `bens-mac-04`. **No repair attempted** — unchanged from the filing: clearing this is `rm -rf` outside `/tmp` plus a `docker` prune, both outside the healer's charter, and the big items are a human's own build scratch. `host.txt` this pass (was `225G used / 6.7G avail` at filing): ``` Filesystem Size Used Avail Use% Mounted on /dev/vda1 232G 226G 6.0G 98% / ``` Inodes are fine (`12% IUse`), so this is bytes, not inodes — the same shape that killed `bens-mac-04`. The scratch families are **still there, unchanged**: 10 dirs, `76 GiB` (`du -sc` = 80,001,436 KB) — 4 × `app-build-<sha>` at 12–13 G and 6 × `payload-manual-<sha>` at 4.9 G, same shas as the filing (`15b0a2eb`, `a4c8c72f`, `b749b064`, `d6578ff7`, `4b82cfc9`, `e397dd50`). `/home/dev/.cache/go-build` is still 9.6 G. Docker's reclaimable share grew by ~1.5 GB each since the filing, so the host is still accreting: | | filing (11-06 13:08) | this pass (11-07 11:02) | | --- | --- | --- | | Images | 18.4 GB / 7.611 GB reclaimable | 18.46 GB / **9.296 GB** reclaimable | | Build Cache | 18.75 GB / 7.441 GB reclaimable | 19.55 GB / **8.962 GB** reclaimable | So ~18 GB is reclaimable by prune alone without touching the build scratch — that plus the 76 GiB of scratch is the whole gap. `/tmp` is only 3.6 GB total (its largest single item is a 1.4 GB `matou-test-backend.log`), i.e. there is nothing inside the healer's permitted cleanup scope that moves this. At the current ~0.7 GB/22 h bleed this host has weeks, not hours — but it is **the only pool host still answering** (`bens-mac-04` #2174, `elitebook-03` #2076/#2057), and a single large build or image pull can close 6.0 GB in one step, which would stall every scheduled tick in every repo on this Forgejo at `workflow prepared`. Keeping `ready-for-human`.
Author
Member

Headroom update: 6.7 GB → 6063 MB free, i.e. ~0.9 GB above the #411 guard's own floor. Watchdog pass of 2026-11-07 12:02 UTC (heal-Matou-idss-1794052978-1200740, signature 50dc0fb56753, workflow triage, evidence /tmp/matou-heal-Matou-idss.1mm7dY, swarm lock free). No repair — unchanged from the filing: rm -rf outside /tmp and a docker prune are both outside the charter, and the big items are a human's build scratch.

df -BM / on matou-dev-server-01 this pass:

  236993M 230915M 6063M  98%

Down from the filing's 6.7 GB ~23 h ago. The scratch families have not been swept and one has grown:

13G  /home/dev/app-build-15b0a2eb   (was 12G at filing)
12G  /home/dev/app-build-a4c8c72f
12G  /home/dev/app-build-b749b064
12G  /home/dev/app-build-d6578ff7
4.9G x6  /home/dev/payload-manual-{15b0a2eb,4b82cfc9,a4c8c72f,b749b064,d6578ff7,e397dd50}
--
77G total  (was ~74G)

Still reclaimable without a decision: docker build cache 8.962 GB + images 9.296 GB reclaimable, /home/dev/.cache/go-build 9.6 GB.

Why 6063M is the number that matters

provision_disk_guard (.sandcastle/provision-lib.sh:179) refuses the provision stage below SWARM_MIN_DISK_MB, default 5120. At 6063M this host has ~943 MB before the last green pool host starts red-ing its own swarm runs at docker disk space check (#411) — by design, the guard "does not FREE anything and is not meant to". With bens-mac-04 wedged (#2174) and elitebook-03 on #2076, that is the whole pool.

Cross-reference to #2174

bens-mac-04 briefly recovered at 07:15 UTC today and re-filled within 30 minutes (durations + act-cache hashes in #2174). So on at least one pool host the producer is still actively writing after space is freed — which is the argument that this ticket's ask (a retention sweep with --keep N, not a one-off clear) is the fix for the pool and not just for this box.

**Headroom update: 6.7 GB → 6063 MB free, i.e. ~0.9 GB above the #411 guard's own floor.** Watchdog pass of 2026-11-07 12:02 UTC (`heal-Matou-idss-1794052978-1200740`, signature `50dc0fb56753`, workflow `triage`, evidence `/tmp/matou-heal-Matou-idss.1mm7dY`, swarm lock `free`). **No repair** — unchanged from the filing: `rm -rf` outside `/tmp` and a docker prune are both outside the charter, and the big items are a human's build scratch. `df -BM /` on `matou-dev-server-01` this pass: ``` 236993M 230915M 6063M 98% ``` Down from the filing's 6.7 GB ~23 h ago. The scratch families have not been swept and one has grown: ``` 13G /home/dev/app-build-15b0a2eb (was 12G at filing) 12G /home/dev/app-build-a4c8c72f 12G /home/dev/app-build-b749b064 12G /home/dev/app-build-d6578ff7 4.9G x6 /home/dev/payload-manual-{15b0a2eb,4b82cfc9,a4c8c72f,b749b064,d6578ff7,e397dd50} -- 77G total (was ~74G) ``` Still reclaimable without a decision: docker build cache 8.962 GB + images 9.296 GB reclaimable, `/home/dev/.cache/go-build` 9.6 GB. ## Why 6063M is the number that matters `provision_disk_guard` (`.sandcastle/provision-lib.sh:179`) refuses the provision stage below `SWARM_MIN_DISK_MB`, **default 5120**. At 6063M this host has **~943 MB** before the last green pool host starts red-ing its own `swarm` runs at `docker disk space check (#411)` — by design, the guard "does not FREE anything and is not meant to". With bens-mac-04 wedged (#2174) and elitebook-03 on #2076, that is the whole pool. ## Cross-reference to #2174 bens-mac-04 briefly recovered at 07:15 UTC today and re-filled within 30 minutes (durations + act-cache hashes in [#2174](https://git.matou.nz/Matou/idss/issues/2174#issuecomment-69513)). So on at least one pool host the producer is still actively writing after space is freed — which is the argument that this ticket's ask (a retention sweep with `--keep N`, not a one-off clear) is the fix for the pool and not just for this box.
Author
Member

It happened: this host is now at 100% / 2129 MiB free — the swarm reds at the #411 guard

Realized by the healer (heal-Matou-idss-1794069617-2569701, hook pass of 2026-11-07 16:37 UTC,
signature 6da0b50c2fc2, workflow swarm, run
61805, evidence
/tmp/matou-heal-Matou-idss.JZL3hD, swarm lock held). No repair attempted — unchanged from
the filing: clearing this is rm -rf outside /tmp plus a docker cache prune, both outside the
healer charter, and the big items are a human own build scratch.

This ticket predicted it in as many words — "6.7 GB is less than one app-build-<sha>". One day
later:

Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1       232G  230G  2.1G 100% /

225G → 230G used, 6.7G → 2.0G free, 98% → 100%.

What the fault looks like now

The #411 provision_disk_guard (landed e46448ca, .sandcastle/provision-lib.sh:177) fired exactly
as designed — a named stage and a legible FATAL instead of #411 anonymous build-image exit=1
with an empty error block (run-verdict.txt, job-log.txt job 2):

run-swarm: FATAL — only 2129 MiB free on docker data root /var/lib/docker (floor 5120 MiB): pnpm install and the image build cannot write (ENOSPC).
run-swarm: RUN FAILED — exit 1 in stage docker disk space check (#411) (reason=died-in:docker disk space check (#411))

That run had already got as far as preflight-swarm: all 10 guards fired, listed 7 ready tasks and
selected fleet pick #1890 — so the queue is live and every pick is now blocked at provision.

New since the filing — the host is already hard-full for the swarm user

job-log.txt carries 18 further legs (jobs 0, 3–19, task 282290) that never reached run-swarm
at all:

2026-11-07T16:18:52Z workflow prepared
2026-11-07T16:18:52Z mkdir /home/swarm/.cache/act/e97a4928fcc19589: no space left on device

This is #2174 and #2076 shape arriving here: the runner itself cannot write its act cache, so legs
red at workflow prepared with no run-swarm verdict and nothing for a signature to key on. The
#411 guard only covers the legs that get far enough to run.

The scratch is unchanged and still unswept

All 10 directories are still present, mtimes untouched (2026-11-03 → 2026-11-04 17:35), still ~78 GB:
4 × app-build-<sha> at 12–13G, 6 × payload-manual-<sha> at 4.9G. Nothing has aged them out, and
nothing will: matou-dev-server-01 has no /etc/cron.d/swarm-prune at all (ls /etc/cron.d/
→ e2scrub_all, sysstat). Where #2076 is a prune cron pointing at the wrong path, this host has
no prune cron to point anywhere — so the retention gap in the title is literal.

.sandcastle/sweep-lib.sh cannot close it either: sweep_worktrees is scoped to
<repo>/.sandcastle/worktrees/*, prune_session_logs to the logs dir, and reap_containers to
matou.factory-labelled containers. $HOME/app-build-* and $HOME/payload-manual-* fall outside
all three, by design — they are a human loop output, so a sweep that deleted them would be
destroying work nobody authorised it to touch.

Current reclaim ledger (re-measured this pass)

/home/dev                       151G
  app-build-<sha>      × 4     ~49G   (12-13G each, 2026-11-03/04)
  payload-manual-<sha> × 6     ~29G   (4.9G each,   2026-11-03/04)
  swarm/                         28G   (live working set — do not touch, lock is held)
  .cache/go-build               9.6G
/var/lib/docker                 ~39G   (Images 18.46G / 9.299G reclaimable; Build Cache 20.46G / 9.878G reclaimable)
/nix                             19G

~78 GB of ended scratch + ~19 GB docker reclaimable ≈ 97 GB, which would take this host from
100% to roughly 58% used. The floor needs only 5120 MiB.

What a human should do

Unchanged from the filing step 1 and step 2, now with no headroom left to defer them. The newest
pair is still app-build-a4c8c72f / payload-manual-a4c8c72f (2026-11-04 17:35) if one build is
being kept. The swarm lock reads held right now — /home/dev/swarm is a live checkout this
pass did not touch, so prune around it, not through it.

A deliberate tight run is possible in the meantime (SWARM_MIN_DISK_MB=0), but with 2.0 GB free
the thing the guard predicts would simply happen for real: pnpm install and the image build would
die ENOSPC mid-write, and the 18 act-cache legs above show the runner is already past that line.

## It happened: this host is now at 100% / 2129 MiB free — the swarm reds at the #411 guard Realized by the healer (`heal-Matou-idss-1794069617-2569701`, hook pass of 2026-11-07 16:37 UTC, signature `6da0b50c2fc2`, workflow `swarm`, run [61805](https://git.matou.nz/Matou/idss/actions/runs/61805), evidence `/tmp/matou-heal-Matou-idss.JZL3hD`, swarm lock `held`). **No repair attempted** — unchanged from the filing: clearing this is `rm -rf` outside `/tmp` plus a docker cache prune, both outside the healer charter, and the big items are a human own build scratch. This ticket predicted it in as many words — *"6.7 GB is less than one `app-build-<sha>`"*. One day later: ``` Filesystem Size Used Avail Use% Mounted on /dev/vda1 232G 230G 2.1G 100% / ``` 225G → 230G used, 6.7G → 2.0G free, 98% → **100%**. ### What the fault looks like now The #411 `provision_disk_guard` (landed e46448ca, `.sandcastle/provision-lib.sh:177`) fired exactly as designed — a named stage and a legible FATAL instead of #411 anonymous `build-image exit=1` with an empty error block (`run-verdict.txt`, `job-log.txt` job 2): ``` run-swarm: FATAL — only 2129 MiB free on docker data root /var/lib/docker (floor 5120 MiB): pnpm install and the image build cannot write (ENOSPC). run-swarm: RUN FAILED — exit 1 in stage docker disk space check (#411) (reason=died-in:docker disk space check (#411)) ``` That run had already got as far as `preflight-swarm: all 10 guards fired`, listed 7 ready tasks and selected fleet pick #1890 — so the queue is live and every pick is now blocked at provision. ### New since the filing — the host is already hard-full for the `swarm` user `job-log.txt` carries **18 further legs** (jobs 0, 3–19, task 282290) that never reached run-swarm at all: ``` 2026-11-07T16:18:52Z workflow prepared 2026-11-07T16:18:52Z mkdir /home/swarm/.cache/act/e97a4928fcc19589: no space left on device ``` This is #2174 and #2076 shape arriving here: the runner itself cannot write its act cache, so legs red at `workflow prepared` with no run-swarm verdict and nothing for a signature to key on. The #411 guard only covers the legs that get far enough to run. ### The scratch is unchanged and still unswept All 10 directories are still present, mtimes untouched (2026-11-03 → 2026-11-04 17:35), still ~78 GB: 4 × `app-build-<sha>` at 12–13G, 6 × `payload-manual-<sha>` at 4.9G. Nothing has aged them out, and nothing will: **`matou-dev-server-01` has no `/etc/cron.d/swarm-prune` at all** (`ls /etc/cron.d/` → `e2scrub_all`, `sysstat`). Where #2076 is a prune cron pointing at the wrong path, this host has no prune cron to point anywhere — so the retention gap in the title is literal. `.sandcastle/sweep-lib.sh` cannot close it either: `sweep_worktrees` is scoped to `<repo>/.sandcastle/worktrees/*`, `prune_session_logs` to the logs dir, and `reap_containers` to `matou.factory`-labelled containers. `$HOME/app-build-*` and `$HOME/payload-manual-*` fall outside all three, by design — they are a human loop output, so a sweep that deleted them would be destroying work nobody authorised it to touch. ### Current reclaim ledger (re-measured this pass) ``` /home/dev 151G app-build-<sha> × 4 ~49G (12-13G each, 2026-11-03/04) payload-manual-<sha> × 6 ~29G (4.9G each, 2026-11-03/04) swarm/ 28G (live working set — do not touch, lock is held) .cache/go-build 9.6G /var/lib/docker ~39G (Images 18.46G / 9.299G reclaimable; Build Cache 20.46G / 9.878G reclaimable) /nix 19G ``` ~78 GB of ended scratch + ~19 GB docker reclaimable ≈ **97 GB**, which would take this host from 100% to roughly 58% used. The floor needs only 5120 MiB. ### What a human should do Unchanged from the filing step 1 and step 2, now with no headroom left to defer them. The newest pair is still `app-build-a4c8c72f` / `payload-manual-a4c8c72f` (2026-11-04 17:35) if one build is being kept. **The swarm lock reads `held` right now** — `/home/dev/swarm` is a live checkout this pass did not touch, so prune around it, not through it. A deliberate tight run is possible in the meantime (`SWARM_MIN_DISK_MB=0`), but with 2.0 GB free the thing the guard predicts would simply happen for real: pnpm install and the image build would die ENOSPC mid-write, and the 18 `act`-cache legs above show the runner is already past that line.
Author
Member

Deterioration update (2026-11-07 22:44 UTC, healer heal-Matou-idss-1794091464-2303352)

Seen in passing while diagnosing an unrelated incident (forge API latency, now on #2073). No cleanup performed — destructive cleanup outside /tmp is outside the healer's charter, and swarm-lock.txt read held, so a run was active.

Free space on matou-dev-server-01 has fallen since this ticket was filed:

at filing now
/dev/vda1 free 6.7 GB 4.8 GB
use% 98% 98%

The scratch named in this ticket has grown rather than been swept — 10 such directories, ~78 GB total:

27G  /home/dev/swarm
13G  /home/dev/app-build-15b0a2eb
12G  /home/dev/app-build-d6578ff7
12G  /home/dev/app-build-b749b064
12G  /home/dev/app-build-a4c8c72f
4.9G /home/dev/payload-manual-e397dd50
4.9G /home/dev/payload-manual-d6578ff7
4.9G /home/dev/payload-manual-b749b064
4.9G /home/dev/payload-manual-a4c8c72f
4.9G /home/dev/payload-manual-4b82cfc9
4.9G /home/dev/payload-manual-15b0a2eb
4.8G /home/dev/drives

That is ~49 GB in app-build-<sha> and ~29 GB in payload-manual-<sha>. Swap is also committed at 2742 MB of 8191 with 571 MB free of 7941 MB RAM (host.txt).

At 4.8 GB free this host is inside one image build of the GOTCHAS #411 ENOSPC shape. Still ready-for-human as filed — the retention sweep this ticket asks for is the fix; the healer has no sanctioned path to reclaim it.

## Deterioration update (2026-11-07 22:44 UTC, healer `heal-Matou-idss-1794091464-2303352`) Seen in passing while diagnosing an unrelated incident (forge API latency, now on #2073). **No cleanup performed** — destructive cleanup outside `/tmp` is outside the healer's charter, and `swarm-lock.txt` read `held`, so a run was active. Free space on `matou-dev-server-01` has fallen since this ticket was filed: | | at filing | now | |---|---|---| | `/dev/vda1` free | 6.7 GB | **4.8 GB** | | use% | 98% | 98% | The scratch named in this ticket has grown rather than been swept — 10 such directories, ~78 GB total: ``` 27G /home/dev/swarm 13G /home/dev/app-build-15b0a2eb 12G /home/dev/app-build-d6578ff7 12G /home/dev/app-build-b749b064 12G /home/dev/app-build-a4c8c72f 4.9G /home/dev/payload-manual-e397dd50 4.9G /home/dev/payload-manual-d6578ff7 4.9G /home/dev/payload-manual-b749b064 4.9G /home/dev/payload-manual-a4c8c72f 4.9G /home/dev/payload-manual-4b82cfc9 4.9G /home/dev/payload-manual-15b0a2eb 4.8G /home/dev/drives ``` That is ~49 GB in `app-build-<sha>` and ~29 GB in `payload-manual-<sha>`. Swap is also committed at 2742 MB of 8191 with 571 MB free of 7941 MB RAM (`host.txt`). At 4.8 GB free this host is inside one image build of the GOTCHAS #411 ENOSPC shape. Still `ready-for-human` as filed — the retention sweep this ticket asks for is the fix; the healer has no sanctioned path to reclaim it.
Author
Member

Deterioration update (2026-11-08 07:45 UTC, healer heal-Matou-idss-1794123727-2641610)

Seen in passing while diagnosing #2174's ~58-hour recurrence (watchdog, workflow resume-asks, signature 7af4f7ee9a1f, evidence /tmp/matou-heal-Matou-idss.8GAmBd). No cleanup performed — destructive cleanup outside /tmp and a docker prune are outside the healer's charter, and swarm-lock.txt read held, so a run was active.

Free space keeps falling, now below the #411 guard's own 5120 MB floor:

at filing (11-06 13:08) 11-07 22:44 now (11-08 07:45)
/dev/vda1 free 6.7 GB 4.8 GB 3.4 GB
use% 98% 98% 99%
/dev/vda1       232G  229G  2.6G  99% /

The named scratch is still unswept:

13G	/home/dev/app-build-15b0a2eb
12G	/home/dev/app-build-d6578ff7
12G	/home/dev/app-build-b749b064
12G	/home/dev/app-build-a4c8c72f
4.9G	/home/dev/payload-manual-e397dd50
4.9G	/home/dev/payload-manual-d6578ff7

At 3.4 GB this host is under SWARM_MIN_DISK_MB (5120), so the #411 provision_disk_guard will now refuse its swarm legs by design — matou-workstation legs still showed success as recently as 07:17 UTC (run 62083), so the margin is being spent right now. With bens-mac-04 wedged (#2174) and elitebook-03 carrying #2076/#2057, clearing this remains the single highest-leverage human action for the pool.

## Deterioration update (2026-11-08 07:45 UTC, healer `heal-Matou-idss-1794123727-2641610`) Seen in passing while diagnosing #2174's ~58-hour recurrence (watchdog, workflow `resume-asks`, signature `7af4f7ee9a1f`, evidence `/tmp/matou-heal-Matou-idss.8GAmBd`). **No cleanup performed** — destructive cleanup outside `/tmp` and a docker prune are outside the healer's charter, and `swarm-lock.txt` read `held`, so a run was active. Free space keeps falling, now below the #411 guard's own 5120 MB floor: | | at filing (11-06 13:08) | 11-07 22:44 | now (11-08 07:45) | |---|---|---|---| | `/dev/vda1` free | 6.7 GB | 4.8 GB | **3.4 GB** | | use% | 98% | 98% | **99%** | ``` /dev/vda1 232G 229G 2.6G 99% / ``` The named scratch is still unswept: ``` 13G /home/dev/app-build-15b0a2eb 12G /home/dev/app-build-d6578ff7 12G /home/dev/app-build-b749b064 12G /home/dev/app-build-a4c8c72f 4.9G /home/dev/payload-manual-e397dd50 4.9G /home/dev/payload-manual-d6578ff7 ``` At 3.4 GB this host is under `SWARM_MIN_DISK_MB` (5120), so the #411 `provision_disk_guard` will now refuse its swarm legs by design — `matou-workstation` legs still showed `success` as recently as 07:17 UTC (run 62083), so the margin is being spent right now. With bens-mac-04 wedged (#2174) and elitebook-03 carrying #2076/#2057, clearing this remains the single highest-leverage human action for the pool.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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#2175
No description provided.