@overkill-dev/run 0.0.62 → 0.0.63
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/assertion-protocol/assertion-node.d.ts +0 -15
- package/assertion-protocol/assertion-node.d.ts.map +1 -1
- package/assertion-protocol/assertion-reference.d.ts +0 -21
- package/assertion-protocol/assertion-reference.d.ts.map +1 -1
- package/assertion-protocol/assertion-reference.js +3 -30
- package/assertion-protocol/assertion-reference.js.map +1 -1
- package/assertion-protocol/assertions/boolean.d.ts +0 -7
- package/assertion-protocol/assertions/boolean.d.ts.map +1 -1
- package/assertion-protocol/assertions/collection.d.ts +0 -9
- package/assertion-protocol/assertions/collection.d.ts.map +1 -1
- package/assertion-protocol/assertions/equality.d.ts +0 -11
- package/assertion-protocol/assertions/equality.d.ts.map +1 -1
- package/assertion-protocol/assertions/fail.d.ts +0 -5
- package/assertion-protocol/assertions/fail.d.ts.map +1 -1
- package/assertion-protocol/assertions/numeric.d.ts +0 -13
- package/assertion-protocol/assertions/numeric.d.ts.map +1 -1
- package/assertion-protocol/assertions/partial.d.ts +0 -9
- package/assertion-protocol/assertions/partial.d.ts.map +1 -1
- package/assertion-protocol/assertions/presence.d.ts +0 -11
- package/assertion-protocol/assertions/presence.d.ts.map +1 -1
- package/assertion-protocol/assertions/string.d.ts +0 -13
- package/assertion-protocol/assertions/string.d.ts.map +1 -1
- package/assertion-protocol/assertions/type-shape.d.ts +0 -19
- package/assertion-protocol/assertions/type-shape.d.ts.map +1 -1
- package/assertion-protocol/source-location-forwarding.js +1 -7
- package/assertion-protocol/source-location-forwarding.js.map +1 -1
- package/assertion-protocol/thrown-error-record.d.ts +0 -1
- package/assertion-protocol/thrown-error-record.d.ts.map +1 -1
- package/assertion-protocol/thrown-matcher.d.ts +1 -18
- package/assertion-protocol/thrown-matcher.d.ts.map +1 -1
- package/compare/serialized-value-shape.d.ts +0 -9
- package/compare/serialized-value-shape.d.ts.map +1 -1
- package/compare/serialized-value.d.ts +1 -8
- package/compare/serialized-value.d.ts.map +1 -1
- package/engine/assertion-facade.d.ts +2 -5
- package/engine/assertion-facade.d.ts.map +1 -1
- package/engine/async-control.d.ts +0 -26
- package/engine/async-control.d.ts.map +1 -1
- package/engine/case-execution.d.ts +1 -14
- package/engine/case-execution.d.ts.map +1 -1
- package/engine/coverage-artifact.d.ts +0 -14
- package/engine/coverage-artifact.d.ts.map +1 -1
- package/engine/custom-assertion-recording.js +1 -1
- package/engine/custom-assertion-recording.js.map +1 -1
- package/engine/engine.d.ts +1 -8
- package/engine/engine.d.ts.map +1 -1
- package/engine/execution-global-error-observer.d.ts +0 -3
- package/engine/execution-global-error-observer.d.ts.map +1 -1
- package/engine/execution-global-error-observer.js +1 -31
- package/engine/execution-global-error-observer.js.map +1 -1
- package/engine/execution-options.d.ts +0 -6
- package/engine/execution-options.d.ts.map +1 -1
- package/engine/execution-resource-budget-breach.d.ts +0 -9
- package/engine/execution-resource-budget-breach.d.ts.map +1 -1
- package/engine/execution-supervision.d.ts +0 -16
- package/engine/execution-supervision.d.ts.map +1 -1
- package/engine/execution.d.ts +1 -12
- package/engine/execution.d.ts.map +1 -1
- package/engine/identity.d.ts +0 -6
- package/engine/identity.d.ts.map +1 -1
- package/engine/reporter-dispatcher.d.ts +1 -11
- package/engine/reporter-dispatcher.d.ts.map +1 -1
- package/engine/reporter-output.d.ts +0 -6
- package/engine/reporter-output.d.ts.map +1 -1
- package/engine/reporter.d.ts +0 -16
- package/engine/reporter.d.ts.map +1 -1
- package/engine/reporting-context.d.ts +1 -13
- package/engine/reporting-context.d.ts.map +1 -1
- package/engine/require-assertion-facade.d.ts +2 -5
- package/engine/require-assertion-facade.d.ts.map +1 -1
- package/engine/run-result.d.ts +1 -62
- package/engine/run-result.d.ts.map +1 -1
- package/engine/run-timings.d.ts +0 -18
- package/engine/run-timings.d.ts.map +1 -1
- package/engine/test-body-resource-attachment.d.ts +0 -12
- package/engine/test-body-resource-attachment.d.ts.map +1 -1
- package/engine/test-body-resource-attachment.js +3 -134
- package/engine/test-body-resource-attachment.js.map +1 -1
- package/engine/test-data.d.ts +0 -6
- package/engine/test-data.d.ts.map +1 -1
- package/engine/test-node.d.ts +0 -21
- package/engine/test-node.d.ts.map +1 -1
- package/engine/test-node.js +1 -20
- package/engine/test-node.js.map +1 -1
- package/engine/test-plan.d.ts +1 -4
- package/engine/test-plan.d.ts.map +1 -1
- package/package.json +5 -2
- package/reporters/human-reporter-rendering.js +2 -2
- package/reporters/human-reporter-rendering.js.map +1 -1
- package/reporters/tree-reporter.js +2 -103
- package/reporters/tree-reporter.js.map +1 -1
- package/resources/resource-definition-shape.d.ts +0 -2
- package/resources/resource-definition-shape.d.ts.map +1 -1
- package/resources/resource-definition-types.d.ts +1 -96
- package/resources/resource-definition-types.d.ts.map +1 -1
- package/resources/resource-definition.js.map +1 -1
- package/resources/resource-lifecycle-error.d.ts +0 -1
- package/resources/resource-lifecycle-error.d.ts.map +1 -1
- package/resources/resource-lifecycle-error.js +17 -1
- package/resources/resource-lifecycle-error.js.map +1 -1
- package/resources/resource-scenario-binding.js +1 -69
- package/resources/resource-scenario-binding.js.map +1 -1
- package/resources/resource-scenario.d.ts +0 -19
- package/resources/resource-scenario.d.ts.map +1 -1
- package/resources/resource-session.d.ts +1 -20
- package/resources/resource-session.d.ts.map +1 -1
- package/resources/resources.d.ts +5 -88
- package/resources/resources.d.ts.map +1 -1
- package/resources/resources.js +2 -75
- package/resources/resources.js.map +1 -1
- package/resources/runtime-definition.d.ts +0 -7
- package/resources/runtime-definition.d.ts.map +1 -1
- package/resources/runtime-definition.js +2 -57
- package/resources/runtime-definition.js.map +1 -1
- package/resources/runtime-matrix-definition.d.ts +0 -36
- package/resources/runtime-matrix-definition.d.ts.map +1 -1
- package/run/capability-policy-snapshots.d.ts +0 -19
- package/run/capability-policy-snapshots.d.ts.map +1 -1
- package/run/command-line-command-namespace.d.ts +0 -5
- package/run/command-line-command-namespace.d.ts.map +1 -1
- package/run/command-line-command.d.ts +1 -4
- package/run/command-line-command.d.ts.map +1 -1
- package/run/command-line-runner.d.ts +0 -2
- package/run/command-line-runner.d.ts.map +1 -1
- package/run/coverage-reporting.js +6 -188
- package/run/coverage-reporting.js.map +1 -1
- package/run/current-process-run-orchestrator.d.ts +1 -5
- package/run/current-process-run-orchestrator.d.ts.map +1 -1
- package/run/duration-history.d.ts +0 -30
- package/run/duration-history.d.ts.map +1 -1
- package/run/placement-trace.d.ts +0 -18
- package/run/placement-trace.d.ts.map +1 -1
- package/run/resource-lifecycle-composition.d.ts +0 -3
- package/run/resource-lifecycle-composition.d.ts.map +1 -1
- package/run/resource-lifecycle-composition.js +1 -14
- package/run/resource-lifecycle-composition.js.map +1 -1
- package/run/resource-lifecycle-state.d.ts +0 -3
- package/run/resource-lifecycle-state.d.ts.map +1 -1
- package/run/run-collection-source.d.ts +1 -5
- package/run/run-collection-source.d.ts.map +1 -1
- package/run/run-config-schema.d.ts +0 -4
- package/run/run-config-schema.d.ts.map +1 -1
- package/run/run-config.d.ts +0 -1
- package/run/run-config.d.ts.map +1 -1
- package/run/run-discovery-types.d.ts +0 -14
- package/run/run-discovery-types.d.ts.map +1 -1
- package/run/run-engine-primitives.d.ts +10 -0
- package/run/run-engine-primitives.d.ts.map +1 -0
- package/run/run-engine-selection.d.ts +0 -10
- package/run/run-engine-selection.d.ts.map +1 -1
- package/run/run-errors.d.ts +0 -2
- package/run/run-errors.d.ts.map +1 -1
- package/run/run-if-main-options.d.ts +0 -7
- package/run/run-if-main-options.d.ts.map +1 -1
- package/run/run-if-main-profile.d.ts +0 -1
- package/run/run-if-main-profile.d.ts.map +1 -1
- package/run/run-if-main.d.ts +0 -1
- package/run/run-if-main.d.ts.map +1 -1
- package/run/run-orchestrator-dependencies.d.ts +1 -6
- package/run/run-orchestrator-dependencies.d.ts.map +1 -1
- package/run/run-orchestrator.d.ts +0 -8
- package/run/run-orchestrator.d.ts.map +1 -1
- package/run/run-orchestrator.entry-point.d.ts +1 -1
- package/run/run-orchestrator.entry-point.d.ts.map +1 -1
- package/run/run-selection-filters.d.ts +2 -11
- package/run/run-selection-filters.d.ts.map +1 -1
- package/run/run-test-modules.d.ts +0 -4
- package/run/run-test-modules.d.ts.map +1 -1
- package/run/run-timing-collection.d.ts +0 -21
- package/run/run-timing-collection.d.ts.map +1 -1
- package/run/run-types.d.ts +0 -1
- package/run/run-types.d.ts.map +1 -1
- package/run/run.d.ts +0 -3
- package/run/run.d.ts.map +1 -1
- package/run/supervised-child-execution.js +38 -0
- package/run/supervised-child-execution.js.map +1 -0
- package/run/supervised-child-process.d.ts +1 -53
- package/run/supervised-child-process.d.ts.map +1 -1
- package/run/supervised-child-process.js +1 -5
- package/run/supervised-child-process.js.map +1 -1
- package/run/supervised-child-test-plan.js.map +1 -1
- package/run/supervised-child.js +4 -36
- package/run/supervised-child.js.map +1 -1
- package/run/supervised-run-runtime.js.map +1 -1
- package/run/worker-pool-output.js +1 -1
- package/run/worker-pool-output.js.map +1 -1
- package/run/worker-pool-run.js +1 -7
- package/run/worker-pool-run.js.map +1 -1
- package/run/worker-pool-warm-lane-affinity.d.ts +0 -11
- package/run/worker-pool-warm-lane-affinity.d.ts.map +1 -1
- package/run/worker-pool-worker-plan.js.map +1 -1
- package/run/worker-pool-worker-resources.js.map +1 -1
- package/run/worker-pool-worker.js +1 -1
- package/run/worker-pool-worker.js.map +1 -1
- package/sbom.cdx.json +5 -5
- package/assertion-protocol/assertion-evaluation.d.ts +0 -13
- package/assertion-protocol/assertion-evaluation.d.ts.map +0 -1
- package/assertion-protocol/evaluation.d.ts +0 -32
- package/assertion-protocol/evaluation.d.ts.map +0 -1
- package/assertion-protocol/source-location-forwarding.d.ts +0 -4
- package/assertion-protocol/source-location-forwarding.d.ts.map +0 -1
- package/assertion-protocol/source-location.d.ts +0 -8
- package/assertion-protocol/source-location.d.ts.map +0 -1
- package/compare/comparison-result.d.ts +0 -25
- package/compare/comparison-result.d.ts.map +0 -1
- package/compare/comparison.d.ts +0 -12
- package/compare/comparison.d.ts.map +0 -1
- package/engine/async-leak-diagnostics.d.ts +0 -27
- package/engine/async-leak-diagnostics.d.ts.map +0 -1
- package/engine/custom-assertion-recording.d.ts +0 -33
- package/engine/custom-assertion-recording.d.ts.map +0 -1
- package/engine/execution-async-leak-policy.d.ts +0 -24
- package/engine/execution-async-leak-policy.d.ts.map +0 -1
- package/engine/execution-supervision-state.d.ts +0 -30
- package/engine/execution-supervision-state.d.ts.map +0 -1
- package/engine/reporter-disposal.d.ts +0 -6
- package/engine/reporter-disposal.d.ts.map +0 -1
- package/packages/engine/assertion-protocol.entry-point.d.ts +0 -10
- package/packages/engine/assertion-protocol.entry-point.d.ts.map +0 -1
- package/packages/engine/assertion-protocol.entry-point.js +0 -5
- package/packages/engine/assertion-protocol.entry-point.js.map +0 -1
- package/packages/engine/engine.entry-point.d.ts +0 -58
- package/packages/engine/engine.entry-point.d.ts.map +0 -1
- package/packages/engine/engine.entry-point.js +0 -75
- package/packages/engine/engine.entry-point.js.map +0 -1
- package/resources/resource-definition-brand.d.ts +0 -2
- package/resources/resource-definition-brand.d.ts.map +0 -1
- package/resources/resource-graph.d.ts +0 -24
- package/resources/resource-graph.d.ts.map +0 -1
- package/resources/resource-scenario-binding.d.ts +0 -37
- package/resources/resource-scenario-binding.d.ts.map +0 -1
- package/run/duration-history-schema.d.ts +0 -251
- package/run/duration-history-schema.d.ts.map +0 -1
- package/run/supervised-run-state.d.ts +0 -44
- package/run/supervised-run-state.d.ts.map +0 -1
|
@@ -1,251 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const durationHistoryIndexVersion = 2;
|
|
3
|
-
declare const entrySchema: z.ZodReadonly<z.ZodObject<{
|
|
4
|
-
observations: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
5
|
-
durationMicroseconds: z.ZodNumber;
|
|
6
|
-
metadata: z.ZodReadonly<z.ZodObject<{
|
|
7
|
-
processModel: z.ZodUnion<readonly [z.ZodLiteral<"in-process">, z.ZodLiteral<"supervised-process">, z.ZodLiteral<"worker-pool">]>;
|
|
8
|
-
profile: z.ZodString;
|
|
9
|
-
scheduling: z.ZodUnion<readonly [z.ZodLiteral<"concurrent">, z.ZodLiteral<"serial">]>;
|
|
10
|
-
testFamily: z.ZodUnion<readonly [z.ZodLiteral<"integration">, z.ZodLiteral<"microtest">]>;
|
|
11
|
-
workerLifecycle: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<"fresh-worker-per-unit">, z.ZodLiteral<"reuse">]>>;
|
|
12
|
-
}, z.core.$strict>>;
|
|
13
|
-
observedAt: z.ZodISODateTime;
|
|
14
|
-
}, z.core.$strict>>, z.ZodPipe<z.ZodReadonly<z.ZodObject<{
|
|
15
|
-
durationMilliseconds: z.ZodNumber;
|
|
16
|
-
metadata: z.ZodReadonly<z.ZodObject<{
|
|
17
|
-
processModel: z.ZodUnion<readonly [z.ZodLiteral<"in-process">, z.ZodLiteral<"supervised-process">, z.ZodLiteral<"worker-pool">]>;
|
|
18
|
-
profile: z.ZodString;
|
|
19
|
-
scheduling: z.ZodUnion<readonly [z.ZodLiteral<"concurrent">, z.ZodLiteral<"serial">]>;
|
|
20
|
-
testFamily: z.ZodUnion<readonly [z.ZodLiteral<"integration">, z.ZodLiteral<"microtest">]>;
|
|
21
|
-
workerLifecycle: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<"fresh-worker-per-unit">, z.ZodLiteral<"reuse">]>>;
|
|
22
|
-
}, z.core.$strict>>;
|
|
23
|
-
observedAt: z.ZodISODateTime;
|
|
24
|
-
}, z.core.$strict>>, z.ZodTransform<{
|
|
25
|
-
durationMicroseconds: number;
|
|
26
|
-
metadata: Readonly<{
|
|
27
|
-
processModel: "in-process" | "supervised-process" | "worker-pool";
|
|
28
|
-
profile: string;
|
|
29
|
-
scheduling: "serial" | "concurrent";
|
|
30
|
-
testFamily: "integration" | "microtest";
|
|
31
|
-
workerLifecycle: "fresh-worker-per-unit" | "reuse" | null;
|
|
32
|
-
}>;
|
|
33
|
-
observedAt: string;
|
|
34
|
-
}, Readonly<{
|
|
35
|
-
durationMilliseconds: number;
|
|
36
|
-
metadata: Readonly<{
|
|
37
|
-
processModel: "in-process" | "supervised-process" | "worker-pool";
|
|
38
|
-
profile: string;
|
|
39
|
-
scheduling: "serial" | "concurrent";
|
|
40
|
-
testFamily: "integration" | "microtest";
|
|
41
|
-
workerLifecycle: "fresh-worker-per-unit" | "reuse" | null;
|
|
42
|
-
}>;
|
|
43
|
-
observedAt: string;
|
|
44
|
-
}>>>]>>>;
|
|
45
|
-
work: z.ZodReadonly<z.ZodObject<{
|
|
46
|
-
case: z.ZodReadonly<z.ZodObject<{
|
|
47
|
-
file: z.ZodNullable<z.ZodString>;
|
|
48
|
-
params: z.ZodNullable<z.ZodString>;
|
|
49
|
-
suite: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
50
|
-
title: z.ZodString;
|
|
51
|
-
}, z.core.$strict>>;
|
|
52
|
-
runtimes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
53
|
-
dimensions: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
54
|
-
name: z.ZodString;
|
|
55
|
-
scenarios: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
56
|
-
variantId: z.ZodNullable<z.ZodString>;
|
|
57
|
-
}, z.core.$strict>>>>;
|
|
58
|
-
workload: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
59
|
-
name: z.ZodString;
|
|
60
|
-
params: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
61
|
-
}, z.core.$strict>>>;
|
|
62
|
-
}, z.core.$strict>>;
|
|
63
|
-
}, z.core.$strict>>;
|
|
64
|
-
type CurrentDurationHistoryIndex = {
|
|
65
|
-
readonly entries: readonly z.output<typeof entrySchema>[];
|
|
66
|
-
readonly updatedAt: string;
|
|
67
|
-
readonly version: typeof durationHistoryIndexVersion;
|
|
68
|
-
};
|
|
69
|
-
export declare const durationHistoryIndexSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
70
|
-
entries: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
71
|
-
observations: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
72
|
-
durationMicroseconds: z.ZodNumber;
|
|
73
|
-
metadata: z.ZodReadonly<z.ZodObject<{
|
|
74
|
-
processModel: z.ZodUnion<readonly [z.ZodLiteral<"in-process">, z.ZodLiteral<"supervised-process">, z.ZodLiteral<"worker-pool">]>;
|
|
75
|
-
profile: z.ZodString;
|
|
76
|
-
scheduling: z.ZodUnion<readonly [z.ZodLiteral<"concurrent">, z.ZodLiteral<"serial">]>;
|
|
77
|
-
testFamily: z.ZodUnion<readonly [z.ZodLiteral<"integration">, z.ZodLiteral<"microtest">]>;
|
|
78
|
-
workerLifecycle: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<"fresh-worker-per-unit">, z.ZodLiteral<"reuse">]>>;
|
|
79
|
-
}, z.core.$strict>>;
|
|
80
|
-
observedAt: z.ZodISODateTime;
|
|
81
|
-
}, z.core.$strict>>, z.ZodPipe<z.ZodReadonly<z.ZodObject<{
|
|
82
|
-
durationMilliseconds: z.ZodNumber;
|
|
83
|
-
metadata: z.ZodReadonly<z.ZodObject<{
|
|
84
|
-
processModel: z.ZodUnion<readonly [z.ZodLiteral<"in-process">, z.ZodLiteral<"supervised-process">, z.ZodLiteral<"worker-pool">]>;
|
|
85
|
-
profile: z.ZodString;
|
|
86
|
-
scheduling: z.ZodUnion<readonly [z.ZodLiteral<"concurrent">, z.ZodLiteral<"serial">]>;
|
|
87
|
-
testFamily: z.ZodUnion<readonly [z.ZodLiteral<"integration">, z.ZodLiteral<"microtest">]>;
|
|
88
|
-
workerLifecycle: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<"fresh-worker-per-unit">, z.ZodLiteral<"reuse">]>>;
|
|
89
|
-
}, z.core.$strict>>;
|
|
90
|
-
observedAt: z.ZodISODateTime;
|
|
91
|
-
}, z.core.$strict>>, z.ZodTransform<{
|
|
92
|
-
durationMicroseconds: number;
|
|
93
|
-
metadata: Readonly<{
|
|
94
|
-
processModel: "in-process" | "supervised-process" | "worker-pool";
|
|
95
|
-
profile: string;
|
|
96
|
-
scheduling: "serial" | "concurrent";
|
|
97
|
-
testFamily: "integration" | "microtest";
|
|
98
|
-
workerLifecycle: "fresh-worker-per-unit" | "reuse" | null;
|
|
99
|
-
}>;
|
|
100
|
-
observedAt: string;
|
|
101
|
-
}, Readonly<{
|
|
102
|
-
durationMilliseconds: number;
|
|
103
|
-
metadata: Readonly<{
|
|
104
|
-
processModel: "in-process" | "supervised-process" | "worker-pool";
|
|
105
|
-
profile: string;
|
|
106
|
-
scheduling: "serial" | "concurrent";
|
|
107
|
-
testFamily: "integration" | "microtest";
|
|
108
|
-
workerLifecycle: "fresh-worker-per-unit" | "reuse" | null;
|
|
109
|
-
}>;
|
|
110
|
-
observedAt: string;
|
|
111
|
-
}>>>]>>>;
|
|
112
|
-
work: z.ZodReadonly<z.ZodObject<{
|
|
113
|
-
case: z.ZodReadonly<z.ZodObject<{
|
|
114
|
-
file: z.ZodNullable<z.ZodString>;
|
|
115
|
-
params: z.ZodNullable<z.ZodString>;
|
|
116
|
-
suite: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
117
|
-
title: z.ZodString;
|
|
118
|
-
}, z.core.$strict>>;
|
|
119
|
-
runtimes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
120
|
-
dimensions: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
121
|
-
name: z.ZodString;
|
|
122
|
-
scenarios: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
123
|
-
variantId: z.ZodNullable<z.ZodString>;
|
|
124
|
-
}, z.core.$strict>>>>;
|
|
125
|
-
workload: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
126
|
-
name: z.ZodString;
|
|
127
|
-
params: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
128
|
-
}, z.core.$strict>>>;
|
|
129
|
-
}, z.core.$strict>>;
|
|
130
|
-
}, z.core.$strict>>>>;
|
|
131
|
-
updatedAt: z.ZodISODateTime;
|
|
132
|
-
version: z.ZodLiteral<2>;
|
|
133
|
-
}, z.core.$strict>>, z.ZodPipe<z.ZodReadonly<z.ZodObject<{
|
|
134
|
-
entries: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
135
|
-
observations: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
136
|
-
durationMicroseconds: z.ZodNumber;
|
|
137
|
-
metadata: z.ZodReadonly<z.ZodObject<{
|
|
138
|
-
processModel: z.ZodUnion<readonly [z.ZodLiteral<"in-process">, z.ZodLiteral<"supervised-process">, z.ZodLiteral<"worker-pool">]>;
|
|
139
|
-
profile: z.ZodString;
|
|
140
|
-
scheduling: z.ZodUnion<readonly [z.ZodLiteral<"concurrent">, z.ZodLiteral<"serial">]>;
|
|
141
|
-
testFamily: z.ZodUnion<readonly [z.ZodLiteral<"integration">, z.ZodLiteral<"microtest">]>;
|
|
142
|
-
workerLifecycle: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<"fresh-worker-per-unit">, z.ZodLiteral<"reuse">]>>;
|
|
143
|
-
}, z.core.$strict>>;
|
|
144
|
-
observedAt: z.ZodISODateTime;
|
|
145
|
-
}, z.core.$strict>>, z.ZodPipe<z.ZodReadonly<z.ZodObject<{
|
|
146
|
-
durationMilliseconds: z.ZodNumber;
|
|
147
|
-
metadata: z.ZodReadonly<z.ZodObject<{
|
|
148
|
-
processModel: z.ZodUnion<readonly [z.ZodLiteral<"in-process">, z.ZodLiteral<"supervised-process">, z.ZodLiteral<"worker-pool">]>;
|
|
149
|
-
profile: z.ZodString;
|
|
150
|
-
scheduling: z.ZodUnion<readonly [z.ZodLiteral<"concurrent">, z.ZodLiteral<"serial">]>;
|
|
151
|
-
testFamily: z.ZodUnion<readonly [z.ZodLiteral<"integration">, z.ZodLiteral<"microtest">]>;
|
|
152
|
-
workerLifecycle: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<"fresh-worker-per-unit">, z.ZodLiteral<"reuse">]>>;
|
|
153
|
-
}, z.core.$strict>>;
|
|
154
|
-
observedAt: z.ZodISODateTime;
|
|
155
|
-
}, z.core.$strict>>, z.ZodTransform<{
|
|
156
|
-
durationMicroseconds: number;
|
|
157
|
-
metadata: Readonly<{
|
|
158
|
-
processModel: "in-process" | "supervised-process" | "worker-pool";
|
|
159
|
-
profile: string;
|
|
160
|
-
scheduling: "serial" | "concurrent";
|
|
161
|
-
testFamily: "integration" | "microtest";
|
|
162
|
-
workerLifecycle: "fresh-worker-per-unit" | "reuse" | null;
|
|
163
|
-
}>;
|
|
164
|
-
observedAt: string;
|
|
165
|
-
}, Readonly<{
|
|
166
|
-
durationMilliseconds: number;
|
|
167
|
-
metadata: Readonly<{
|
|
168
|
-
processModel: "in-process" | "supervised-process" | "worker-pool";
|
|
169
|
-
profile: string;
|
|
170
|
-
scheduling: "serial" | "concurrent";
|
|
171
|
-
testFamily: "integration" | "microtest";
|
|
172
|
-
workerLifecycle: "fresh-worker-per-unit" | "reuse" | null;
|
|
173
|
-
}>;
|
|
174
|
-
observedAt: string;
|
|
175
|
-
}>>>]>>>;
|
|
176
|
-
work: z.ZodReadonly<z.ZodObject<{
|
|
177
|
-
case: z.ZodReadonly<z.ZodObject<{
|
|
178
|
-
file: z.ZodNullable<z.ZodString>;
|
|
179
|
-
params: z.ZodNullable<z.ZodString>;
|
|
180
|
-
suite: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
181
|
-
title: z.ZodString;
|
|
182
|
-
}, z.core.$strict>>;
|
|
183
|
-
runtimes: z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodReadonly<z.ZodObject<{
|
|
184
|
-
dimensions: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
185
|
-
name: z.ZodString;
|
|
186
|
-
variantId: z.ZodNullable<z.ZodString>;
|
|
187
|
-
}, z.core.$strict>>, z.ZodTransform<{
|
|
188
|
-
scenarios: {};
|
|
189
|
-
dimensions: Readonly<Record<string, string>>;
|
|
190
|
-
name: string;
|
|
191
|
-
variantId: string | null;
|
|
192
|
-
}, Readonly<{
|
|
193
|
-
dimensions: Readonly<Record<string, string>>;
|
|
194
|
-
name: string;
|
|
195
|
-
variantId: string | null;
|
|
196
|
-
}>>>>>;
|
|
197
|
-
workload: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
198
|
-
name: z.ZodString;
|
|
199
|
-
params: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
200
|
-
}, z.core.$strict>>>;
|
|
201
|
-
}, z.core.$strict>>;
|
|
202
|
-
}, z.core.$strict>>>>;
|
|
203
|
-
updatedAt: z.ZodISODateTime;
|
|
204
|
-
version: z.ZodLiteral<1>;
|
|
205
|
-
}, z.core.$strict>>, z.ZodTransform<CurrentDurationHistoryIndex, Readonly<{
|
|
206
|
-
entries: readonly Readonly<{
|
|
207
|
-
observations: readonly ({
|
|
208
|
-
durationMicroseconds: number;
|
|
209
|
-
metadata: Readonly<{
|
|
210
|
-
processModel: "in-process" | "supervised-process" | "worker-pool";
|
|
211
|
-
profile: string;
|
|
212
|
-
scheduling: "serial" | "concurrent";
|
|
213
|
-
testFamily: "integration" | "microtest";
|
|
214
|
-
workerLifecycle: "fresh-worker-per-unit" | "reuse" | null;
|
|
215
|
-
}>;
|
|
216
|
-
observedAt: string;
|
|
217
|
-
} | Readonly<{
|
|
218
|
-
durationMicroseconds: number;
|
|
219
|
-
metadata: Readonly<{
|
|
220
|
-
processModel: "in-process" | "supervised-process" | "worker-pool";
|
|
221
|
-
profile: string;
|
|
222
|
-
scheduling: "serial" | "concurrent";
|
|
223
|
-
testFamily: "integration" | "microtest";
|
|
224
|
-
workerLifecycle: "fresh-worker-per-unit" | "reuse" | null;
|
|
225
|
-
}>;
|
|
226
|
-
observedAt: string;
|
|
227
|
-
}>)[];
|
|
228
|
-
work: Readonly<{
|
|
229
|
-
case: Readonly<{
|
|
230
|
-
file: string | null;
|
|
231
|
-
params: string | null;
|
|
232
|
-
suite: readonly string[];
|
|
233
|
-
title: string;
|
|
234
|
-
}>;
|
|
235
|
-
runtimes: readonly {
|
|
236
|
-
scenarios: {};
|
|
237
|
-
dimensions: Readonly<Record<string, string>>;
|
|
238
|
-
name: string;
|
|
239
|
-
variantId: string | null;
|
|
240
|
-
}[];
|
|
241
|
-
workload: Readonly<{
|
|
242
|
-
name: string;
|
|
243
|
-
params: Readonly<Record<string, string>>;
|
|
244
|
-
}> | null;
|
|
245
|
-
}>;
|
|
246
|
-
}>[];
|
|
247
|
-
updatedAt: string;
|
|
248
|
-
version: 1;
|
|
249
|
-
}>>>]>;
|
|
250
|
-
export {};
|
|
251
|
-
//# sourceMappingURL=duration-history-schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"duration-history-schema.d.ts","sourceRoot":"","sources":["../../../../source/run/duration-history-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,2BAA2B,IAAI,CAAC;AAsF7C,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAKF,CAAC;AAOhB,KAAK,2BAA2B,GAAG;IAC/B,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,WAAW,CAAC,EAAE,CAAC;IAC1D,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,OAAO,EAAE,OAAO,2BAA2B,CAAC;CACxD,CAAC;AAwBF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAqD,CAAC"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { type CaseId, type WorkId } from '../engine/identity.ts';
|
|
2
|
-
import type { PerTestResult, RunArtifact, RunnerError } from '../engine/run-result.ts';
|
|
3
|
-
import type { RunRequest } from './run-types.ts';
|
|
4
|
-
type ActiveCaseTiming = {
|
|
5
|
-
readonly startedAtMicroseconds: number;
|
|
6
|
-
};
|
|
7
|
-
export declare function remainingHardTimeoutMilliseconds(activeCases: Iterable<ActiveCaseTiming>, nowMicroseconds: number, hardTimeoutMilliseconds: number): number | null;
|
|
8
|
-
export type SupervisedCase = {
|
|
9
|
-
readonly capture: RunRequest['capture'] | null;
|
|
10
|
-
readonly definitionLocations?: PerTestResult['definitionLocations'];
|
|
11
|
-
readonly id: CaseId;
|
|
12
|
-
readonly workId?: WorkId;
|
|
13
|
-
};
|
|
14
|
-
type ActiveSupervisedCase = SupervisedCase & {
|
|
15
|
-
readonly startedAtMicroseconds: number;
|
|
16
|
-
};
|
|
17
|
-
export type StoredRunValue<Value> = {
|
|
18
|
-
readonly read: () => Value;
|
|
19
|
-
readonly write: (value: Value) => void;
|
|
20
|
-
};
|
|
21
|
-
export type SupervisedRunState = {
|
|
22
|
-
readonly activeCases: ReadonlyMap<string, ActiveSupervisedCase>;
|
|
23
|
-
readonly addActiveCase: (key: string, testCase: SupervisedCase, startedAtMicroseconds: number) => void;
|
|
24
|
-
readonly artifacts: () => readonly RunArtifact[];
|
|
25
|
-
readonly caseArtifacts: (testCase: CaseId) => readonly RunArtifact[];
|
|
26
|
-
readonly perTestResults: () => readonly PerTestResult[];
|
|
27
|
-
readonly recordCapturedOutput: (stream: 'stderr' | 'stdout', chunk: Uint8Array, capturedAtMicroseconds: number) => void;
|
|
28
|
-
readonly recordPerTestResult: (key: string, result: PerTestResult, completedAtMicroseconds: number) => void;
|
|
29
|
-
readonly recordArtifact: (artifact: RunArtifact) => void;
|
|
30
|
-
readonly recordRunnerError: (error: RunnerError) => void;
|
|
31
|
-
readonly recordRunnerErrors: (errors: readonly RunnerError[]) => void;
|
|
32
|
-
readonly recordRuntimePolicyViolation: (capability: string, message: string) => void;
|
|
33
|
-
readonly recordTerminalActiveCases: (verdict: PerTestResult['verdict'], completedAtMicroseconds: number) => void;
|
|
34
|
-
readonly removeActiveCase: (key: string) => void;
|
|
35
|
-
readonly runnerErrors: () => readonly RunnerError[];
|
|
36
|
-
readonly testExecutionWallTimeMicroseconds: () => number;
|
|
37
|
-
};
|
|
38
|
-
export declare const capturedOutputLimitBytes: number;
|
|
39
|
-
export declare function deduplicatedRuntimePolicyErrors(errors: readonly RunnerError[]): readonly RunnerError[];
|
|
40
|
-
export declare function deduplicatedChildRuntimePolicyErrors(childErrors: readonly RunnerError[], supervisorErrors: readonly RunnerError[]): readonly RunnerError[];
|
|
41
|
-
export declare function createStoredRunValue<Value>(initialValue: Value): StoredRunValue<Value>;
|
|
42
|
-
export declare function createSupervisedRunState(): SupervisedRunState;
|
|
43
|
-
export {};
|
|
44
|
-
//# sourceMappingURL=supervised-run-state.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"supervised-run-state.d.ts","sourceRoot":"","sources":["../../../../source/run/supervised-run-state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,KAAK,MAAM,EAAE,KAAK,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACvG,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACvF,OAAO,KAAK,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