Judge tests: testdata/beside takes mesh-catalog again at 99b9b826 (feat/47-H2-corrections)

Captured with the procedure testdata/beside/CAPTURED gives, from the joined mesh-catalog worktree; CAPTURED names the commit.

Builds: design 47 H2 H-A-428, H-A-430 (3) (the captured copy of the catalogue's head)
This commit is contained in:
2026-11-25 17:48:05 +01:00
parent 861c753f96
commit cc607f38e6
14 changed files with 240 additions and 65 deletions
+2 -2
View File
@@ -8,10 +8,10 @@ private addresses. That is acceptable while mesh-sdk is private; if it ever goes
a second place to clean besides the catalogue itself.
Only what go/catalogue's tests read is captured (R4b, issue 1379), copied here from mesh-sdk with the judge's tests
(issue 1585). mesh-host refreshed 2026-11-01 from its main, the catalogue 2026-11-22 from its feat/47-H2 (milestone 47/H2's group); before that it
(issue 1585). mesh-host refreshed 2026-11-01 from its main, the catalogue 2026-11-25 from its feat/47-H2-corrections (milestone 47/H2's corrections); before that it
was mesh-controller's copy, which still held two modules that had left the catalogue.
mesh-catalog 30a3e665e0070ae5b0ebfede985da5759af8affd (feat/47-H2, the delivery group's catalogue head; design 47 H2
mesh-catalog 99b9b826e51cf33a5e73a32efdd34420e82321c3 (feat/47-H2-corrections, the corrections' catalogue head; design 47 H2
H-A-428, H-A-430 (3)) modules/*/module.json, modules/*/files/**, modules/*/templates/**, predefined.json
mesh-host 233bb23bbcb1a829ce2a6164a31a5c5cc4f3d950 internal/apply/placement_guard.go
@@ -24,6 +24,7 @@
"hold",
"list",
"mirror",
"name-of",
"publish",
"publish-part",
"release",
@@ -254,6 +255,10 @@
"name": "transfers",
"max-mib": 8
},
{
"name": "fingerprints",
"max-mib": 16
},
{
"name": "idle",
"key-ttl": true,
@@ -3,6 +3,10 @@
"version": "0.1",
"class": "core",
"moved": true,
"check-needs": [
"node-build-node"
],
"runs-as": "gitea",
"requires": [
"postgres-database",
"route",
@@ -36,6 +40,10 @@
"admin": "${dir:state}/admin.secret"
}
},
"own-secrets": {
"broker": "${dir:state}/broker"
},
"secrets-owner": "gitea",
"capabilities": [
"container-runtime"
],
@@ -268,6 +276,16 @@
}
},
"resources": [
{
"id": "account",
"type": "user",
"name": "gitea",
"shell": "/usr/bin/nologin",
"home": "/var/lib/gitea",
"groups": [
"docker"
]
},
{
"id": "mesh-state",
"type": "directory",
@@ -656,6 +674,10 @@
"name": "transfers",
"max-mib": 8
},
{
"name": "fingerprints",
"max-mib": 16
},
{
"name": "idle",
"key-ttl": true,
@@ -16,10 +16,14 @@
"serves": [
"reload",
"workspaces",
"windows"
"windows",
"open"
]
}
],
"invokes": [
"seat:mesh-hand-acts.hand-act"
],
"tools": [
"i3_focus",
"i3_move",
@@ -68,6 +72,11 @@
"type": "package",
"package": "dex"
},
{
"id": "package-xdg-utils",
"type": "package",
"package": "xdg-utils"
},
{
"id": "config-dir",
"type": "directory",
@@ -81,10 +81,10 @@
},
"again-delays": {
"type": "string",
"description": "The delays a step ask whose fetch or publish met its holder away is given again after: after its first run, then after its second, as durations such as 15s,60s (design 47 H2 §799); a third run met so ends the step failed with why fetch: or publish:.",
"description": "The delays a step ask whose fetch or publish met its holder away is given again after: after its first run, then after its second, as durations such as 15s,90s (design 47 H2 §799); a third run met so ends the step failed with why fetch: or publish:.",
"trusted": false,
"runtime": true,
"default": "15s,60s"
"default": "15s,90s"
},
"prune-mark": {
"type": "number",
@@ -131,7 +131,7 @@
"options": {
"ttl-seconds": 172800,
"objects-max-mib": 256,
"max-mib": 128
"max-mib": 64
}
},
{
@@ -46,10 +46,10 @@
},
"again-delays": {
"type": "string",
"description": "The delays a step ask whose fetch or publish met its holder away is given again after: after its first run, then after its second, as durations such as 15s,60s (design 47 H2 §799); a third run met so ends the step failed with why fetch: or publish:.",
"description": "The delays a step ask whose fetch or publish met its holder away is given again after: after its first run, then after its second, as durations such as 15s,90s (design 47 H2 §799); a third run met so ends the step failed with why fetch: or publish:.",
"trusted": false,
"runtime": true,
"default": "15s,60s"
"default": "15s,90s"
}
},
"tools": [
@@ -50,10 +50,10 @@
},
"again-delays": {
"type": "string",
"description": "The delays a step ask whose fetch or publish met its holder away is given again after: after its first run, then after its second, as durations such as 15s,60s (design 47 H2 §799); a third run met so ends the step failed with why fetch: or publish:.",
"description": "The delays a step ask whose fetch or publish met its holder away is given again after: after its first run, then after its second, as durations such as 15s,90s (design 47 H2 §799); a third run met so ends the step failed with why fetch: or publish:.",
"trusted": false,
"runtime": true,
"default": "15s,60s"
"default": "15s,90s"
},
"prune-mark": {
"type": "number",
@@ -78,6 +78,7 @@
"build_node_fetch",
"build_node_test",
"build_node_build",
"build_node_imports",
"build_node_release",
"build_node_step",
"build_node_steps",
@@ -1,4 +1,3 @@
{
"record-retention": 90,
"untaken-bound": 10
}
@@ -22,6 +22,7 @@
"mesh-delivery-forge-bridge.forge.*.*.*.head-moved",
"mesh-delivery-indexer.take-in.taken",
"mesh-pipeline-runner.pipeline-started.*.*",
"mesh-pipeline-runner.mover-added.*.*",
"mesh-pipeline-runner.pipeline-ended.*.*",
"mesh-pipeline-runner.wait-held.*.*",
"mesh-pipeline-runner.wait-ended.*.*",
@@ -37,11 +38,16 @@
"storage": "ledger",
"template": "ledger",
"options": {
"max-mib": 1024
"max-mib": 3072
},
"configuration": {
"max-age-days": 90,
"ended-days": 30
},
"types": [
{
"name": "record",
"ends-with": "ended",
"schema": {
"milestone": {
"type": "string"
@@ -103,30 +109,9 @@
"ended": {
"type": "object"
},
"id": {
"type": "string"
},
"act": {
"type": "string"
},
"repository": {
"type": "string"
},
"number": {
"type": "integer"
},
"head": {
"type": "string"
},
"words": {
"type": "string"
},
"recovery": {
"type": "object"
},
"owed": {
"type": "object"
},
"movers": {
"type": "integer"
},
@@ -141,6 +126,12 @@
},
"phases": {
"type": "object"
},
"ends": {
"type": "integer"
},
"pipeline-ends": {
"type": "integer"
}
},
"operations": [
@@ -208,31 +199,15 @@
"into": "away",
"key": "node"
},
{
"name": "act",
"effect": "set-entry",
"fields": [
"id",
"act",
"repository",
"number",
"head",
"outcome",
"words",
"at",
"owed"
],
"into": "acts",
"key": "id",
"sequence": true
},
{
"name": "end",
"effect": "set-fields",
"fields": [
"ended",
"delivery-time",
"class"
"class",
"ends",
"pipeline-ends"
],
"sequence": true
}
@@ -240,6 +215,7 @@
},
{
"name": "mover",
"ends-with": "ended",
"schema": {
"record": {
"type": "string"
@@ -279,6 +255,9 @@
},
"class": {
"type": "string"
},
"ended": {
"type": "object"
}
},
"operations": [
@@ -324,6 +303,14 @@
"into": "outcomes",
"key": "key",
"sequence": true
},
{
"name": "end",
"effect": "set-fields",
"fields": [
"ended"
],
"sequence": true
}
],
"indexes": [
@@ -335,6 +322,80 @@
}
]
},
{
"name": "act",
"ends-with": "ended",
"schema": {
"record": {
"type": "string"
},
"id": {
"type": "string"
},
"act": {
"type": "string"
},
"repository": {
"type": "string"
},
"number": {
"type": "integer"
},
"head": {
"type": "string"
},
"outcome": {
"type": "string"
},
"words": {
"type": "string"
},
"at": {
"type": "string"
},
"owed": {
"type": "object"
},
"ended": {
"type": "object"
}
},
"operations": [
{
"name": "act",
"effect": "set-fields",
"fields": [
"record",
"id",
"act",
"repository",
"number",
"head",
"outcome",
"words",
"at",
"owed"
],
"sequence": true
},
{
"name": "end",
"effect": "set-fields",
"fields": [
"ended"
],
"sequence": true
}
],
"indexes": [
{
"name": "acts",
"on": [
"record"
]
}
]
},
{
"name": "held",
"schema": {
@@ -429,6 +490,8 @@
"gate_record_end",
"gate_record_repair",
"gate_records",
"gate_records_expiring",
"gate_records_follow_ends",
"gate_source",
"gate_source_again",
"gate_source_seed",
@@ -438,14 +501,6 @@
"mesh-delivery-gate_state_prune_now"
],
"config": {
"record-retention": {
"type": "number",
"description": "days a delivery record is kept from when it opened (design 47 *The delivery record*): ninety covers every trace asked of a past delivery so far; when a record is removed at its retention, the gate says freed for each graph revision it pinned. Nothing else is removed to make room.",
"minimum": 1,
"maximum": 3650,
"trusted": false,
"default": 90
},
"untaken-bound": {
"type": "number",
"description": "minutes a watched branch's head may stand that no merge call delivered before the gate raises head-untaken (design 47 H §740); the gate keeps one deadline timer for the earliest.",
@@ -500,7 +555,6 @@
"path": "${dir:state}/settings.json",
"mode": "0600",
"takes-config": [
"record-retention",
"untaken-bound"
],
"merge": "json",
@@ -188,7 +188,8 @@
"knowledge_move",
"knowledge_move_check",
"knowledge_overview",
"knowledge_overview_reread"
"knowledge_overview_reread",
"knowledge_restore"
],
"emits": [
"reserved",
@@ -67,7 +67,9 @@
"seat:mesh-catalog.revision",
"seat:mesh-catalog.registrations",
"seat:mesh-delivery.source",
"seat:mesh-catalog.seat-definitions"
"seat:mesh-catalog.seat-definitions",
"seat:mesh-catalog.modules",
"seat:mesh-catalog.entry"
],
"consumes": [
"mesh-catalog.catalog-revision",
@@ -92,6 +94,12 @@
"description": "How many days a snapshot the keeper took before a drop or recreate, and its record, are kept (design 47 G §681, A-112). The keeper reads it at its start from its settings file; the tool nats_snapshots reads it as its configuration.",
"minimum": 1,
"default": 90
},
"twin-current-hours": {
"type": "number",
"description": "How many hours since a module's durable's twin last delivered it is current (design 47 H2, H-A-472): nats_consumer_remove removes a module's durable with no pulls waiting only while its twin has pulls waiting and a delivery within these hours. The grants part's manifest names the same setting for its orphaned durables. The tool reads it as its configuration at each call.",
"minimum": 1,
"default": 24
}
},
"streams": [
@@ -172,6 +180,7 @@
"nats_user_can",
"nats_snapshot_verify",
"nats_consumer_remove",
"nats_consumer_narrow",
"nats_bucket_remove",
"nats_stream_remove",
"nats_stream_purge",
@@ -21,6 +21,21 @@
"scope": "node"
}
],
"consumes": [
"node-engine.running"
],
"invokes": [
"seat:mesh-module-assigner.assignments",
"seat:node-resolver.uplink-names",
"seat:node-resolver.routes"
],
"tools": [
"uplink_sign_in",
"uplink_names_again",
"uplink_rating_again",
"uplink_publish_again",
"uplink_health"
],
"build": {
"artifacts": [
{
@@ -67,6 +82,28 @@
"reload-on": [
"config"
]
},
{
"id": "sign-in-state",
"type": "directory",
"path": "${machine:account-home}/.local/state/mesh/networkmanager",
"owner": "${machine:account}",
"mode": "0700",
"unknown": "module"
},
{
"id": "sign-in",
"type": "process",
"name": "networkmanager-sign-in",
"artifact": "tools",
"run": [
"./uplink-tools",
"watch"
],
"user": "${machine:account}",
"health": {
"kind": "unit"
}
}
]
}
@@ -0,0 +1,4 @@
# How long, in seconds, the guard gives one of the mesh's resolvers to answer, from the config value
# answer-within, written by the mesh (module systemd-resolved, novox/hq issue 1981). Replaced on every
# push; change the config value, never this file.
seconds=${config:answer-within}
@@ -1,6 +1,6 @@
{
"module": "systemd-resolved",
"version": "0.1",
"version": "0.2",
"class": "core",
"upgrade": {
"policy": "record",
@@ -28,7 +28,8 @@
"serves": [
"routes",
"route",
"unroute"
"unroute",
"uplink-names"
]
}
],
@@ -66,6 +67,10 @@
"suffix": {
"path": "/etc/node-resolver/suffix",
"template": "{{.Suffix}}\n"
},
"private-interface": {
"path": "/etc/node-resolver/private-interface",
"template": "mesh0\n"
}
},
"resources": [
@@ -82,6 +87,14 @@
"kind": "unit"
}
},
{
"id": "answer-within",
"type": "file",
"path": "/etc/node-resolver/answer-within",
"mode": "0644",
"trusted": false,
"template": "files/answer-within"
},
{
"id": "guard",
"type": "process",
@@ -94,6 +107,13 @@
"health": {
"kind": "unit"
}
},
{
"id": "uplink-names",
"type": "directory",
"path": "/var/lib/node-resolver",
"mode": "0755",
"unknown": "module"
}
],
"build": {
@@ -108,7 +128,21 @@
"loads": [
"resolver-tools"
]
},
{
"name": "files",
"kind": "archive",
"from": "files"
}
]
},
"config": {
"answer-within": {
"type": "number",
"description": "How long, in seconds, the guard gives one of the mesh's resolvers to answer its question each round (novox/hq issue 1981): while none answers within it, a network's own servers answer every name, so a sign-in page can be found. 1 suits a tunnel's usual round trip; a slower link (tethered, abroad) needs more, or the guard takes a slow mesh for a silent one.",
"minimum": 0.2,
"maximum": 5,
"default": 1
}
}
}