@overkill-dev/run 0.0.56 → 0.0.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/engine/test-body-resource-attachment.d.ts +15 -0
- package/engine/test-body-resource-attachment.d.ts.map +1 -1
- package/engine/test-body-resource-attachment.js +16 -0
- package/engine/test-body-resource-attachment.js.map +1 -1
- package/package.json +14 -4
- package/packages/engine/engine.entry-point.d.ts +1 -1
- package/packages/engine/engine.entry-point.d.ts.map +1 -1
- package/packages/run/run.entry-point.d.ts +2 -1
- package/packages/run/run.entry-point.d.ts.map +1 -1
- package/readme.md +16 -1
- package/reporters/human-reporter-rendering.js +1 -1
- package/reporters/human-reporter-rendering.js.map +1 -1
- package/reporters/line-reporter.js +5 -2
- package/reporters/line-reporter.js.map +1 -1
- package/reporters/run-summary-rendering.js +80 -0
- package/reporters/run-summary-rendering.js.map +1 -0
- package/resources/resource-definition-brand.d.ts +2 -0
- package/resources/resource-definition-brand.d.ts.map +1 -0
- package/resources/resource-definition-brand.js +2 -0
- package/resources/resource-definition-brand.js.map +1 -0
- package/resources/resource-definition-shape.d.ts +3 -0
- package/resources/resource-definition-shape.d.ts.map +1 -1
- package/resources/resource-definition-types.d.ts +104 -0
- package/resources/resource-definition-types.d.ts.map +1 -0
- package/resources/resource-definition.js +52 -0
- package/resources/resource-definition.js.map +1 -0
- package/resources/resource-graph.d.ts +3 -3
- package/resources/resource-graph.d.ts.map +1 -1
- package/resources/resource-graph.js.map +1 -1
- package/resources/resource-scenario-binding.d.ts +37 -0
- package/resources/resource-scenario-binding.d.ts.map +1 -0
- package/resources/resource-scenario-binding.js +99 -0
- package/resources/resource-scenario-binding.js.map +1 -0
- package/resources/resource-scenario.d.ts +31 -0
- package/resources/resource-scenario.d.ts.map +1 -0
- package/resources/resource-scenario.js +68 -0
- package/resources/resource-scenario.js.map +1 -0
- package/resources/resource-session.d.ts +3 -2
- package/resources/resource-session.d.ts.map +1 -1
- package/resources/resources.d.ts +46 -76
- package/resources/resources.d.ts.map +1 -1
- package/resources/resources.js +90 -10
- package/resources/resources.js.map +1 -1
- package/resources/runtime-definition.d.ts +11 -2
- package/resources/runtime-definition.d.ts.map +1 -1
- package/resources/runtime-definition.js +66 -0
- package/resources/runtime-definition.js.map +1 -1
- package/resources/runtime-matrix-definition.d.ts +25 -6
- package/resources/runtime-matrix-definition.d.ts.map +1 -1
- package/resources/runtime-matrix-definition.js +226 -4
- package/resources/runtime-matrix-definition.js.map +1 -1
- package/run/command-line-runner.d.ts.map +1 -1
- package/run/command-line-runner.js +10 -5
- package/run/command-line-runner.js.map +1 -1
- package/run/duration-history.d.ts +10 -1
- package/run/duration-history.d.ts.map +1 -1
- package/run/duration-history.js +2 -2
- package/run/duration-history.js.map +1 -1
- package/run/node-child-process-starters.js +1 -1
- package/run/node-child-process-starters.js.map +1 -1
- package/run/resource-lifecycle-boundaries.js +182 -0
- package/run/resource-lifecycle-boundaries.js.map +1 -0
- package/run/resource-lifecycle-cache-identity.js +65 -0
- package/run/resource-lifecycle-cache-identity.js.map +1 -0
- package/run/resource-lifecycle-composition.d.ts +2 -0
- package/run/resource-lifecycle-composition.d.ts.map +1 -1
- package/run/resource-lifecycle-composition.js +48 -11
- package/run/resource-lifecycle-composition.js.map +1 -1
- package/run/resource-lifecycle-projection.js +48 -0
- package/run/resource-lifecycle-projection.js.map +1 -0
- package/run/resource-lifecycle-session-acquirer.js +182 -0
- package/run/resource-lifecycle-session-acquirer.js.map +1 -0
- package/run/resource-lifecycle-startup-budget.js +82 -0
- package/run/resource-lifecycle-startup-budget.js.map +1 -0
- package/run/resource-lifecycle-state.d.ts +2 -0
- package/run/resource-lifecycle-state.d.ts.map +1 -1
- package/run/resource-lifecycle-state.js.map +1 -1
- package/run/resource-lifecycle-timing.js +85 -0
- package/run/resource-lifecycle-timing.js.map +1 -0
- package/run/resource-lifecycle.js +133 -237
- package/run/resource-lifecycle.js.map +1 -1
- package/run/run-collected-planning.js +34 -6
- package/run/run-collected-planning.js.map +1 -1
- package/run/run-collected-resolution.js +4 -2
- package/run/run-collected-resolution.js.map +1 -1
- package/run/run-collection-error-result.js +2 -2
- package/run/run-collection-error-result.js.map +1 -1
- package/run/run-config-schema.d.ts +7 -0
- package/run/run-config-schema.d.ts.map +1 -1
- package/run/run-config-schema.js +4 -0
- package/run/run-config-schema.js.map +1 -1
- package/run/run-config.d.ts.map +1 -1
- package/run/run-config.js +4 -4
- package/run/run-config.js.map +1 -1
- package/run/run-empty-shard.js +2 -2
- package/run/run-empty-shard.js.map +1 -1
- package/run/run-facts.js +5 -1
- package/run/run-facts.js.map +1 -1
- package/run/run-if-main-facts.js +2 -1
- package/run/run-if-main-facts.js.map +1 -1
- package/run/run-in-process-execution.js +3 -3
- package/run/run-in-process-execution.js.map +1 -1
- package/run/run-input-resolution.js +6 -0
- package/run/run-input-resolution.js.map +1 -1
- package/run/run-isolated-process.js +39 -24
- package/run/run-isolated-process.js.map +1 -1
- package/run/run-local-execution.js +12 -3
- package/run/run-local-execution.js.map +1 -1
- package/run/run-local-resolution.js +6 -2
- package/run/run-local-resolution.js.map +1 -1
- package/run/run-orchestrator-dependencies.d.ts +2 -0
- package/run/run-orchestrator-dependencies.d.ts.map +1 -1
- package/run/run-orchestrator-dependencies.js.map +1 -1
- package/run/run-support.js +14 -6
- package/run/run-support.js.map +1 -1
- package/run/run-timing-collection.d.ts +43 -0
- package/run/run-timing-collection.d.ts.map +1 -0
- package/run/run-timing-collection.js +173 -8
- package/run/run-timing-collection.js.map +1 -1
- package/run/run-types.d.ts +13 -3
- package/run/run-types.d.ts.map +1 -1
- package/run/run-types.js.map +1 -1
- package/run/run-validation.js +2 -0
- package/run/run-validation.js.map +1 -1
- package/run/run.js +31 -20
- package/run/run.js.map +1 -1
- package/run/supervised-child-process.d.ts +1 -0
- package/run/supervised-child-process.d.ts.map +1 -1
- package/run/supervised-child-process.js +5 -0
- package/run/supervised-child-process.js.map +1 -1
- package/run/supervised-child.js +3 -2
- package/run/supervised-child.js.map +1 -1
- package/run/supervised-protocol.js +14 -0
- package/run/supervised-protocol.js.map +1 -1
- package/run/supervised-run-collection.js +123 -0
- package/run/supervised-run-collection.js.map +1 -0
- package/run/supervised-run-runtime.js +8 -13
- package/run/supervised-run-runtime.js.map +1 -1
- package/run/supervised-run.js +74 -106
- package/run/supervised-run.js.map +1 -1
- package/run/work-unit-planning.js +4 -2
- package/run/work-unit-planning.js.map +1 -1
- package/run/work-unit-resource-constraints.js +23 -6
- package/run/work-unit-resource-constraints.js.map +1 -1
- package/run/worker-pool-collection.js +46 -20
- package/run/worker-pool-collection.js.map +1 -1
- package/run/worker-pool-command.js +68 -0
- package/run/worker-pool-command.js.map +1 -0
- package/run/worker-pool-dispatch-state.js +2 -4
- package/run/worker-pool-dispatch-state.js.map +1 -1
- package/run/worker-pool-execution.js +48 -73
- package/run/worker-pool-execution.js.map +1 -1
- package/run/worker-pool-hedge-dispatch.js +2 -1
- package/run/worker-pool-hedge-dispatch.js.map +1 -1
- package/run/worker-pool-host-process-starter.js +13 -0
- package/run/worker-pool-host-process-starter.js.map +1 -0
- package/run/worker-pool-host-process.js +53 -79
- package/run/worker-pool-host-process.js.map +1 -1
- package/run/worker-pool-host-protocol.js.map +1 -1
- package/run/worker-pool-host-signal.js +21 -0
- package/run/worker-pool-host-signal.js.map +1 -0
- package/run/worker-pool-host-task.js +55 -0
- package/run/worker-pool-host-task.js.map +1 -0
- package/run/worker-pool-lanes.js +51 -24
- package/run/worker-pool-lanes.js.map +1 -1
- package/run/worker-pool-lifecycle-lanes.js +4 -56
- package/run/worker-pool-lifecycle-lanes.js.map +1 -1
- package/run/worker-pool-placement-planning.js +9 -4
- package/run/worker-pool-placement-planning.js.map +1 -1
- package/run/worker-pool-protocol.js +2 -0
- package/run/worker-pool-protocol.js.map +1 -0
- package/run/worker-pool-resource-lifecycle-execution.js +155 -0
- package/run/worker-pool-resource-lifecycle-execution.js.map +1 -0
- package/run/worker-pool-routing.js +6 -3
- package/run/worker-pool-routing.js.map +1 -1
- package/run/worker-pool-run.js +74 -19
- package/run/worker-pool-run.js.map +1 -1
- package/run/worker-pool-runtime.js +87 -20
- package/run/worker-pool-runtime.js.map +1 -1
- package/run/worker-pool-task-events.js +3 -0
- package/run/worker-pool-task-events.js.map +1 -1
- package/run/worker-pool-task-validation.js +11 -0
- package/run/worker-pool-task-validation.js.map +1 -0
- package/run/worker-pool-work-dispatcher.js +27 -21
- package/run/worker-pool-work-dispatcher.js.map +1 -1
- package/run/worker-pool-worker-resources.js +99 -0
- package/run/worker-pool-worker-resources.js.map +1 -0
- package/run/worker-pool-worker-timing.js +63 -0
- package/run/worker-pool-worker-timing.js.map +1 -0
- package/run/worker-pool-worker.js +93 -32
- package/run/worker-pool-worker.js.map +1 -1
- package/sbom.cdx.json +9 -9
- package/reporters/run-fact-summary.js +0 -20
- package/reporters/run-fact-summary.js.map +0 -1
- package/reporters/run-timing-summary.js +0 -11
- package/reporters/run-timing-summary.js.map +0 -1
package/sbom.cdx.json
CHANGED
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"component": {
|
|
17
17
|
"type": "library",
|
|
18
18
|
"name": "@overkill-dev/run",
|
|
19
|
-
"version": "0.0.
|
|
20
|
-
"bom-ref": "pkg:npm/@overkill-dev/run@0.0.
|
|
21
|
-
"purl": "pkg:npm/@overkill-dev/run@0.0.
|
|
19
|
+
"version": "0.0.58",
|
|
20
|
+
"bom-ref": "pkg:npm/@overkill-dev/run@0.0.58",
|
|
21
|
+
"purl": "pkg:npm/@overkill-dev/run@0.0.58"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"components": [
|
|
@@ -103,15 +103,15 @@
|
|
|
103
103
|
{
|
|
104
104
|
"type": "library",
|
|
105
105
|
"name": "string-width",
|
|
106
|
-
"version": "8.
|
|
107
|
-
"bom-ref": "pkg:npm/string-width@8.
|
|
106
|
+
"version": "8.3.0",
|
|
107
|
+
"bom-ref": "pkg:npm/string-width@8.3.0",
|
|
108
108
|
"scope": "required",
|
|
109
109
|
"licenses": [
|
|
110
110
|
{
|
|
111
111
|
"expression": "MIT"
|
|
112
112
|
}
|
|
113
113
|
],
|
|
114
|
-
"purl": "pkg:npm/string-width@8.
|
|
114
|
+
"purl": "pkg:npm/string-width@8.3.0"
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
117
|
"type": "library",
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
],
|
|
169
169
|
"dependencies": [
|
|
170
170
|
{
|
|
171
|
-
"ref": "pkg:npm/@overkill-dev/run@0.0.
|
|
171
|
+
"ref": "pkg:npm/@overkill-dev/run@0.0.58",
|
|
172
172
|
"dependsOn": [
|
|
173
173
|
"pkg:npm/@schema-hub/zod-error-formatter@0.0.16",
|
|
174
174
|
"pkg:npm/ansi-escapes@7.3.0",
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
"pkg:npm/figures@6.1.0",
|
|
177
177
|
"pkg:npm/hash-wasm@4.12.0",
|
|
178
178
|
"pkg:npm/pure-rand@8.4.2",
|
|
179
|
-
"pkg:npm/string-width@8.
|
|
179
|
+
"pkg:npm/string-width@8.3.0",
|
|
180
180
|
"pkg:npm/tinypool@2.2.0",
|
|
181
181
|
"pkg:npm/type-fest@5.8.0",
|
|
182
182
|
"pkg:npm/yoctocolors@2.2.0",
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
"ref": "pkg:npm/pure-rand@8.4.2"
|
|
203
203
|
},
|
|
204
204
|
{
|
|
205
|
-
"ref": "pkg:npm/string-width@8.
|
|
205
|
+
"ref": "pkg:npm/string-width@8.3.0"
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
208
|
"ref": "pkg:npm/tinypool@2.2.0"
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
function isRecord(value) {
|
|
2
|
-
return typeof value === 'object' && value !== null;
|
|
3
|
-
}
|
|
4
|
-
function stringField(value, key) {
|
|
5
|
-
const field = value[key];
|
|
6
|
-
return typeof field === 'string' ? field : null;
|
|
7
|
-
}
|
|
8
|
-
export function formatRunFactSummary(facts) {
|
|
9
|
-
const { execution, reproducibility } = facts;
|
|
10
|
-
if (!isRecord(execution) || !isRecord(reproducibility)) {
|
|
11
|
-
return null;
|
|
12
|
-
}
|
|
13
|
-
const order = stringField(execution, 'order');
|
|
14
|
-
const seed = stringField(reproducibility, 'seed');
|
|
15
|
-
if (order === null || seed === null) {
|
|
16
|
-
return null;
|
|
17
|
-
}
|
|
18
|
-
return `order=${order} seed=${seed}`;
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=run-fact-summary.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"run-fact-summary.js","sourceRoot":"","sources":["../../../../source/reporters/run-fact-summary.ts"],"names":[],"mappings":"AAEA,SAAS,QAAQ,CAAC,KAAc;IAC5B,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,CAAC;AACvD,CAAC;AAED,SAAS,WAAW,CAAC,KAAwC,EAAE,GAAW;IACtE,MAAM,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC;IAEzB,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC;AACpD,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,KAAe;IAChD,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,GAAG,KAAK,CAAC;IAE7C,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,EAAE,CAAC;QACrD,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,MAAM,KAAK,GAAG,WAAW,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAC9C,MAAM,IAAI,GAAG,WAAW,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC;IAElD,IAAI,KAAK,KAAK,IAAI,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAClC,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,OAAO,SAAS,KAAK,SAAS,IAAI,EAAE,CAAC;AACzC,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
const microsecondsPerMillisecond = 1000;
|
|
2
|
-
function milliseconds(microseconds) {
|
|
3
|
-
return Math.round(microseconds / microsecondsPerMillisecond);
|
|
4
|
-
}
|
|
5
|
-
export function formatTimingSummary(result) {
|
|
6
|
-
const { summary } = result.timings;
|
|
7
|
-
return `total ${milliseconds(summary.totalWallTimeMicroseconds)} ms, ` +
|
|
8
|
-
`execution ${milliseconds(summary.testExecutionWallTimeMicroseconds)} ms, ` +
|
|
9
|
-
`overhead ${milliseconds(summary.runnerOverheadWallTimeMicroseconds)} ms`;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=run-timing-summary.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"run-timing-summary.js","sourceRoot":"","sources":["../../../../source/reporters/run-timing-summary.ts"],"names":[],"mappings":"AAEA,MAAM,0BAA0B,GAAG,IAAI,CAAC;AAExC,SAAS,YAAY,CAAC,YAAoB;IACtC,OAAO,IAAI,CAAC,KAAK,CAAC,YAAY,GAAG,0BAA0B,CAAC,CAAC;AACjE,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,MAAiB;IACjD,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC,OAAO,CAAC;IAEnC,OAAO,SAAS,YAAY,CAAC,OAAO,CAAC,yBAAyB,CAAC,OAAO;QAClE,aAAa,YAAY,CAAC,OAAO,CAAC,iCAAiC,CAAC,OAAO;QAC3E,YAAY,YAAY,CAAC,OAAO,CAAC,kCAAkC,CAAC,KAAK,CAAC;AAClF,CAAC"}
|