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
125 lines
2.6 KiB
JSON
125 lines
2.6 KiB
JSON
{
|
|
"format": 1,
|
|
"seat": "node-build-node",
|
|
"scope": "node",
|
|
"grain": "whole",
|
|
"domain": "Delivery",
|
|
"decision": "novox/hq ADR 0525, ADR 0536, ADR 0553",
|
|
"pulled-by-kind": true,
|
|
"yields": true,
|
|
"acts": [
|
|
{
|
|
"step": "build",
|
|
"on": "typescript",
|
|
"bound": "60m"
|
|
}
|
|
],
|
|
"accepts": [
|
|
{
|
|
"name": "delivery",
|
|
"body": {
|
|
"$ref": "#/defs/StepAsk"
|
|
},
|
|
"callers": [
|
|
"seat:mesh-builds"
|
|
]
|
|
},
|
|
{
|
|
"name": "check",
|
|
"body": {
|
|
"$ref": "#/defs/StepAsk"
|
|
},
|
|
"callers": [
|
|
"seat:mesh-delivery-checker"
|
|
]
|
|
},
|
|
{
|
|
"name": "step",
|
|
"body": {
|
|
"$ref": "#/defs/StepAsk"
|
|
},
|
|
"callers": [
|
|
"seat:mesh-pipeline-runner"
|
|
]
|
|
},
|
|
{
|
|
"name": "recheck",
|
|
"body": {
|
|
"$ref": "#/defs/StepAsk"
|
|
},
|
|
"callers": [
|
|
"seat:mesh-delivery-checker"
|
|
]
|
|
}
|
|
],
|
|
"description": "The Node build module on a node: it takes the asks of the builder and the checker, runs them as steps and answers.",
|
|
"includes": [
|
|
"build-step"
|
|
],
|
|
"states": [
|
|
{
|
|
"name": "steps",
|
|
"template": "state",
|
|
"key-forms": [
|
|
{
|
|
"key": "<node>.<id>",
|
|
"value": {
|
|
"$ref": "#/defs/Step"
|
|
},
|
|
"description": "a step on a node"
|
|
}
|
|
],
|
|
"description": "the steps this module runs",
|
|
"history": 5
|
|
},
|
|
{
|
|
"name": "pauses",
|
|
"template": "state",
|
|
"key-forms": [
|
|
{
|
|
"key": "paused.<node>",
|
|
"value": {
|
|
"$ref": "#/defs/Pause"
|
|
},
|
|
"description": "whether a node is paused"
|
|
},
|
|
{
|
|
"key": "dropped.<id>",
|
|
"value": {
|
|
"$ref": "#/defs/Drop"
|
|
},
|
|
"description": "an ask its caller no longer waits for"
|
|
},
|
|
{
|
|
"key": "capacity.<node>",
|
|
"value": {
|
|
"$ref": "#/defs/Capacity"
|
|
},
|
|
"description": "a node's capacity"
|
|
}
|
|
],
|
|
"description": "the pause and the capacity of each node",
|
|
"history": 1
|
|
},
|
|
{
|
|
"name": "toolchains",
|
|
"template": "state",
|
|
"key-forms": [
|
|
{
|
|
"key": "<node>.<language>",
|
|
"value": {
|
|
"$ref": "#/defs/Toolchain"
|
|
},
|
|
"description": "the toolchain a node reports"
|
|
}
|
|
],
|
|
"description": "the toolchains the nodes report",
|
|
"history": 1
|
|
}
|
|
],
|
|
"family": {
|
|
"name": "node-build-node.events",
|
|
"max-age-days": 7
|
|
}
|
|
}
|