GT2: a delivery record keeps its delivery time; gate_times judges it
The head entry keeps merge-called from its opening and the pipeline's phases from its end; a record whose every mover runs ends with delivery-time (from merge-called to the last running of its movers) and class (core when a mover's catalog entry, read once at its entry's opening, says core). gate_times answers each class's budget (budget-core 10m, budget-leaf 3m), the last seven days' median and worst, and every delivery over its budget with its longest phase. Builds: design 47 H2 §810, §785; H-A-394
This commit is contained in:
@@ -128,6 +128,18 @@
|
||||
},
|
||||
"movers": {
|
||||
"type": "integer"
|
||||
},
|
||||
"merge-called": {
|
||||
"type": "string"
|
||||
},
|
||||
"delivery-time": {
|
||||
"type": "string"
|
||||
},
|
||||
"class": {
|
||||
"type": "string"
|
||||
},
|
||||
"phases": {
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"operations": [
|
||||
@@ -141,7 +153,8 @@
|
||||
"call",
|
||||
"heads",
|
||||
"opened",
|
||||
"form"
|
||||
"form",
|
||||
"merge-called"
|
||||
],
|
||||
"sequence": true
|
||||
},
|
||||
@@ -170,6 +183,14 @@
|
||||
],
|
||||
"sequence": true
|
||||
},
|
||||
{
|
||||
"name": "phases",
|
||||
"effect": "set-fields",
|
||||
"fields": [
|
||||
"phases"
|
||||
],
|
||||
"sequence": true
|
||||
},
|
||||
{
|
||||
"name": "away",
|
||||
"effect": "set-entry",
|
||||
@@ -208,7 +229,9 @@
|
||||
"name": "end",
|
||||
"effect": "set-fields",
|
||||
"fields": [
|
||||
"ended"
|
||||
"ended",
|
||||
"delivery-time",
|
||||
"class"
|
||||
],
|
||||
"sequence": true
|
||||
}
|
||||
@@ -252,6 +275,9 @@
|
||||
},
|
||||
"event": {
|
||||
"type": "string"
|
||||
},
|
||||
"class": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"operations": [
|
||||
@@ -261,6 +287,7 @@
|
||||
"fields": [
|
||||
"record",
|
||||
"module",
|
||||
"class",
|
||||
"pipeline",
|
||||
"version"
|
||||
],
|
||||
@@ -369,6 +396,7 @@
|
||||
},
|
||||
"invokes": [
|
||||
"seat:git.branch",
|
||||
"seat:mesh-catalog.entry",
|
||||
"seat:mesh-catalog.registrations",
|
||||
"seat:mesh-hand-acts.hand-act",
|
||||
"seat:mesh-wants.entry",
|
||||
@@ -396,7 +424,8 @@
|
||||
"gate_source",
|
||||
"gate_source_again",
|
||||
"gate_source_seed",
|
||||
"gate_source_start"
|
||||
"gate_source_start",
|
||||
"gate_times"
|
||||
],
|
||||
"config": {
|
||||
"record-retention": {
|
||||
@@ -413,6 +442,20 @@
|
||||
"minimum": 1,
|
||||
"trusted": false,
|
||||
"default": 10
|
||||
},
|
||||
"budget-core": {
|
||||
"type": "string",
|
||||
"description": "The budget of a delivery that moves a core module, from merge-called to the last running of its movers, as a duration such as 10m (ADR 0282; design 47 H2 §810): gate_times names every delivery over it, and the self-check raises over-budget for it.",
|
||||
"trusted": false,
|
||||
"runtime": true,
|
||||
"default": "10m"
|
||||
},
|
||||
"budget-leaf": {
|
||||
"type": "string",
|
||||
"description": "The budget of a delivery that moves only leaf modules, as a duration such as 3m (ADR 0304; design 47 H2 §810).",
|
||||
"trusted": false,
|
||||
"runtime": true,
|
||||
"default": "3m"
|
||||
}
|
||||
},
|
||||
"resources": [
|
||||
|
||||
Reference in New Issue
Block a user