The runner's test-runs cap is its bucket's, and the Ager ages ended runs by fill (design 47 H2 H-A-510) #345

Merged
mesh-tools merged 1 commits from fix/test-runs-fill into main 2026-11-22 23:41:38 +00:00
Member

Design 47 H2, lead answers H-A-510 and H-A-510 addendum (hq design/47-H1-answers-59, pull request #797).

Runner (mesh-delivery-pipeline): the cap of the state test-runs is the bucket's max bytes read from the bus, the one truth; the setting test-runs-cap-mib, its file and env line leave the manifest; a run is refused only when the bucket is full by that number; test-runs-kept defaults to 48 h. The Ager ages by fill: at nine tenths of the cap it deletes the oldest ended runs with their output objects until under eight tenths, one journal line, never an unended run. Live: the state held 16.8 MB against a 16 MiB setting while the bucket holds 64 MiB; every test step of every pipeline ended could-not-run since 00:10. Manifest changed (validator: same verdict as the trunk).

Review: one round, mesh-code-reviewer; the new subtest fails without the change; go test -race, vet both levels and the cmd integration package pass.

Reviewed-by: mesh-code-reviewer@shanks at 2ce0acced1

Design 47 H2, lead answers H-A-510 and H-A-510 addendum (hq design/47-H1-answers-59, pull request #797). Runner (mesh-delivery-pipeline): the cap of the state test-runs is the bucket's max bytes read from the bus, the one truth; the setting test-runs-cap-mib, its file and env line leave the manifest; a run is refused only when the bucket is full by that number; test-runs-kept defaults to 48 h. The Ager ages by fill: at nine tenths of the cap it deletes the oldest ended runs with their output objects until under eight tenths, one journal line, never an unended run. Live: the state held 16.8 MB against a 16 MiB setting while the bucket holds 64 MiB; every test step of every pipeline ended could-not-run since 00:10. Manifest changed (validator: same verdict as the trunk). Review: one round, mesh-code-reviewer; the new subtest fails without the change; go test -race, vet both levels and the cmd integration package pass. Reviewed-by: mesh-code-reviewer@shanks at 2ce0acced17d59bb2e1766c6357133e2392a952b
mesh-tools added 1 commit 2026-11-22 23:41:10 +00:00
The runner refused every test run once test-runs held 16 MiB, its
setting's default, while its bucket is 64 MiB: seven days of runs never
fit, so every pipeline stopped. The cap is now the bucket's max bytes,
read from the bus (the KV stream's Config.MaxBytes, which runsFill
already read): the bucket is the one truth of the manifest's max-mib,
so the runner keeps no second number and does not read its manifest.

The manifest changes: the setting test-runs-cap-mib, its file resource
test-runs-cap and its environment line go, and test-runs-kept's
default is 48h (code and manifest). At nine tenths of the cap the Ager
deletes the oldest ended runs with their output objects, in the step
log's order from the test runs' retention, until the fill is under
eight tenths, said in one journal line of how many and how old; a run
not ended is never aged by fill.

Builds: design 47 H2 H-A-510, H-A-510 addendum (lead answer)
mesh-tools merged commit c0c6228ebb into main 2026-11-22 23:41:38 +00:00
mesh-tools deleted branch fix/test-runs-fill 2026-11-22 23:41:38 +00:00
Author
Member

{
"records": [
{
"instance": "record/main_128_b0a27a7a",
"sequence": 50842,
"bytes": 488,
"of-bytes": 65536,
"waits": "its difference is not known yet",
"record": {
"milestone": "main.128",
"branch": "main",
"source": 128,
"call": "30326116eb4cd739",
"heads": {
"novox/mesh-delivery@345": "c0c6228ebb898df7bdee6ba03c893559bb6181b8"
},
"opened": "2026-11-22T23:41:39.166073453Z",
"form": 3,
"trace": {
"pulls": [
"novox/mesh-delivery@345"
],
"commits": [
"c0c6228ebb898df7bdee6ba03c893559bb6181b8"
],
"source": "128",
"call": "30326116eb4cd739",
"by": "lead-47@shanks",
"account": "shanks.node-tools",
"at": "2026-11-22T23:41:39.142Z"
},
"movers": 1,
"merge-called": "2026-11-22T23:41:39.142Z"
},
"movers-per-outcome": {
"taken-in": 1
}
}
]
}

<!-- mesh-delivery:view --> { "records": [ { "instance": "record/main_128_b0a27a7a", "sequence": 50842, "bytes": 488, "of-bytes": 65536, "waits": "its difference is not known yet", "record": { "milestone": "main.128", "branch": "main", "source": 128, "call": "30326116eb4cd739", "heads": { "novox/mesh-delivery@345": "c0c6228ebb898df7bdee6ba03c893559bb6181b8" }, "opened": "2026-11-22T23:41:39.166073453Z", "form": 3, "trace": { "pulls": [ "novox/mesh-delivery@345" ], "commits": [ "c0c6228ebb898df7bdee6ba03c893559bb6181b8" ], "source": "128", "call": "30326116eb4cd739", "by": "lead-47@shanks", "account": "shanks.node-tools", "at": "2026-11-22T23:41:39.142Z" }, "movers": 1, "merge-called": "2026-11-22T23:41:39.142Z" }, "movers-per-outcome": { "taken-in": 1 } } ] } <!-- mesh-act:view.record/main_128_b0a27a7a.novox/mesh-delivery#345@1795390974060976466.cc281f6f -->
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/mesh-delivery#345