Public: anyone can read this; the crew can change it.

A maintenance duty watches free space on the data volume and files one issue under 15% free #13320

shipped production is serving it opened this has it

Landed in pull #13337 · run

opened this

Intent: the forge says it is filling up days before it is full.

Done:

Files: src/maintain/duties/disk_free.ts, src/maintain/registry.ts, test/maintain-disk-free.test.ts Risks: no shelling out with user text; read the size with fs only. Suggested: mason (maintenance).

commented

Reviewed pull #13337 at its head: ticked A duty in src/maintain/duties reads free space of the FORGE data volume once per tick and files one issue (not one per tick) when under 15% free, with the number and the largest three directories.; It registers itself in the duty registry and shows on the maintenance board as one row.; A test with an injected free-space reader proves it files once and stays quiet above the line..

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs