@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.
- package/bench/benchmark-host-snapshot.d.ts +18 -0
- package/bench/benchmark-host-snapshot.d.ts.map +1 -1
- package/bench/benchmark-host-snapshot.js +20 -0
- package/bench/benchmark-host-snapshot.js.map +1 -1
- package/bench/benchmark-run-report.js +13 -5
- package/bench/benchmark-run-report.js.map +1 -1
- package/bounded-json-frames.js +19 -0
- package/bounded-json-frames.js.map +1 -0
- package/config/config.d.ts.map +1 -1
- package/config/config.js +1 -0
- package/config/config.js.map +1 -1
- package/config/schema.d.ts +8 -0
- package/config/schema.d.ts.map +1 -1
- package/config/schema.js +1 -0
- package/config/schema.js.map +1 -1
- package/config/snapshot.js +1 -0
- package/config/snapshot.js.map +1 -1
- package/config/types.d.ts +2 -0
- package/config/types.d.ts.map +1 -1
- package/config/validation.js +5 -0
- package/config/validation.js.map +1 -1
- package/engine/benchmark-garbage-collection.d.ts +13 -0
- package/engine/benchmark-garbage-collection.d.ts.map +1 -0
- package/engine/benchmark-garbage-collection.js +4 -0
- package/engine/benchmark-garbage-collection.js.map +1 -0
- package/engine/benchmark-node.d.ts +3 -0
- package/engine/benchmark-node.d.ts.map +1 -1
- package/engine/benchmark-result.d.ts +66 -0
- package/engine/benchmark-result.d.ts.map +1 -1
- package/engine/benchmark-result.js +2 -0
- package/engine/benchmark-result.js.map +1 -0
- package/engine/case-attempt-execution.js +11 -9
- package/engine/case-attempt-execution.js.map +1 -1
- package/engine/case-body-execution.js +43 -1
- package/engine/case-body-execution.js.map +1 -1
- package/engine/case-execution.d.ts.map +1 -1
- package/engine/case-execution.js +16 -40
- package/engine/case-execution.js.map +1 -1
- package/engine/execution-options.d.ts.map +1 -1
- package/engine/execution-options.js +2 -2
- package/engine/execution-options.js.map +1 -1
- package/engine/execution-supervision-state.js +6 -0
- package/engine/execution-supervision-state.js.map +1 -1
- package/engine/execution-supervision.d.ts +2 -0
- package/engine/execution-supervision.d.ts.map +1 -1
- package/engine/execution-supervision.js +2 -7
- package/engine/execution-supervision.js.map +1 -1
- package/engine/execution.d.ts.map +1 -1
- package/engine/execution.js +2 -1
- package/engine/execution.js.map +1 -1
- package/package.json +2 -1
- package/packages/resources/attachment-context.entry-point.js +2 -0
- package/packages/resources/attachment-context.entry-point.js.map +1 -1
- package/packages/run/run.entry-point.d.ts +3 -2
- package/packages/run/run.entry-point.d.ts.map +1 -1
- package/readme.md +11 -5
- package/run/attachment-connection.js +3 -2
- package/run/attachment-connection.js.map +1 -1
- package/run/attachment-eligibility.js +12 -1
- package/run/attachment-eligibility.js.map +1 -1
- package/run/attachment-server.js +3 -2
- package/run/attachment-server.js.map +1 -1
- package/run/benchmark-definition-schema.js +15 -11
- package/run/benchmark-definition-schema.js.map +1 -1
- package/run/benchmark-execution-environment.js +21 -0
- package/run/benchmark-execution-environment.js.map +1 -0
- package/run/benchmark-garbage-collection.js +29 -0
- package/run/benchmark-garbage-collection.js.map +1 -0
- package/run/benchmark-placement.js +102 -0
- package/run/benchmark-placement.js.map +1 -0
- package/run/benchmark-report-metadata.js +4 -2
- package/run/benchmark-report-metadata.js.map +1 -1
- package/run/benchmark-result-schema.js +87 -18
- package/run/benchmark-result-schema.js.map +1 -1
- package/run/collected-placement.js +85 -0
- package/run/collected-placement.js.map +1 -0
- package/run/default-run-engine.js +1 -0
- package/run/default-run-engine.js.map +1 -1
- package/run/execution-session-supervised.js +13 -2
- package/run/execution-session-supervised.js.map +1 -1
- package/run/node-run-execution.js +1 -0
- package/run/node-run-execution.js.map +1 -1
- package/run/run-collected-planning.js +19 -61
- package/run/run-collected-planning.js.map +1 -1
- package/run/run-collected-resolution.js +3 -1
- package/run/run-collected-resolution.js.map +1 -1
- package/run/run-command-schema.js +1 -0
- package/run/run-command-schema.js.map +1 -1
- package/run/run-facts.js +23 -8
- package/run/run-facts.js.map +1 -1
- package/run/run-host-process.js +1 -1
- package/run/run-host-process.js.map +1 -1
- package/run/run-isolated-command.js +2 -0
- package/run/run-isolated-command.js.map +1 -1
- package/run/run-local-planning.js +4 -0
- package/run/run-local-planning.js.map +1 -1
- package/run/run-types.d.ts +4 -2
- package/run/run-types.d.ts.map +1 -1
- package/run/run-types.js.map +1 -1
- package/run/supervised-child-execution.js +7 -1
- package/run/supervised-child-execution.js.map +1 -1
- package/run/supervised-child-process.js +1 -1
- package/run/supervised-child-process.js.map +1 -1
- package/run/supervised-child.js +1 -1
- package/run/supervised-child.js.map +1 -1
- package/run/supervised-protocol.js.map +1 -1
- package/run/worker-execution-engine.js +21 -0
- package/run/worker-execution-engine.js.map +1 -0
- package/run/worker-pool-command.js +1 -0
- package/run/worker-pool-command.js.map +1 -1
- package/run/worker-pool-lanes.js +1 -1
- package/run/worker-pool-lanes.js.map +1 -1
- package/run/worker-pool-placement-planning.js +3 -2
- package/run/worker-pool-placement-planning.js.map +1 -1
- package/run/worker-pool-protocol.js.map +1 -1
- package/run/worker-pool-worker.js +3 -15
- package/run/worker-pool-worker.js.map +1 -1
- package/software-bill-of-materials.cyclonedx.json +4 -4
- package/run/attachment-frames.js +0 -22
- 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.
|
|
20
|
-
"bom-ref": "pkg:npm/@overkill-dev/run@0.0.
|
|
21
|
-
"purl": "pkg:npm/@overkill-dev/run@0.0.
|
|
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.
|
|
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",
|
package/run/attachment-frames.js
DELETED
|
@@ -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"}
|