Builds: design 47 G §22, §116, §206, §271, §326, §338 (callers: steps the runner and the indexer, drop the runner and the builder, kept-artifact the node-engines), §24, §331 (step-ended.<node>, 128 MiB), §370, §373 (the ask carries the version and each package member's digest), §203, §324 (acts build on the language). Not yet in this commit, left as the dev branch built them and not read against the lines: the accepted kind names (dev's 'step'; G-9 §415 names check.step, check.run, delivery.step), the state rename detected-steps (G-9 §414). Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
105 lines
2.9 KiB
JSON
105 lines
2.9 KiB
JSON
[
|
|
{
|
|
"name": "drop names the ask and why",
|
|
"of": "verb:drop.input",
|
|
"given": {
|
|
"id": "a1b2",
|
|
"by": "mesh-delivery-builder",
|
|
"why": "a newer fingerprint supersedes it"
|
|
}
|
|
},
|
|
{
|
|
"name": "kept-artifact asks",
|
|
"of": "verb:kept-artifact.input",
|
|
"given": {
|
|
"module": "artifact-store",
|
|
"fp": "src2:1480985e",
|
|
"digest": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd"
|
|
}
|
|
},
|
|
{
|
|
"name": "kept-artifact answers where the bytes are",
|
|
"of": "verb:kept-artifact.answer",
|
|
"given": {
|
|
"module": "artifact-store",
|
|
"fp": "src2:1480985e",
|
|
"digest": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
|
|
"size": 18874368,
|
|
"store": "mesh-build-go-kept",
|
|
"object": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd"
|
|
}
|
|
},
|
|
{
|
|
"name": "kept-artifact refuses a module that is claims no oci-artifact-registry",
|
|
"of": "verb:kept-artifact.answer",
|
|
"given": {
|
|
"module": "mesh-delivery-gate",
|
|
"fp": "src2:aaaaaaaa",
|
|
"refused": "claims no oci-artifact-registry",
|
|
"words": "mesh-delivery-gate claims no oci-artifact-registry: its build is fetched from the store"
|
|
}
|
|
},
|
|
{
|
|
"name": "kept-artifact refuses a build it no longer keeps",
|
|
"of": "verb:kept-artifact.answer",
|
|
"given": {
|
|
"module": "artifact-store",
|
|
"fp": "src2:1480985e",
|
|
"refused": "not kept",
|
|
"words": "this node keeps no build of artifact-store at src2:1480985e"
|
|
}
|
|
},
|
|
{
|
|
"name": "kept-artifact refuses a build kept under another digest",
|
|
"of": "verb:kept-artifact.answer",
|
|
"given": {
|
|
"module": "artifact-store",
|
|
"fp": "src2:1480985e",
|
|
"digest": "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
"refused": "digest differs",
|
|
"words": "artifact-store at src2:1480985e is kept as eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"
|
|
}
|
|
},
|
|
{
|
|
"name": "kept-artifact answers an error, never none",
|
|
"of": "verb:kept-artifact.answer",
|
|
"given": {
|
|
"module": "artifact-store",
|
|
"fp": "src2:1480985e",
|
|
"error": "the kept builds could not be read"
|
|
}
|
|
},
|
|
{
|
|
"name": "steps asks an artifact's pipeline steps at a commit",
|
|
"of": "verb:steps.input",
|
|
"given": {
|
|
"module": "nats",
|
|
"artifact": "nats:program",
|
|
"fingerprint": "fp-0123",
|
|
"fetch": {
|
|
"repository": "novox/mesh-catalog",
|
|
"commit": "0123456789abcdef0123456789abcdef01234567"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "steps answers lint and unit tests",
|
|
"of": "verb:steps.answer",
|
|
"given": {
|
|
"artifact": "nats:program",
|
|
"fingerprint": "fp-0123",
|
|
"steps": [
|
|
{
|
|
"step": "lint"
|
|
},
|
|
{
|
|
"step": "unit",
|
|
"packages": [
|
|
"./modules/nats"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|