Files
mesh-delivery/modules/mesh-delivery-contracts/seats/node-build-image/fixtures/events.json
T
jschoubben fad9f059ee BM4b (sdk): an end over the steps state's value is read through the verb answer
A step's end is an event, not a verb's answer, so an end over what the steps
state's value or step-ended carries has a reader of its own: keepOver keeps it
in the steps objects as answer.<ask>, the step key and step-ended carry
answer-object in place of output-object, and the build seats gain the read
verb answer (ask and call, marked chunks); output stays the run text's reader.
Step.Whole and StepEnded.ReadOutput read through answer.

Builds: design 47 H2 §791; H-A-412 (2) and its addendum
2026-11-22 01:08:58 +01:00

96 lines
2.8 KiB
JSON

[
{
"name": "a lint step ended passed on its node",
"of": "event:step-ended",
"subject": "mesh.seat.node-build-image.event.step-ended.anchor",
"given": {
"v": 1,
"id": "m2kx9a1b3c4d5e",
"asker": "mesh-delivery-pipeline",
"ask": "m2kx9a1b3c4d5e",
"pipeline": "main.12.nats",
"step": "lint",
"module": "nats",
"artifact": "nats:program",
"commit": "0123456789abcdef0123456789abcdef01234567",
"fingerprint": "fp-0123",
"node": "anchor",
"outcome": "passed",
"started": "2026-11-10T10:00:00Z",
"ended": "2026-11-10T10:02:00Z",
"at": "2026-11-10T10:02:00Z"
}
},
{
"name": "a lint step that could not run, naming the part not heard",
"of": "event:step-ended",
"subject": "mesh.seat.node-build-image.event.step-ended.home-server",
"given": {
"v": 1,
"id": "m2kx9a1b3c4d5f",
"asker": "mesh-delivery-pipeline",
"ask": "m2kx9a1b3c4d5f",
"pipeline": "main.12.nats",
"step": "lint",
"module": "nats",
"artifact": "nats:program",
"commit": "0123456789abcdef0123456789abcdef01234567",
"fingerprint": "fp-0123",
"node": "home-server",
"outcome": "could not run",
"said": "the sandbox could not fetch novox/mesh-sdk",
"answer-object": "answer.m2kx9a1b3c4d5f",
"at": "2026-11-10T10:02:00Z"
}
},
{
"name": "a node's toolchain reported",
"of": "event:toolchain-reported",
"subject": "mesh.seat.node-build-image.event.toolchain-reported.anchor",
"given": {
"node": "anchor",
"language": "go",
"version": "1.26.0",
"recipe": "1",
"digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
},
{
"name": "a running ask says its progress",
"of": "event:step-progress",
"subject": "mesh.seat.node-build-image.event.step-progress.anchor",
"given": {
"asker": "runner",
"ask": "a1b2",
"phase": "fetch",
"at": "2026-11-11T10:01:00Z"
}
},
{
"name": "a builder's build ended, naming its asker and no commit or fingerprint (G 548)",
"of": "event:step-ended",
"subject": "mesh.seat.node-build-image.event.step-ended.anchor",
"given": {
"v": 1,
"id": "m2kx9a1b3c4d6a",
"asker": "mesh-delivery-builder",
"ask": "m2kx9a1b3c4d6a",
"node": "anchor",
"outcome": "failed",
"said": "the build failed",
"at": "2026-11-11T10:03:00Z"
}
},
{
"name": "an ask taken, whatever its asker (G 602)",
"of": "event:ask-taken",
"subject": "mesh.seat.node-build-image.event.ask-taken.anchor",
"given": {
"asker": "mesh-delivery-builder",
"ask": "m2kx9a1b3c4d6a",
"node": "anchor",
"at": "2026-11-11T10:00:00Z"
}
}
]