@overkill-dev/run 0.0.57 → 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 +6 -1
- package/packages/engine/engine.entry-point.d.ts +1 -1
- package/packages/engine/engine.entry-point.d.ts.map +1 -1
- package/readme.md +11 -2
- 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/resource-lifecycle-boundaries.js +122 -13
- package/run/resource-lifecycle-boundaries.js.map +1 -1
- 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-session-acquirer.js +11 -6
- package/run/resource-lifecycle-session-acquirer.js.map +1 -1
- package/run/resource-lifecycle-startup-budget.js +1 -0
- package/run/resource-lifecycle-startup-budget.js.map +1 -1
- package/run/resource-lifecycle.js +4 -3
- package/run/resource-lifecycle.js.map +1 -1
- package/run/run-collected-planning.js +11 -0
- package/run/run-collected-planning.js.map +1 -1
- package/run/run-collected-resolution.js +2 -1
- package/run/run-collected-resolution.js.map +1 -1
- package/run/run-facts.js +1 -1
- package/run/run-facts.js.map +1 -1
- package/run/run-local-resolution.js +2 -0
- package/run/run-local-resolution.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 +17 -0
- package/run/work-unit-resource-constraints.js.map +1 -1
- package/run/worker-pool-dispatch-state.js +2 -4
- package/run/worker-pool-dispatch-state.js.map +1 -1
- package/run/worker-pool-lanes.js +7 -3
- package/run/worker-pool-lanes.js.map +1 -1
- package/run/worker-pool-run.js +1 -1
- package/run/worker-pool-run.js.map +1 -1
- package/run/worker-pool-runtime.js +14 -7
- package/run/worker-pool-runtime.js.map +1 -1
- package/sbom.cdx.json +4 -4
- 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": [
|
|
@@ -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",
|
|
@@ -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"}
|