B4 (H-A-454): publishes is the builder's own work-queue stream, read by the verb publish-queue

The work queue publishes is declared in the manifest's old streams section
(retention work-queue, duplicates 24 h, max-deliveries 10, 64 MiB, 7 days), the
module's own stream consumed on the module's account, so the bus binding asked
of the broker seat goes; the consumers per holder and class are still made at
run time. The seat mesh-builds gains the read verb publish-queue, served by the
builder from its own stream (counts per holder and class, oldest and newest, a
list capped at 50, capped past 4,000 items read), and builder_publish_queue asks
it in place of the runtime's stream and work-queue reads. Two whole tests of a
gone artifact are folded into one, so the builder's integration count stays at
18 with the publishes whole test.

Builds: design 47 H2 §793, §819, §820; H-A-440 (1), H-A-446 (2), H-A-454 and its addendum
This commit is contained in:
2026-11-22 02:35:32 +01:00
parent d6d15a5497
commit b6a7e0bad3
16 changed files with 520 additions and 135 deletions
+7 -3
View File
@@ -9,7 +9,8 @@
"serves": [
"reserved",
"published",
"drop"
"drop",
"publish-queue"
]
}
],
@@ -95,6 +96,7 @@
"seat:mesh-artifact-sweep.held",
"seat:mesh-builds.reserved",
"seat:mesh-builds.drop",
"seat:mesh-builds.publish-queue",
"seat:mesh-catalog.versions",
"seat:mesh-hand-acts.hand-act",
"seat:mesh-module-assigner.assignments",
@@ -149,7 +151,8 @@
"streams": [
{ "name": "waits", "events": ["wait-held.**", "wait-ended.**"], "max-age-days": 7, "max-mib": 16 },
{ "name": "mesh-delivery-builder-builds", "events": ["build.ended.**"], "max-age-days": 7, "max-mib": 16, "last-per-subject": true },
{ "name": "mesh-delivery-builder-findings", "events": ["finding-written.*", "finding-cleared.*", "findings-stated.*"], "max-age-days": 7, "max-mib": 16 }
{ "name": "mesh-delivery-builder-findings", "events": ["finding-written.*", "finding-cleared.*", "findings-stated.*"], "max-age-days": 7, "max-mib": 16 },
{ "name": "publishes", "events": ["publish.**"], "retention": "work-queue", "duplicates": 24, "max-deliveries": 10, "max-age-days": 7, "max-mib": 64 }
],
"config": {
"toolchain-wait-minutes": {
@@ -329,7 +332,8 @@
"serves": [
"seat:mesh-builds.reserved",
"seat:mesh-builds.published",
"seat:mesh-builds.drop"
"seat:mesh-builds.drop",
"seat:mesh-builds.publish-queue"
],
"run": [
"./mesh-delivery-builder"