Files
mesh-delivery/modules/mesh-delivery-contracts/seats/node-build-node/fixtures/events.json
T
jschoubben 1767d7b4e9 D3b: an install ends in a step-ended naming the step install
The build-step part's step enum and the delivery SDK's PipelineSteps gain
install; an install's end copies the module and the commit its ask names and
carries the archive, and the SDK's check takes it so.

Builds: design 47 H2 §800; H-A-367 (4), H-A-379
2026-11-22 00:04:05 +01:00

165 lines
4.6 KiB
JSON

[
{
"name": "a unit step ended passed on its node, with its counts and what it carried",
"of": "event:step-ended",
"subject": "mesh.seat.node-build-node.event.step-ended.anchor",
"given": {
"v": 1,
"id": "m2kx9a1b3c4d5e",
"asker": "mesh-delivery-pipeline",
"ask": "m2kx9a1b3c4d5e",
"pipeline": "main.12.nats",
"step": "unit",
"module": "nats",
"artifact": "nats:program",
"commit": "0123456789abcdef0123456789abcdef01234567",
"fingerprint": "fp-0123",
"node": "anchor",
"outcome": "passed",
"tests": {
"unit": 14
},
"carried": [
{
"package": "./modules/nats/a",
"digest": "sha256:bbbb",
"level": "unit"
}
],
"kept": [
{
"package": "./modules/nats/b",
"digest": "sha256:cccc",
"level": "unit"
}
],
"started": "2026-11-10T10:00:00Z",
"ended": "2026-11-10T10:02:00Z",
"at": "2026-11-10T10:02:00Z"
}
},
{
"name": "an integration step that could not run, naming the part not heard",
"of": "event:step-ended",
"subject": "mesh.seat.node-build-node.event.step-ended.home-server",
"given": {
"v": 1,
"id": "m2kx9a1b3c4d5f",
"asker": "mesh-delivery-pipeline",
"ask": "m2kx9a1b3c4d5f",
"pipeline": "main.12.nats",
"step": "integration",
"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",
"output-object": "mesh-build-go_sent-objects/m2kx9a1b3c4d5f",
"at": "2026-11-10T10:02:00Z"
}
},
{
"name": "a node's toolchain reported",
"of": "event:toolchain-reported",
"subject": "mesh.seat.node-build-node.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-node.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-node.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-node.event.ask-taken.anchor",
"given": {
"asker": "mesh-delivery-builder",
"ask": "m2kx9a1b3c4d6a",
"node": "anchor",
"at": "2026-11-11T10:00:00Z"
}
},
{
"name": "an integration step passed with two tests not run and why",
"of": "event:step-ended",
"subject": "mesh.seat.node-build-node.event.step-ended.anchor",
"given": {
"v": 1,
"id": "m2kx9a1b3c4d60",
"asker": "mesh-delivery-pipeline",
"ask": "m2kx9a1b3c4d60",
"pipeline": "main.12.mesh-forge",
"step": "integration",
"module": "mesh-forge",
"node": "anchor",
"outcome": "passed",
"tests": {
"integration": 3
},
"not-run": [
{
"test": "TestTheForgeWhole",
"reason": "the step gives no npm tree"
},
{
"test": "TestTheForgeSeat",
"reason": "the step gives no npm tree"
}
],
"at": "2026-11-21T22:05:00Z",
"commit": "0123456789abcdef0123456789abcdef01234567",
"fingerprint": "fp-0456",
"artifact": "mesh-forge:bundle"
}
},
{
"name": "an install ended passed, naming its archive",
"of": "event:step-ended",
"subject": "mesh.seat.node-build-node.event.step-ended.anchor",
"given": {
"v": 1,
"id": "m2kx9a1b3c4d61",
"asker": "mesh-delivery-pipeline",
"ask": "m2kx9a1b3c4d61",
"pipeline": "main.12.mesh-forge",
"step": "install",
"module": "mesh-forge",
"commit": "0123456789abcdef0123456789abcdef01234567",
"node": "anchor",
"outcome": "passed",
"archive": "install.sha256-aaaa",
"at": "2026-11-21T22:03:00Z"
}
}
]