Design 47 H2: H-A-510, the runner's test-runs cap is its bucket's and the Ager ages by fill

This commit is contained in:
2026-11-23 00:19:05 +01:00
parent 2d31e82e6c
commit 9b0a236cc6
@@ -1410,3 +1410,14 @@ The lead's one-line answers to the questions H2's develop and review raise (impl
process's standard log, answers the rest with no error; the error stays for a node whose keys disagree; signature and
callers unchanged (least code, one place). mesh-contracts is published first; its importers require it at the zero
version and the builder resolves the newest.
- **H-A-510 (the runner's test-runs cap is its bucket's, and the Ager ages by fill, 00:19)** 23 Nov 00:10: the runner
refused every new test run with "the state test-runs holds 16777365 of its 16777216 bytes, so no test run is asked
(test-runs-cap-mib)": its default cap setting is 16 MiB and its default keeping time 168 h, while its bucket on the
bus is 64 MiB (the manifest's max-mib) and holds 1,171 runs of two days; seven days of runs never fit sixteen
mebibytes, so the runner stops every pipeline of the mesh once the state fills, and the setting could not be changed
tonight (H-A-509). So: the cap setting's default is the bucket's max-mib (read from the manifest the runner runs from,
never a second number), the keeping time's default is 48 h, and the Ager ages by fill as well as by time: at nine
tenths of the cap it deletes the oldest ENDED runs (their output objects with them) until the fill is under eight
tenths, saying how many and how old in one journal line; a run that has not ended is never aged by fill. The cap is a
guard that never stops the mesh by itself. P-failure-loud; build capacity and the operator's time are the scarcest
resources.