@overkill-dev/run 0.0.78 → 0.0.80

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 (120) hide show
  1. package/bench/benchmark-host-snapshot.d.ts +18 -0
  2. package/bench/benchmark-host-snapshot.d.ts.map +1 -1
  3. package/bench/benchmark-host-snapshot.js +20 -0
  4. package/bench/benchmark-host-snapshot.js.map +1 -1
  5. package/bench/benchmark-run-report.js +13 -5
  6. package/bench/benchmark-run-report.js.map +1 -1
  7. package/bounded-json-frames.js +19 -0
  8. package/bounded-json-frames.js.map +1 -0
  9. package/config/config.d.ts.map +1 -1
  10. package/config/config.js +1 -0
  11. package/config/config.js.map +1 -1
  12. package/config/schema.d.ts +8 -0
  13. package/config/schema.d.ts.map +1 -1
  14. package/config/schema.js +1 -0
  15. package/config/schema.js.map +1 -1
  16. package/config/snapshot.js +1 -0
  17. package/config/snapshot.js.map +1 -1
  18. package/config/types.d.ts +2 -0
  19. package/config/types.d.ts.map +1 -1
  20. package/config/validation.js +5 -0
  21. package/config/validation.js.map +1 -1
  22. package/engine/benchmark-garbage-collection.d.ts +13 -0
  23. package/engine/benchmark-garbage-collection.d.ts.map +1 -0
  24. package/engine/benchmark-garbage-collection.js +4 -0
  25. package/engine/benchmark-garbage-collection.js.map +1 -0
  26. package/engine/benchmark-node.d.ts +3 -0
  27. package/engine/benchmark-node.d.ts.map +1 -1
  28. package/engine/benchmark-result.d.ts +66 -0
  29. package/engine/benchmark-result.d.ts.map +1 -1
  30. package/engine/benchmark-result.js +2 -0
  31. package/engine/benchmark-result.js.map +1 -0
  32. package/engine/case-attempt-execution.js +11 -9
  33. package/engine/case-attempt-execution.js.map +1 -1
  34. package/engine/case-body-execution.js +43 -1
  35. package/engine/case-body-execution.js.map +1 -1
  36. package/engine/case-execution.d.ts.map +1 -1
  37. package/engine/case-execution.js +16 -40
  38. package/engine/case-execution.js.map +1 -1
  39. package/engine/execution-options.d.ts.map +1 -1
  40. package/engine/execution-options.js +2 -2
  41. package/engine/execution-options.js.map +1 -1
  42. package/engine/execution-supervision-state.js +6 -0
  43. package/engine/execution-supervision-state.js.map +1 -1
  44. package/engine/execution-supervision.d.ts +2 -0
  45. package/engine/execution-supervision.d.ts.map +1 -1
  46. package/engine/execution-supervision.js +2 -7
  47. package/engine/execution-supervision.js.map +1 -1
  48. package/engine/execution.d.ts.map +1 -1
  49. package/engine/execution.js +2 -1
  50. package/engine/execution.js.map +1 -1
  51. package/package.json +2 -1
  52. package/packages/resources/attachment-context.entry-point.js +2 -0
  53. package/packages/resources/attachment-context.entry-point.js.map +1 -1
  54. package/packages/run/run.entry-point.d.ts +3 -2
  55. package/packages/run/run.entry-point.d.ts.map +1 -1
  56. package/readme.md +11 -5
  57. package/run/attachment-connection.js +3 -2
  58. package/run/attachment-connection.js.map +1 -1
  59. package/run/attachment-eligibility.js +12 -1
  60. package/run/attachment-eligibility.js.map +1 -1
  61. package/run/attachment-server.js +3 -2
  62. package/run/attachment-server.js.map +1 -1
  63. package/run/benchmark-definition-schema.js +15 -11
  64. package/run/benchmark-definition-schema.js.map +1 -1
  65. package/run/benchmark-execution-environment.js +21 -0
  66. package/run/benchmark-execution-environment.js.map +1 -0
  67. package/run/benchmark-garbage-collection.js +29 -0
  68. package/run/benchmark-garbage-collection.js.map +1 -0
  69. package/run/benchmark-placement.js +102 -0
  70. package/run/benchmark-placement.js.map +1 -0
  71. package/run/benchmark-report-metadata.js +4 -2
  72. package/run/benchmark-report-metadata.js.map +1 -1
  73. package/run/benchmark-result-schema.js +87 -18
  74. package/run/benchmark-result-schema.js.map +1 -1
  75. package/run/collected-placement.js +85 -0
  76. package/run/collected-placement.js.map +1 -0
  77. package/run/default-run-engine.js +1 -0
  78. package/run/default-run-engine.js.map +1 -1
  79. package/run/execution-session-supervised.js +13 -2
  80. package/run/execution-session-supervised.js.map +1 -1
  81. package/run/node-run-execution.js +1 -0
  82. package/run/node-run-execution.js.map +1 -1
  83. package/run/run-collected-planning.js +19 -61
  84. package/run/run-collected-planning.js.map +1 -1
  85. package/run/run-collected-resolution.js +3 -1
  86. package/run/run-collected-resolution.js.map +1 -1
  87. package/run/run-command-schema.js +1 -0
  88. package/run/run-command-schema.js.map +1 -1
  89. package/run/run-facts.js +23 -8
  90. package/run/run-facts.js.map +1 -1
  91. package/run/run-host-process.js +1 -1
  92. package/run/run-host-process.js.map +1 -1
  93. package/run/run-isolated-command.js +2 -0
  94. package/run/run-isolated-command.js.map +1 -1
  95. package/run/run-local-planning.js +4 -0
  96. package/run/run-local-planning.js.map +1 -1
  97. package/run/run-types.d.ts +4 -2
  98. package/run/run-types.d.ts.map +1 -1
  99. package/run/run-types.js.map +1 -1
  100. package/run/supervised-child-execution.js +7 -1
  101. package/run/supervised-child-execution.js.map +1 -1
  102. package/run/supervised-child-process.js +1 -1
  103. package/run/supervised-child-process.js.map +1 -1
  104. package/run/supervised-child.js +1 -1
  105. package/run/supervised-child.js.map +1 -1
  106. package/run/supervised-protocol.js.map +1 -1
  107. package/run/worker-execution-engine.js +21 -0
  108. package/run/worker-execution-engine.js.map +1 -0
  109. package/run/worker-pool-command.js +1 -0
  110. package/run/worker-pool-command.js.map +1 -1
  111. package/run/worker-pool-lanes.js +1 -1
  112. package/run/worker-pool-lanes.js.map +1 -1
  113. package/run/worker-pool-placement-planning.js +3 -2
  114. package/run/worker-pool-placement-planning.js.map +1 -1
  115. package/run/worker-pool-protocol.js.map +1 -1
  116. package/run/worker-pool-worker.js +3 -15
  117. package/run/worker-pool-worker.js.map +1 -1
  118. package/software-bill-of-materials.cyclonedx.json +4 -4
  119. package/run/attachment-frames.js +0 -22
  120. package/run/attachment-frames.js.map +0 -1
