Runner host matou-workstation is at 98% disk (6.6 G free) — 77 G of stale app-build-*/payload-manual-* residue on the LAST serving host #340

Closed
opened 2026-11-06 21:12:29 +00:00 by matou-build-agent · 5 comments

matou-workstation (hostname matou-dev-server-01, runner
4ff4a71f-283a-41d7-8063-3bd52f91f633) is at 225 G used of 232 G — 6.6 G free
(98%)
on /dev/vda1, the single filesystem holding both the runner's act cache
(/home/dev/forgejo-runner) and every swarm workdir.

This is the only pool host currently serving Matou/dev-factory legs:
bens-mac-04 has been dead at workflow prepared for ~24 h (#335) and
elitebook-03 for longer (#305). If this box crosses zero the repo has no
serving host at all — no swarm, no triage, no resume-asks, and no healer to
say so.

6.6 G is not a safe margin for this workload. #335's 01:49Z comment documents
exactly what that margin buys: bens-mac-04 had just enough room to mkdir the
act cache, so the runner started and the fault moved one stage later, into the
sandbox image build — ENOSPC: no space left on device, mkdir '/home/agent/.local'
on #11 [7/9] RUN curl -fsSL https://claude.ai/install.sh | bash.

Where the space went (measured 2026-11-06 21:0xZ)

du -xh -d1 / → /home 152 G, /var 35 G, /nix 19 G, /tmp 3.4 G.
Inside /home/dev:

what size age
4 × /home/dev/app-build-<sha> (12–13 G each) 49 G Nov 3 06:13 → Nov 4 17:35
6 × /home/dev/payload-manual-<sha> (4.9 G each) 28 G Nov 3 04:46 → Nov 4 17:35
/home/dev/swarm (all repos' workdirs) 28 G live
/home/dev/.cache 13 G live
6,301 × /tmp/matou-heal-* dirs 499 M #338's leak, on this host too
docker system df reclaimable (7.6 G images + 7.4 G build cache) 15 G —

The shas are 15b0a2eb a4c8c72f b749b064 d6578ff7 e397dd50 4b82cfc9; both
families key on the same build shas, and nothing is newer than Nov 4 — no
Nov 5 or Nov 6 entries at all, so these 10 dirs are dead per-build residue from a
deploy path that creates one set per build and never removes the previous one.
77 G of the 98% is these ten directories. Reclaiming them plus the docker
cache takes the box from 6.6 G free to roughly 98 G free.

Why human, not agent-workable

  • /home/dev/app-build-* and /home/dev/payload-manual-* are not
    factory-owned
    — nothing in this repo creates or names them, so no harness
    sweep can be given authority over them, and a human needs to confirm none is a
    live deploy artefact before deletion.
  • The healer charter forbids rm -rf outside /tmp and forbids touching host
    packages/services, so this healer reported rather than reclaimed.
  • Suggested follow-up once reclaimed: find the deploy script that creates
    app-build-<sha> / payload-manual-<sha> and have it remove the prior set (or
    keep N), otherwise this recurs on the ~2-day cadence the timestamps show.
  • #335 — bens-mac-04 out of disk (same end state, this is the next host in line).
  • #305 — elitebook-03 out of disk; docs/gotchas/315-… is the hazard body.
  • #316 — a sick host still wins runs-on: swarm / schedule legs; the rail that
    would at least route around this host does not cover schedule-triggered legs.
  • #338 — heal.sh leaks its /tmp evidence dirs; 6,301 of them here.

Filed by the watchdog healer, heal run
heal-Matou-dev-factory-1793998891-2417577 (signature 0990ca97e6aa), while
diagnosing #335's recurrence.

`matou-workstation` (hostname `matou-dev-server-01`, runner `4ff4a71f-283a-41d7-8063-3bd52f91f633`) is at **225 G used of 232 G — 6.6 G free (98%)** on `/dev/vda1`, the single filesystem holding both the runner's act cache (`/home/dev/forgejo-runner`) and every swarm workdir. This is the **only pool host currently serving `Matou/dev-factory` legs**: `bens-mac-04` has been dead at `workflow prepared` for ~24 h (#335) and `elitebook-03` for longer (#305). If this box crosses zero the repo has no serving host at all — no swarm, no triage, no `resume-asks`, and no healer to say so. 6.6 G is not a safe margin for this workload. #335's 01:49Z comment documents exactly what that margin buys: bens-mac-04 had *just* enough room to `mkdir` the act cache, so the runner started and the fault moved one stage later, into the sandbox image build — `ENOSPC: no space left on device, mkdir '/home/agent/.local'` on `#11 [7/9] RUN curl -fsSL https://claude.ai/install.sh | bash`. ## Where the space went (measured 2026-11-06 21:0xZ) `du -xh -d1 /` → `/home` 152 G, `/var` 35 G, `/nix` 19 G, `/tmp` 3.4 G. Inside `/home/dev`: | what | size | age | | --- | --- | --- | | 4 × `/home/dev/app-build-<sha>` (12–13 G each) | **49 G** | Nov 3 06:13 → Nov 4 17:35 | | 6 × `/home/dev/payload-manual-<sha>` (4.9 G each) | **28 G** | Nov 3 04:46 → Nov 4 17:35 | | `/home/dev/swarm` (all repos' workdirs) | 28 G | live | | `/home/dev/.cache` | 13 G | live | | 6,301 × `/tmp/matou-heal-*` dirs | 499 M | #338's leak, on this host too | | `docker system df` reclaimable (7.6 G images + 7.4 G build cache) | **15 G** | — | The shas are `15b0a2eb a4c8c72f b749b064 d6578ff7 e397dd50 4b82cfc9`; both families key on the same build shas, and **nothing is newer than Nov 4** — no Nov 5 or Nov 6 entries at all, so these 10 dirs are dead per-build residue from a deploy path that creates one set per build and never removes the previous one. **77 G of the 98% is these ten directories.** Reclaiming them plus the docker cache takes the box from 6.6 G free to roughly 98 G free. ## Why human, not agent-workable - `/home/dev/app-build-*` and `/home/dev/payload-manual-*` are **not factory-owned** — nothing in this repo creates or names them, so no harness sweep can be given authority over them, and a human needs to confirm none is a live deploy artefact before deletion. - The healer charter forbids `rm -rf` outside `/tmp` and forbids touching host packages/services, so this healer reported rather than reclaimed. - Suggested follow-up once reclaimed: find the deploy script that creates `app-build-<sha>` / `payload-manual-<sha>` and have it remove the prior set (or keep N), otherwise this recurs on the ~2-day cadence the timestamps show. ## Related - #335 — bens-mac-04 out of disk (same end state, this is the next host in line). - #305 — elitebook-03 out of disk; `docs/gotchas/315-…` is the hazard body. - #316 — a sick host still wins `runs-on: swarm` / schedule legs; the rail that would at least *route around* this host does not cover schedule-triggered legs. - #338 — `heal.sh` leaks its `/tmp` evidence dirs; 6,301 of them here. Filed by the watchdog healer, heal run `heal-Matou-dev-factory-1793998891-2417577` (signature `0990ca97e6aa`), while diagnosing #335's recurrence.
Author
Member

Margin check, 2026-11-07 14:0xZ (watchdog healer
heal-Matou-dev-factory-1794060092-1471067, host.txt): 226 G used of 232 G,
6.1 G free, still 98%
. Down from the 6.6 G measured when this was filed — the
residue has not been reclaimed and the box is still losing ground.

docker system df now reports 18.2 G reclaimable (9.3 G images + 8.96 G
build cache), up from the 15 G in the body. Inodes are fine (11%).

Two reasons this is more urgent than when filed:

  • This host is still the only pool member serving Matou/dev-factory
    successfully. Every dev-factory task it won today was green; every polled
    triage/resume leg won by the out-of-disk /home/swarm host red at
    workflow prepared (evidence in #305's new comment). If this box crosses zero
    the repo has no serving host at all.
  • It declares no min-free-gb in ~/swarm/host-registry.conf, so #315's
    dispatch-side floor is off (default 0) and nothing will stand it down — see
    #316's new comment.

No reclamation attempted: /home/dev/app-build-* and /home/dev/payload-manual-*
are not factory-owned and the charter forbids rm -rf outside /tmp and
docker system prune.

Margin check, 2026-11-07 14:0xZ (watchdog healer `heal-Matou-dev-factory-1794060092-1471067`, `host.txt`): **226 G used of 232 G, 6.1 G free, still 98%**. Down from the 6.6 G measured when this was filed — the residue has not been reclaimed and the box is still losing ground. `docker system df` now reports **18.2 G reclaimable** (9.3 G images + 8.96 G build cache), up from the 15 G in the body. Inodes are fine (11%). Two reasons this is more urgent than when filed: - This host is still the **only** pool member serving `Matou/dev-factory` successfully. Every `dev-factory` task it won today was green; every polled `triage`/`resume` leg won by the out-of-disk `/home/swarm` host red at `workflow prepared` (evidence in #305's new comment). If this box crosses zero the repo has no serving host at all. - It declares **no `min-free-gb`** in `~/swarm/host-registry.conf`, so #315's dispatch-side floor is off (default 0) and nothing will stand it down — see #316's new comment. No reclamation attempted: `/home/dev/app-build-*` and `/home/dev/payload-manual-*` are not factory-owned and the charter forbids `rm -rf` outside `/tmp` and `docker system prune`.
Author
Member

Measured again 2026-11-07 19:1xZ — ~4 G free, third datapoint down

Measured from this host during heal bundle /tmp/matou-heal-Matou-dev-factory.YXr0qC
(signature 0990ca97e6aa, watchdog):

/dev/vda1  232G  228G  4.0G  99% /

Trend on the ticket's own metric: 6.6 G (Nov 6, filing) → 5.2 G (Nov 7 17:09Z)
→ ~4.0 G (Nov 7 19:1xZ)
. One sample read 3.5 G while a sandcastle-* worker
container was building, so the working set swings ~0.5 G; the floor is what
matters and the floor is falling. Still 99%.

Where the space is, measured now:

consumer size note
app-build-* (4 dirs) 49 G 13+12+12+12 G, none newer than Nov 4
payload-manual-* (6 dirs) 29 G 4.9 G each
docker build cache 20.5 G 9.9 G reclaimable, 32 active
docker images 18.5 G 8.4 G reclaimable, 26 active
/tmp/matou-heal-* 548 M 6829 dirs (#338)

So the ticket's 77 G figure holds (now 78 G across those ten dirs) and there
is a further ~18 G reclaimable in docker that the filing did not count.

A correction to the "just sweep /tmp" idea (raised in #335's 04:20Z comment
and my 17:09Z predecessor's note): it is not worth what it looks like. The 6829
dirs are only 548 M total — 440 M of it older than 2 h — so sweeping them buys
~0.2% of the volume, not a reprieve. And it is not free: those directories ARE
the heal ledger's evidence, and the Mattermost post for every past incident
points at one by path. I used three of them in this very run to pin runner
73a6cc98… to bens-mac-04 (#335) — cross-incident attribution that a blanket
sweep would have destroyed. #338 should land a retention policy (keep N days
/ keep the last K per repo), not a blanket delete. I deleted nothing.

The two reclaims that actually matter are both human-gated per the healer
charter (rm -rf outside /tmp and docker system prune are both forbidden):

  1. the ten app-build-* / payload-manual-* dirs — 78 G, all stale since Nov 4;
  2. docker builder prune / image prune — ~18 G reclaimable.

Either one alone takes this host off the cliff. The urgency is unchanged from the
filing and now has a third datapoint behind it: with bens-mac-04 dead ~45 h
(#335) and elitebook-03 longer (#305), this box is the only host serving
Matou/dev-factory, and the only reason swarm and some resume/triage ticks
are green at all (run 26818 today).

## Measured again 2026-11-07 19:1xZ — **~4 G free**, third datapoint down Measured from this host during heal bundle `/tmp/matou-heal-Matou-dev-factory.YXr0qC` (signature `0990ca97e6aa`, watchdog): ``` /dev/vda1 232G 228G 4.0G 99% / ``` Trend on the ticket's own metric: **6.6 G (Nov 6, filing) → 5.2 G (Nov 7 17:09Z) → ~4.0 G (Nov 7 19:1xZ)**. One sample read 3.5 G while a `sandcastle-*` worker container was building, so the working set swings ~0.5 G; the floor is what matters and the floor is falling. Still 99%. **Where the space is**, measured now: | consumer | size | note | | --- | --- | --- | | `app-build-*` (4 dirs) | 49 G | 13+12+12+12 G, none newer than Nov 4 | | `payload-manual-*` (6 dirs) | 29 G | 4.9 G each | | docker build cache | 20.5 G | **9.9 G reclaimable**, 32 active | | docker images | 18.5 G | 8.4 G reclaimable, 26 active | | `/tmp/matou-heal-*` | 548 M | 6829 dirs (#338) | So the ticket's 77 G figure holds (now **78 G** across those ten dirs) and there is a further **~18 G reclaimable in docker** that the filing did not count. **A correction to the "just sweep /tmp" idea** (raised in #335's 04:20Z comment and my 17:09Z predecessor's note): it is not worth what it looks like. The 6829 dirs are only 548 M total — 440 M of it older than 2 h — so sweeping them buys ~0.2% of the volume, not a reprieve. And it is not free: those directories ARE the heal ledger's evidence, and the Mattermost post for every past incident points at one by path. I used three of them in this very run to pin runner `73a6cc98…` to bens-mac-04 (#335) — cross-incident attribution that a blanket sweep would have destroyed. #338 should land a **retention policy** (keep N days / keep the last K per repo), not a blanket delete. I deleted nothing. The two reclaims that actually matter are both human-gated per the healer charter (`rm -rf` outside `/tmp` and `docker system prune` are both forbidden): 1. the ten `app-build-*` / `payload-manual-*` dirs — **78 G**, all stale since Nov 4; 2. `docker builder prune` / image prune — **~18 G** reclaimable. Either one alone takes this host off the cliff. The urgency is unchanged from the filing and now has a third datapoint behind it: with `bens-mac-04` dead ~45 h (#335) and `elitebook-03` longer (#305), this box is the **only** host serving `Matou/dev-factory`, and the only reason `swarm` and some `resume`/`triage` ticks are green at all (run 26818 today).
Author
Member

Drift datapoint from the watchdog healer on this box, 2026-11-08 07:3xZ
(heal run heal-Matou-dev-factory-1794122915-2230587): the headroom this ticket
filed at 6.6 G free / 98% is now 4.7 G free / 99%.

/dev/vda1  232G  227G  4.7G  99% /     (inodes fine: 12% used)

The residue named in the ticket body is unchanged and still the reclaim:
4 × app-build-* + 6 × payload-manual-* under /home/dev = 77 G total,
all last written 2026-11-03/04 (oldest payload-manual-e397dd50 11-03 04:46,
newest app-build-a4c8c72f / payload-manual-a4c8c72f 11-04 17:35). Nothing
has been added since 11-04, so the ~1.9 G lost in the last 11 days is other
growth on top of a static 77 G block: /home/dev/swarm is 27 G and docker
reports 20.46 G of build cache (9.88 G reclaimable) plus 9.3 G of reclaimable
images.

No containers are leaking — docker ps -a --filter label=matou.factory is
empty, so this is not heal/worker residue going unreaped.

Raising the urgency note rather than the facts: at 4.7 G this host is the
closest it has been to the #305/#335 failure mode (mkdir $HOME/.cache/act/<hash>: no space left on device, which kills a job at
workflow prepared before any harness guard can see it). It is currently the
only healthy pool host winning this repo's polled triage/resume-asks —
bens-mac-04 is out of disk right now (#335, nine straight reds today). If this
box crosses the line, those two flows stop entirely.

No repair attempted: rm -rf outside /tmp and docker system prune are both
outside the healer charter, and judging whether the app-build-* /
payload-manual-* trees are still wanted is not the healer's call.

Drift datapoint from the watchdog healer on this box, 2026-11-08 07:3xZ (heal run `heal-Matou-dev-factory-1794122915-2230587`): the headroom this ticket filed at **6.6 G free / 98%** is now **4.7 G free / 99%**. ``` /dev/vda1 232G 227G 4.7G 99% / (inodes fine: 12% used) ``` The residue named in the ticket body is unchanged and still the reclaim: 4 × `app-build-*` + 6 × `payload-manual-*` under `/home/dev` = **77 G total**, all last written 2026-11-03/04 (oldest `payload-manual-e397dd50` 11-03 04:46, newest `app-build-a4c8c72f` / `payload-manual-a4c8c72f` 11-04 17:35). Nothing has been added since 11-04, so the ~1.9 G lost in the last 11 days is other growth on top of a static 77 G block: `/home/dev/swarm` is 27 G and docker reports 20.46 G of build cache (9.88 G reclaimable) plus 9.3 G of reclaimable images. No containers are leaking — `docker ps -a --filter label=matou.factory` is empty, so this is not heal/worker residue going unreaped. Raising the urgency note rather than the facts: at 4.7 G this host is the closest it has been to the #305/#335 failure mode (`mkdir $HOME/.cache/act/<hash>: no space left on device`, which kills a job at `workflow prepared` before any harness guard can see it). It is currently the **only** healthy pool host winning this repo's polled `triage`/`resume-asks` — bens-mac-04 is out of disk right now (#335, nine straight reds today). If this box crosses the line, those two flows stop entirely. No repair attempted: `rm -rf` outside `/tmp` and `docker system prune` are both outside the healer charter, and judging whether the `app-build-*` / `payload-manual-*` trees are still wanted is not the healer's call.
Author
Member

Worsened: 98% / 6.6 G free -> 99% / 4.5 G free; the named residue is all still there

Measured on matou-workstation (matou-dev-server-01) by the dev-factory watchdog healer, heal run heal-Matou-dev-factory-1794128217-3984109, 2026-11-08 08:5xZ. This box is not the fault in that incident (that is #335 / bens-mac-04) — I measured it because the incident was a disk-full class and host.txt is in every bundle.

/dev/vda1  232G  227G  4.6G  99% /      (inodes fine: 12% used)

The app-build-* / payload-manual-* residue this ticket names has not been touched:

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

That is ~76 G in app-build-* + payload-manual-* alone, consistent with the 77 G in the title. Still human work: it is outside /tmp, so the healer charter's destructive-cleanup rule forbids an agent removing it, and only a human can say which of those build/payload trees are live.

What I did clear (the part inside /tmp)

This host carries the #338 leak too — 6973 leaked /tmp/matou-heal-* evidence/clone dirs, oldest 2026-10-25, across every consumer repo (idss 413, dev-factory 304, coa 302, ai-company-os 105, matou-app 95, pregnancy-navigator 84, matou-website 81, plus 5585 of the matou-heal-x-y test-fixture shape). I removed the 3694 of them older than 3 days — inside /tmp, so within the charter, and a 3-day floor cannot touch a live healer (the heal ceiling is well under an hour).

Freed: 120 M (4405 M -> 4525 M avail). 3279 dirs remain (all newer than 3 days, including this run's two).

So this is a rounding error against the 76 G above — it does not change this ticket's severity, and it will re-accrete until #338 lands a retention sweep. Recording it so the next healer does not re-measure the same leak and so #338 has a second host's numbers.

## Worsened: 98% / 6.6 G free -> **99% / 4.5 G free**; the named residue is all still there Measured on `matou-workstation` (`matou-dev-server-01`) by the `dev-factory` watchdog healer, heal run `heal-Matou-dev-factory-1794128217-3984109`, 2026-11-08 08:5xZ. This box is not the fault in that incident (that is #335 / bens-mac-04) — I measured it because the incident was a disk-full class and `host.txt` is in every bundle. ``` /dev/vda1 232G 227G 4.6G 99% / (inodes fine: 12% used) ``` The `app-build-*` / `payload-manual-*` residue this ticket names has not been touched: ``` 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 ``` That is ~76 G in `app-build-*` + `payload-manual-*` alone, consistent with the 77 G in the title. Still human work: it is outside `/tmp`, so the healer charter's destructive-cleanup rule forbids an agent removing it, and only a human can say which of those build/payload trees are live. ### What I did clear (the part inside `/tmp`) This host carries the #338 leak too — **6973** leaked `/tmp/matou-heal-*` evidence/clone dirs, oldest 2026-10-25, across every consumer repo (`idss` 413, `dev-factory` 304, `coa` 302, `ai-company-os` 105, `matou-app` 95, `pregnancy-navigator` 84, `matou-website` 81, plus 5585 of the `matou-heal-x-y` test-fixture shape). I removed the 3694 of them older than 3 days — inside `/tmp`, so within the charter, and a 3-day floor cannot touch a live healer (the heal ceiling is well under an hour). Freed: **120 M** (4405 M -> 4525 M avail). 3279 dirs remain (all newer than 3 days, including this run's two). So this is a rounding error against the 76 G above — it does not change this ticket's severity, and it will re-accrete until #338 lands a retention sweep. Recording it so the next healer does not re-measure the same leak and so #338 has a second host's numbers.
Owner

Measured on matou-workstation 2026-11-18 (interactive session, at Ben's request to clear this ticket):

/dev/vda1  232G  138G  94G  60% /

All ten app-build-<sha> / payload-manual-<sha> directories named in the body are gone (reclaimed before this check; not by this session). Nothing was deleted by this session. Largest remaining under /home/dev: swarm 28 G, drives 4.8 G, session-runner 3.9 G. Docker: 6.2 G of images reclaimable, build cache essentially all active.

Closing: the disk is at 60%, well clear of the #305/#335 failure mode.

Two things this does not fix, left for Ben:

  • It will recur. The directories come from hand build scripts in /home/dev (build-idss-deb-at.sh, build-idss-deb-at-nofetch.sh), which create one app-build-<sha> + payload-manual-<sha> pair per build sha and never remove the previous pair. They are not factory-owned, so not changed here.
  • No disk floor is declared. ~/swarm/host-registry.conf on this host has no min-free-gb, so #315's dispatch-side floor is off and nothing stands the host down if it fills again. This matters more once the dispatcher (#353, ADR 0009) lives on this host.
Measured on `matou-workstation` 2026-11-18 (interactive session, at Ben's request to clear this ticket): ``` /dev/vda1 232G 138G 94G 60% / ``` All ten `app-build-<sha>` / `payload-manual-<sha>` directories named in the body are gone (reclaimed before this check; not by this session). Nothing was deleted by this session. Largest remaining under `/home/dev`: `swarm` 28 G, `drives` 4.8 G, `session-runner` 3.9 G. Docker: 6.2 G of images reclaimable, build cache essentially all active. Closing: the disk is at 60%, well clear of the #305/#335 failure mode. Two things this does not fix, left for Ben: - **It will recur.** The directories come from hand build scripts in `/home/dev` (`build-idss-deb-at.sh`, `build-idss-deb-at-nofetch.sh`), which create one `app-build-<sha>` + `payload-manual-<sha>` pair per build sha and never remove the previous pair. They are not factory-owned, so not changed here. - **No disk floor is declared.** `~/swarm/host-registry.conf` on this host has no `min-free-gb`, so #315's dispatch-side floor is off and nothing stands the host down if it fills again. This matters more once the dispatcher (#353, ADR 0009) lives on this host.
ben 2026-11-18 20:08:26 +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.

Dependencies

No dependencies set.

Reference
Matou/dev-factory#340
No description provided.