@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.
Files changed (88) hide show
  1. package/engine/test-body-resource-attachment.d.ts +15 -0
  2. package/engine/test-body-resource-attachment.d.ts.map +1 -1
  3. package/engine/test-body-resource-attachment.js +16 -0
  4. package/engine/test-body-resource-attachment.js.map +1 -1
  5. package/package.json +6 -1
  6. package/packages/engine/engine.entry-point.d.ts +1 -1
  7. package/packages/engine/engine.entry-point.d.ts.map +1 -1
  8. package/readme.md +11 -2
  9. package/reporters/human-reporter-rendering.js +1 -1
  10. package/reporters/human-reporter-rendering.js.map +1 -1
  11. package/reporters/line-reporter.js +5 -2
  12. package/reporters/line-reporter.js.map +1 -1
  13. package/reporters/run-summary-rendering.js +80 -0
  14. package/reporters/run-summary-rendering.js.map +1 -0
  15. package/resources/resource-definition-brand.d.ts +2 -0
  16. package/resources/resource-definition-brand.d.ts.map +1 -0
  17. package/resources/resource-definition-brand.js +2 -0
  18. package/resources/resource-definition-brand.js.map +1 -0
  19. package/resources/resource-definition-shape.d.ts +3 -0
  20. package/resources/resource-definition-shape.d.ts.map +1 -1
  21. package/resources/resource-definition-types.d.ts +104 -0
  22. package/resources/resource-definition-types.d.ts.map +1 -0
  23. package/resources/resource-definition.js +52 -0
  24. package/resources/resource-definition.js.map +1 -0
  25. package/resources/resource-graph.d.ts +3 -3
  26. package/resources/resource-graph.d.ts.map +1 -1
  27. package/resources/resource-graph.js.map +1 -1
  28. package/resources/resource-scenario-binding.d.ts +37 -0
  29. package/resources/resource-scenario-binding.d.ts.map +1 -0
  30. package/resources/resource-scenario-binding.js +99 -0
  31. package/resources/resource-scenario-binding.js.map +1 -0
  32. package/resources/resource-scenario.d.ts +31 -0
  33. package/resources/resource-scenario.d.ts.map +1 -0
  34. package/resources/resource-scenario.js +68 -0
  35. package/resources/resource-scenario.js.map +1 -0
  36. package/resources/resource-session.d.ts +3 -2
  37. package/resources/resource-session.d.ts.map +1 -1
  38. package/resources/resources.d.ts +46 -76
  39. package/resources/resources.d.ts.map +1 -1
  40. package/resources/resources.js +90 -10
  41. package/resources/resources.js.map +1 -1
  42. package/resources/runtime-definition.d.ts +11 -2
  43. package/resources/runtime-definition.d.ts.map +1 -1
  44. package/resources/runtime-definition.js +66 -0
  45. package/resources/runtime-definition.js.map +1 -1
  46. package/resources/runtime-matrix-definition.d.ts +25 -6
  47. package/resources/runtime-matrix-definition.d.ts.map +1 -1
  48. package/resources/runtime-matrix-definition.js +226 -4
  49. package/resources/runtime-matrix-definition.js.map +1 -1
  50. package/run/resource-lifecycle-boundaries.js +122 -13
  51. package/run/resource-lifecycle-boundaries.js.map +1 -1
  52. package/run/resource-lifecycle-cache-identity.js +65 -0
  53. package/run/resource-lifecycle-cache-identity.js.map +1 -0
  54. package/run/resource-lifecycle-composition.d.ts +2 -0
  55. package/run/resource-lifecycle-composition.d.ts.map +1 -1
  56. package/run/resource-lifecycle-composition.js +48 -11
  57. package/run/resource-lifecycle-composition.js.map +1 -1
  58. package/run/resource-lifecycle-session-acquirer.js +11 -6
  59. package/run/resource-lifecycle-session-acquirer.js.map +1 -1
  60. package/run/resource-lifecycle-startup-budget.js +1 -0
  61. package/run/resource-lifecycle-startup-budget.js.map +1 -1
  62. package/run/resource-lifecycle.js +4 -3
  63. package/run/resource-lifecycle.js.map +1 -1
  64. package/run/run-collected-planning.js +11 -0
  65. package/run/run-collected-planning.js.map +1 -1
  66. package/run/run-collected-resolution.js +2 -1
  67. package/run/run-collected-resolution.js.map +1 -1
  68. package/run/run-facts.js +1 -1
  69. package/run/run-facts.js.map +1 -1
  70. package/run/run-local-resolution.js +2 -0
  71. package/run/run-local-resolution.js.map +1 -1
  72. package/run/work-unit-planning.js +4 -2
  73. package/run/work-unit-planning.js.map +1 -1
  74. package/run/work-unit-resource-constraints.js +17 -0
  75. package/run/work-unit-resource-constraints.js.map +1 -1
  76. package/run/worker-pool-dispatch-state.js +2 -4
  77. package/run/worker-pool-dispatch-state.js.map +1 -1
  78. package/run/worker-pool-lanes.js +7 -3
  79. package/run/worker-pool-lanes.js.map +1 -1
  80. package/run/worker-pool-run.js +1 -1
  81. package/run/worker-pool-run.js.map +1 -1
  82. package/run/worker-pool-runtime.js +14 -7
  83. package/run/worker-pool-runtime.js.map +1 -1
  84. package/sbom.cdx.json +4 -4
  85. package/reporters/run-fact-summary.js +0 -20
  86. package/reporters/run-fact-summary.js.map +0 -1
  87. package/reporters/run-timing-summary.js +0 -11
  88. 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.57",
20
- "bom-ref": "pkg:npm/@overkill-dev/run@0.0.57",
21
- "purl": "pkg:npm/@overkill-dev/run@0.0.57"
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.57",
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"}