@@ -16,9 +16,9 @@
16
16
  "component": {
17
17
  "type": "library",
18
18
  "name": "@overkill-dev/run",
19
- "version": "0.0.78",
20
- "bom-ref": "pkg:npm/@overkill-dev/run@0.0.78",
21
- "purl": "pkg:npm/@overkill-dev/run@0.0.78"
19
+ "version": "0.0.80",
20
+ "bom-ref": "pkg:npm/@overkill-dev/run@0.0.80",
21
+ "purl": "pkg:npm/@overkill-dev/run@0.0.80"
22
22
  }
23
23
  },
24
24
  "components": [
@@ -278,7 +278,7 @@
278
278
  "ref": "pkg:npm/@jridgewell/trace-mapping@0.3.31"
279
279
  },
280
280
  {
281
- "ref": "pkg:npm/@overkill-dev/run@0.0.78",
281
+ "ref": "pkg:npm/@overkill-dev/run@0.0.80",
282
282
  "dependsOn": [
283
283
  "pkg:npm/@enormora/clock@0.0.3",
284
284
  "pkg:npm/@jridgewell/trace-mapping@0.3.31",
@@ -1,22 +0,0 @@
1
- import { Transform } from 'node:stream';
2
- const newlineByte = 10;
3
- export function boundedAttachmentFrames(limit) {
4
- let pendingBytes = 0;
5
- return new Transform({
6
- transform(chunk, encoding, callback) {
7
- if (typeof chunk === 'string') {
8
- callback(new TypeError(`Attachment messages require bytes, received ${encoding}.`));
9
- return;
10
- }
11
- for (const byte of chunk) {
12
- pendingBytes = byte === newlineByte ? 0 : pendingBytes + 1;
13
- if (pendingBytes > limit) {
14
- callback(new Error('Attachment message exceeded its frame limit.'));
15
- return;
16
- }
17
- }
18
- callback(null, chunk);
19
- }
20
- });
21
- }
22
- //# sourceMappingURL=attachment-frames.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"attachment-frames.js","sourceRoot":"","sources":["../../../../source/run/attachment-frames.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,WAAW,GAAG,EAAE,CAAC;AACvB,MAAM,UAAU,uBAAuB,CAAC,KAAa;IACjD,IAAI,YAAY,GAAG,CAAC,CAAC;IACrB,OAAO,IAAI,SAAS,CAAC;QACjB,SAAS,CAAC,KAAa,EAAE,QAAQ,EAAE,QAAQ;YACvC,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;gBAC5B,QAAQ,CAAC,IAAI,SAAS,CAAC,+CAA+C,QAAQ,GAAG,CAAC,CAAC,CAAC;gBACpF,OAAO;YACX,CAAC;YACD,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;gBACvB,YAAY,GAAG,IAAI,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,YAAY,GAAG,CAAC,CAAC;gBAC3D,IAAI,YAAY,GAAG,KAAK,EAAE,CAAC;oBACvB,QAAQ,CAAC,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC,CAAC;oBACpE,OAAO;gBACX,CAAC;YACL,CAAC;YACD,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAC1B,CAAC;KACJ,CAAC,CAAC;AACP,CAAC"}