A definition naming callers is refused (a field the format does not know); Callers, DefaultCallers, EffectiveCallers, CallerEntryProblem and the Caller constants go. The test seat list's seats lose their callers. The seat mesh-delivery-checker's bootstrap, test and captured copies go. The copies of git, mesh-delivery and mesh-catalog (bootstrap, test, captured) have only their callers lines taken out by hand so this commit's tests are green: they are replaced by mesh-delivery's contracts files in sdk-seat-copies-h1's remainder. Builds: design 47 H §752, §764 (The checker, Every seat contract), H-A-41, H-A-42, H-A-57
128 lines
2.7 KiB
JSON
128 lines
2.7 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"
|
|
}
|
|
},
|
|
{
|
|
"name": "check",
|
|
"body": {
|
|
"$ref": "#/defs/StepAsk"
|
|
}
|
|
},
|
|
{
|
|
"name": "step",
|
|
"body": {
|
|
"$ref": "#/defs/StepAsk"
|
|
}
|
|
},
|
|
{
|
|
"name": "recheck",
|
|
"body": {
|
|
"$ref": "#/defs/StepAsk"
|
|
}
|
|
}
|
|
],
|
|
"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
|
|
},
|
|
{
|
|
"name": "detected-steps",
|
|
"template": "state",
|
|
"history": 1,
|
|
"description": "each artifact's detected steps, one key per artifact (design 47 G section 326, section 414)",
|
|
"key-forms": [
|
|
{
|
|
"key": "<module>.<artifact>",
|
|
"value": {
|
|
"$ref": "#/defs/DetectedSteps"
|
|
},
|
|
"description": "an artifact's detected steps"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"family": {
|
|
"name": "node-build-node.events",
|
|
"max-age-days": 7
|
|
}
|
|
}
|