B7 (1) acted-lifetimes: acted is key-ttl with max-mib 4; marks take the lifetime acted-days (30), the release record none; keys of no form go at the start

Builds: design 47 H2 H-A-720 (1) (2) (3) (4)
This commit is contained in:
2026-11-25 17:34:24 +01:00
parent db3e853cb7
commit a84db91177
6 changed files with 141 additions and 6 deletions
+18 -1
View File
@@ -135,7 +135,7 @@
{ "name": "toolchains-heard", "history": 1, "max-mib": 8 },
{ "name": "waits", "history": 1, "max-mib": 4 },
{ "name": "reserved", "history": 1, "max-mib": 8 },
{ "name": "acted", "history": 1, "max-mib": 1 },
{ "name": "acted", "history": 1, "key-ttl": true, "max-mib": 4 },
{ "name": "asked", "history": 1, "max-mib": 8 },
{ "name": "reasks", "history": 1, "max-mib": 8 },
{ "name": "first-views", "history": 1, "max-mib": 8 },
@@ -232,6 +232,14 @@
"trusted": false,
"default": 30
},
"acted-days": {
"type": "number",
"description": "how many days a mark of an event or an ask acted on (state acted) is kept after its last write; the mark outlives every delivery of its event by far (design 47 H2 H-A-720).",
"minimum": 1,
"maximum": 365,
"trusted": false,
"default": 30
},
"released-kept": {
"type": "number",
"description": "how many of a module's last releases the builder keeps, by fingerprint, to judge a rerun of a released build's step (design 47 G A-456b); the oldest is dropped.",
@@ -332,6 +340,14 @@
"mode": "0600",
"content": "${config:publish-pause-max}"
},
{
"id": "acted-days",
"type": "file",
"path": "${dir:state}/acted-days",
"owner": "mesh-delivery-builder",
"mode": "0600",
"content": "${config:acted-days}"
},
{
"id": "released-kept",
"type": "file",
@@ -371,6 +387,7 @@
"MESH_BUILDER_PUBLISH_PAUSE_FILE": "${dir:state}/publish-pause",
"MESH_BUILDER_PUBLISH_PAUSE_MAX_FILE": "${dir:state}/publish-pause-max",
"MESH_BUILDER_PUBLISH_TRIES_FILE": "${dir:state}/publish-tries",
"MESH_BUILDER_ACTED_DAYS_FILE": "${dir:state}/acted-days",
"MESH_BUILDER_RELEASED_KEPT_FILE": "${dir:state}/released-kept"
},
"user": "mesh-delivery-builder",