@overkill-dev/run 0.0.11 → 0.0.13
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/diff/diff-shape.d.ts +7 -2
- package/diff/diff-shape.d.ts.map +1 -1
- package/engine/assertion-recorder.js +242 -0
- package/engine/assertion-recorder.js.map +1 -0
- package/engine/case-execution.js +31 -247
- package/engine/case-execution.js.map +1 -1
- package/engine/execution-result.js +12 -4
- package/engine/execution-result.js.map +1 -1
- package/engine/execution-supervision.d.ts +50 -0
- package/engine/execution-supervision.d.ts.map +1 -0
- package/engine/execution-supervision.js +316 -0
- package/engine/execution-supervision.js.map +1 -0
- package/engine/execution.d.ts +4 -1
- package/engine/execution.d.ts.map +1 -1
- package/engine/execution.js +70 -61
- package/engine/execution.js.map +1 -1
- package/engine/reporter-output.d.ts +8 -1
- package/engine/reporter-output.d.ts.map +1 -1
- package/engine/reporter-output.js +9 -2
- package/engine/reporter-output.js.map +1 -1
- package/engine/reporter.d.ts +9 -3
- package/engine/reporter.d.ts.map +1 -1
- package/engine/reporter.js +7 -0
- package/engine/reporter.js.map +1 -1
- package/engine/run-result.d.ts +15 -5
- package/engine/run-result.d.ts.map +1 -1
- package/engine/run-result.js.map +1 -1
- package/engine/test-node.d.ts +1 -0
- package/engine/test-node.d.ts.map +1 -1
- package/engine/test-node.js.map +1 -1
- package/package.json +5 -2
- package/packages/engine/engine.entry-point.js +2 -2
- package/packages/engine/engine.entry-point.js.map +1 -1
- package/packages/run/command-line.entry-point.d.ts +1 -1
- package/packages/run/command-line.entry-point.d.ts.map +1 -1
- package/packages/run/run.entry-point.d.ts +3 -1
- package/packages/run/run.entry-point.d.ts.map +1 -1
- package/packages/run/run.entry-point.js +1 -0
- package/packages/run/run.entry-point.js.map +1 -1
- package/readme.md +9 -7
- package/reporters/line-reporter.js +18 -12
- package/reporters/line-reporter.js.map +1 -1
- package/run/command-line-command.d.ts +1 -1
- package/run/command-line-command.d.ts.map +1 -1
- package/run/command-line-runner.d.ts +1 -1
- package/run/command-line-runner.d.ts.map +1 -1
- package/run/command-line-runner.js +6 -3
- package/run/command-line-runner.js.map +1 -1
- package/run/resource-usage.d.ts.map +1 -1
- package/run/resource-usage.js +16 -17
- package/run/resource-usage.js.map +1 -1
- package/run/run-config.d.ts +145 -32
- package/run/run-config.d.ts.map +1 -1
- package/run/run-config.js +187 -61
- package/run/run-config.js.map +1 -1
- package/run/run-orchestrator.d.ts +1 -1
- package/run/run-orchestrator.d.ts.map +1 -1
- package/run/run-orchestrator.js +10 -7
- package/run/run-orchestrator.js.map +1 -1
- package/run/{run.d.ts → run-types.d.ts} +38 -23
- package/run/run-types.d.ts.map +1 -0
- package/run/run.js +86 -29
- package/run/run.js.map +1 -1
- package/run/supervised-run.js +359 -0
- package/run/supervised-run.js.map +1 -0
- package/sbom.cdx.json +5 -5
- package/run/run.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"engine.entry-point.js","sourceRoot":"","sources":["../../../../../source/packages/engine/engine.entry-point.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,YAAY,IAAI,oBAAoB,EAAe,MAAM,wBAAwB,CAAC;AAC3F,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAW/E,SAAS,mBAAmB;IACxB,OAAO,OAAO,CAAC,QAAQ,CAAC;AAC5B,CAAC;AAED,SAAS,oBAAoB,CAAC,QAAgB;IAC1C,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAChC,CAAC;AAED,SAAS,eAAe,CAAC,IAAY;IACjC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,IAAI,IAAI,CAAC,CAAC;AACtC,CAAC;AAED,SAAS,eAAe,CAAC,IAAY;IACjC,OAAO,CAAC,MAAM,CAAC,KA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,MAAM,aAAa,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;AAC3D,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,KAAc;IACvC,OAAO,aAAa,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;AAC7C,CAAC;AAUD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAmBxD,OAAO,EACH,cAAc,EACd,UAAU,EACV,yBAAyB,EACzB,qBAAqB,EACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACH,yBAAyB,EACzB,oBAAoB,EACpB,gBAAgB,EACnB,MAAM,iCAAiC,CAAC;AAqCzC,OAAO,EACH,0BAA0B,EAC1B,cAAc,EACd,wBAAwB,EAC3B,MAAM,mCAAmC,CAAC;AAS3C,OAAO,EACH,qBAAqB,EACrB,qBAAqB,EACxB,MAAM,6CAA6C,CAAC"}
|
|
@@ -3,5 +3,5 @@ export { commandLineRunner } from '../../run/command-line-runner.ts';
|
|
|
3
3
|
export type { CommandLineBaselineCommands, CommandLineBenchmarkCommands, CommandLineCommand, CommandLineCommandContext, CommandLineExitCode, CommandLineRunnerResult, CommandLineRunTestsRequest } from '../../run/command-line-command.ts';
|
|
4
4
|
export type { CommandLineRunner } from '../../run/command-line-runner.ts';
|
|
5
5
|
export { defineConfig, loadRunConfig, RunConfigError } from '../../run/run-config.ts';
|
|
6
|
-
export type { LoadedRunConfig, RunConfigLoadRequest, RunProjectConfig,
|
|
6
|
+
export type { LoadedRunConfig, RunConfigLoadRequest, RunProjectConfig, RunProjectMeasuredResourceUsage, RunProjectMicrotestExecution, RunProjectMicrotestProfileConfig, RunProjectProfilesConfig, RunProjectResourceBudgets, RunProjectResourceUsageConfig, RunProjectTimeoutConfig, RunProjectUnmeasuredResourceUsage } from '../../run/run-config.ts';
|
|
7
7
|
//# sourceMappingURL=command-line.entry-point.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-line.entry-point.d.ts","sourceRoot":"","sources":["../../../../../source/packages/run/command-line.entry-point.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,oBAAoB,EACvB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACH,iBAAiB,EACpB,MAAM,kCAAkC,CAAC;AAC1C,YAAY,EACR,2BAA2B,EAC3B,4BAA4B,EAC5B,kBAAkB,EAClB,yBAAyB,EACzB,mBAAmB,EACnB,uBAAuB,EACvB,0BAA0B,EAC7B,MAAM,mCAAmC,CAAC;AAC3C,YAAY,EACR,iBAAiB,EACpB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACH,YAAY,EACZ,aAAa,EACb,cAAc,EACjB,MAAM,yBAAyB,CAAC;AACjC,YAAY,EACR,eAAe,EACf,oBAAoB,EACpB,gBAAgB,EAChB,
|
|
1
|
+
{"version":3,"file":"command-line.entry-point.d.ts","sourceRoot":"","sources":["../../../../../source/packages/run/command-line.entry-point.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,oBAAoB,EACvB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACH,iBAAiB,EACpB,MAAM,kCAAkC,CAAC;AAC1C,YAAY,EACR,2BAA2B,EAC3B,4BAA4B,EAC5B,kBAAkB,EAClB,yBAAyB,EACzB,mBAAmB,EACnB,uBAAuB,EACvB,0BAA0B,EAC7B,MAAM,mCAAmC,CAAC;AAC3C,YAAY,EACR,iBAAiB,EACpB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACH,YAAY,EACZ,aAAa,EACb,cAAc,EACjB,MAAM,yBAAyB,CAAC;AACjC,YAAY,EACR,eAAe,EACf,oBAAoB,EACpB,gBAAgB,EAChB,+BAA+B,EAC/B,4BAA4B,EAC5B,gCAAgC,EAChC,wBAAwB,EACxB,yBAAyB,EACzB,6BAA6B,EAC7B,uBAAuB,EACvB,iCAAiC,EACpC,MAAM,yBAAyB,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export { orchestrator } from '../../run/run-orchestrator.ts';
|
|
2
|
+
export { defineConfig, loadRunConfig, RunConfigError } from '../../run/run-config.ts';
|
|
2
3
|
export { RunResolutionError } from '../../run/run-errors.ts';
|
|
4
|
+
export type { LoadedRunConfig, RunConfigLoadRequest, RunProjectConfig, RunProjectMeasuredResourceUsage, RunProjectMicrotestExecution, RunProjectMicrotestProfileConfig, RunProjectProfilesConfig, RunProjectResourceBudgets, RunProjectResourceUsageConfig, RunProjectTimeoutConfig, RunProjectUnmeasuredResourceUsage } from '../../run/run-config.ts';
|
|
3
5
|
export type { RunResolutionErrorCode } from '../../run/run-errors.ts';
|
|
4
|
-
export type { ResolvedRun,
|
|
6
|
+
export type { ResolvedRun, RunCaseFacts, RunCommand, RunConfig, RunDebugRequest, RunEnvironmentFacts, RunExecutionRequest, RunFacts, RunExecutionFacts, RunLoaderConfig, RunMicrotestExecution, RunMicrotestProfileConfig, RunOrchestrator, RunProcessModel, RunProfilesConfig, RunResourceBudgets, RunResourceUsagePolicy, RunReproducibilityFacts, RunRequest, RunScheduling, RunSeed, RunSelection, RunShard, RunTestFamily, RunTimeoutPolicy, SerializedValue } from '../../run/run-types.ts';
|
|
5
7
|
//# sourceMappingURL=run.entry-point.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run.entry-point.d.ts","sourceRoot":"","sources":["../../../../../source/packages/run/run.entry-point.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,YAAY,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AACtE,YAAY,EACR,WAAW,EACX,
|
|
1
|
+
{"version":3,"file":"run.entry-point.d.ts","sourceRoot":"","sources":["../../../../../source/packages/run/run.entry-point.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EACH,YAAY,EACZ,aAAa,EACb,cAAc,EACjB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,YAAY,EACR,eAAe,EACf,oBAAoB,EACpB,gBAAgB,EAChB,+BAA+B,EAC/B,4BAA4B,EAC5B,gCAAgC,EAChC,wBAAwB,EACxB,yBAAyB,EACzB,6BAA6B,EAC7B,uBAAuB,EACvB,iCAAiC,EACpC,MAAM,yBAAyB,CAAC;AACjC,YAAY,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AACtE,YAAY,EACR,WAAW,EACX,YAAY,EACZ,UAAU,EACV,SAAS,EACT,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,QAAQ,EACR,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,yBAAyB,EACzB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,UAAU,EACV,aAAa,EACb,OAAO,EACP,YAAY,EACZ,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,eAAe,EAClB,MAAM,wBAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run.entry-point.js","sourceRoot":"","sources":["../../../../../source/packages/run/run.entry-point.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"run.entry-point.js","sourceRoot":"","sources":["../../../../../source/packages/run/run.entry-point.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EACH,YAAY,EACZ,aAAa,EACb,cAAc,EACjB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC"}
|
package/readme.md
CHANGED
|
@@ -9,8 +9,9 @@ Top-level API:
|
|
|
9
9
|
- `RunFacts`
|
|
10
10
|
- `RunResourceBudgets`
|
|
11
11
|
- `RunResourceUsagePolicy`
|
|
12
|
-
- `ResourceBudgetOverrides`
|
|
13
12
|
- `ResolvedRun`
|
|
13
|
+
- `defineConfig(config)`
|
|
14
|
+
- `loadRunConfig({ cwd, configPath })`
|
|
14
15
|
- `orchestrator.resolve(command)`
|
|
15
16
|
- `orchestrator.run(command)`
|
|
16
17
|
|
|
@@ -48,15 +49,14 @@ non-`runTests` command methods are fixed first-party entrypoints and currently
|
|
|
48
49
|
return argument errors until their command implementations land.
|
|
49
50
|
|
|
50
51
|
Resource usage measurement is explicit. Project config can enable it under
|
|
51
|
-
`profiles.
|
|
52
|
-
can override that policy for one run. `
|
|
53
|
-
require measurement, while `RunRequest.resourceBudgetOverrides` changes
|
|
54
|
-
individual thresholds for one run.
|
|
55
|
-
supervised resource enforcement lands. Textual parsing for
|
|
52
|
+
`profiles.<name>.resourceUsage.measure`; `RunRequest.measureResourceUsage`
|
|
53
|
+
can override that policy for one run. `resourceUsage.budgets` are thresholds
|
|
54
|
+
and require measurement, while `RunRequest.resourceBudgetOverrides` changes
|
|
55
|
+
individual thresholds for one run. Textual parsing for
|
|
56
56
|
`--measure-resource-usage` and `--resource-budget <name=value>` belongs to the
|
|
57
57
|
later command-line implementation milestone.
|
|
58
58
|
|
|
59
|
-
Config loading is common
|
|
59
|
+
Config loading is common runner infrastructure, not plugin discovery.
|
|
60
60
|
The command-line runner loads native Node config files, selects the default
|
|
61
61
|
line reporter when project config omits reporters, defaults managed reporter
|
|
62
62
|
output to the plain renderer, returns fallback diagnostics for the binary
|
|
@@ -66,3 +66,5 @@ scan, dynamic command registry, or command plugin lifecycle.
|
|
|
66
66
|
|
|
67
67
|
Project config may set `outputRenderer` to adapt managed line intents, for
|
|
68
68
|
example to render GitHub Actions annotations from a brief stdout reporter.
|
|
69
|
+
Config files must export `config` as a named export. Default exports are
|
|
70
|
+
configuration errors.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import figures from 'figures';
|
|
2
2
|
import colors from 'yoctocolors';
|
|
3
|
+
import { defineReporter } from "../engine/reporter.js";
|
|
3
4
|
import { formatFailure } from "./line-failure-rendering.js";
|
|
4
5
|
import { createTerminalLineLogger } from "./terminal.js";
|
|
5
6
|
const successSymbol = colors.green(figures.tick);
|
|
@@ -35,6 +36,13 @@ function formatTestResult(id, outcome, wallTimeMs) {
|
|
|
35
36
|
}
|
|
36
37
|
return [infoSymbol, message];
|
|
37
38
|
}
|
|
39
|
+
function formatTerminalTestResult(id, verdict, wallTimeMs) {
|
|
40
|
+
const message = `${formatCaseName(id)} (${formatDuration(wallTimeMs)})`;
|
|
41
|
+
if (verdict === 'resource-exhausted') {
|
|
42
|
+
return [errorSymbol, `${message}: resource exhausted`];
|
|
43
|
+
}
|
|
44
|
+
return [errorSymbol, `${message}: crashed`];
|
|
45
|
+
}
|
|
38
46
|
function formatSuiteName(event) {
|
|
39
47
|
return event.suitePath.reduce(function selectLastSuiteName(_previous, suiteName) {
|
|
40
48
|
return suiteName;
|
|
@@ -52,19 +60,15 @@ function logFailures(terminal, suiteDepth, outcome) {
|
|
|
52
60
|
}
|
|
53
61
|
function logSummary(terminal, result) {
|
|
54
62
|
const { summary } = result;
|
|
55
|
-
const
|
|
56
|
-
.
|
|
57
|
-
.filter(function isCrash(error) {
|
|
58
|
-
return error.subtype === 'crash';
|
|
59
|
-
})
|
|
60
|
-
.length;
|
|
61
|
-
const executed = summary.passed + summary.failed + summary.skipped + summary.inconclusive + crashCount;
|
|
63
|
+
const executed = summary.passed + summary.failed + summary.skipped + summary.inconclusive +
|
|
64
|
+
summary.crashed + summary.resourceExhausted;
|
|
62
65
|
const outcomes = [
|
|
63
66
|
`${summary.passed} pass`,
|
|
64
67
|
`${summary.failed} fail`,
|
|
65
68
|
`${summary.skipped} skip`,
|
|
66
69
|
...summary.inconclusive === 0 ? [] : [`${summary.inconclusive} inconclusive`],
|
|
67
|
-
...
|
|
70
|
+
...summary.resourceExhausted === 0 ? [] : [`${summary.resourceExhausted} resource-exhausted`],
|
|
71
|
+
...summary.crashed === 0 ? [] : [`${summary.crashed} crash`]
|
|
68
72
|
]
|
|
69
73
|
.join(', ');
|
|
70
74
|
const orphanSummary = result.orphans.length === 0 ? '' : `, ${result.orphans.length} orphaned`;
|
|
@@ -84,9 +88,11 @@ export function createLineReporter(dependencies) {
|
|
|
84
88
|
const terminal = createTerminalLineLogger({ stdoutConsole });
|
|
85
89
|
let suiteDepth = 0;
|
|
86
90
|
function logTestEnd(event) {
|
|
87
|
-
const [symbol, message] =
|
|
91
|
+
const [symbol, message] = event.outcome === null
|
|
92
|
+
? formatTerminalTestResult(event.case, event.verdict, event.wallTimeMs)
|
|
93
|
+
: formatTestResult(event.case, event.outcome, event.wallTimeMs);
|
|
88
94
|
terminal.line(symbol, `${indent(suiteDepth)}${message}`);
|
|
89
|
-
if (event.outcome
|
|
95
|
+
if (event.outcome?.kind === 'fail') {
|
|
90
96
|
logFailures(terminal, suiteDepth, event.outcome);
|
|
91
97
|
}
|
|
92
98
|
}
|
|
@@ -94,7 +100,7 @@ export function createLineReporter(dependencies) {
|
|
|
94
100
|
terminal.line(infoSymbol, `${indent(suiteDepth)}${formatSuiteName(event)}`);
|
|
95
101
|
suiteDepth += 1;
|
|
96
102
|
}
|
|
97
|
-
return {
|
|
103
|
+
return defineReporter({
|
|
98
104
|
dispose: null,
|
|
99
105
|
kind: 'real-time',
|
|
100
106
|
name: 'line',
|
|
@@ -120,6 +126,6 @@ export function createLineReporter(dependencies) {
|
|
|
120
126
|
logSummary(terminal, finalResult);
|
|
121
127
|
logOrphans(terminal, finalResult.orphans);
|
|
122
128
|
}
|
|
123
|
-
};
|
|
129
|
+
});
|
|
124
130
|
}
|
|
125
131
|
//# sourceMappingURL=line-reporter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"line-reporter.js","sourceRoot":"","sources":["../../../../source/reporters/line-reporter.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAC;AAC9B,OAAO,MAAM,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"line-reporter.js","sourceRoot":"","sources":["../../../../source/reporters/line-reporter.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAC;AAC9B,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,cAAc,EAAmE,MAAM,uBAAuB,CAAC;AAExH,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,wBAAwB,EAA2B,MAAM,eAAe,CAAC;AAElF,MAAM,aAAa,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AACjD,MAAM,WAAW,GAAG,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAC9C,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AAM7C,SAAS,MAAM,CAAC,KAAa;IACzB,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAC9B,CAAC;AAED,SAAS,cAAc,CAAC,EAAU;IAC9B,IAAI,EAAE,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;QACrB,OAAO,EAAE,CAAC,IAAI,CAAC;IACnB,CAAC;IAED,OAAO,GAAG,EAAE,CAAC,IAAI,KAAK,EAAE,CAAC,MAAM,GAAG,CAAC;AACvC,CAAC;AAED,SAAS,aAAa,CAAC,OAAoB;IACvC,IAAI,OAAO,CAAC,IAAI,KAAK,MAAM,IAAI,OAAO,CAAC,IAAI,KAAK,cAAc,EAAE,CAAC;QAC7D,OAAO,OAAO,CAAC,MAAM,CAAC;IAC1B,CAAC;IAED,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAS,cAAc,CAAC,UAAkB;IACtC,OAAO,GAAG,UAAU,KAAK,CAAC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,CAAC,WAAW,EAAE,iBAAiB,KAAK,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;YACvE,CAAC;QACL,CAAC;QAED,KAAK,CAAC,QAAQ,CAAC,WAAW;YACtB,UAAU,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;YAClC,UAAU,CAAC,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;QAC9C,CAAC;KACJ,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { RunResult } from '../engine/run-result.ts';
|
|
2
|
-
import type { RunRequest } from './run.ts';
|
|
2
|
+
import type { RunRequest } from './run-types.ts';
|
|
3
3
|
import { type RunConfigLoadRequest } from './run-config.ts';
|
|
4
4
|
export declare const commandLineExitCodes: Readonly<{
|
|
5
5
|
argumentOrConfig: 3;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-line-command.d.ts","sourceRoot":"","sources":["../../../../source/run/command-line-command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAe,MAAM,yBAAyB,CAAC;AAEtE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"command-line-command.d.ts","sourceRoot":"","sources":["../../../../source/run/command-line-command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAe,MAAM,yBAAyB,CAAC;AAEtE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,OAAO,EAAkB,KAAK,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAE5E,eAAO,MAAM,oBAAoB;;;;;;;;EAQ/B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,OAAO,oBAAoB,CAAC,CAAC;AAEnG,MAAM,MAAM,0BAA0B,GAAG,oBAAoB,GAAG;IAC5D,QAAQ,CAAC,OAAO,EAAE,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chestrator } from './run.ts';
|
|
2
|
+
import type { RunOrchestrator } from './run-types.ts';
|
|
3
3
|
import { type LoadedRunConfig, type RunConfigLoadRequest } from './run-config.ts';
|
|
4
4
|
import { type CommandLineBaselineCommands, type CommandLineBenchmarkCommands, type CommandLineCommand, type CommandLineRunTestsRequest, type CommandLineRunnerResult as CommandLineRunnerResultShape } from './command-line-command.ts';
|
|
5
5
|
import { type CommandLineCommandLoaders } from './command-line-command-namespace.ts';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-line-runner.d.ts","sourceRoot":"","sources":["../../../../source/run/command-line-runner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAmB,MAAM,uBAAuB,CAAC;AAEvE,OAAO,KAAK,EAAyB,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"command-line-runner.d.ts","sourceRoot":"","sources":["../../../../source/run/command-line-runner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAmB,MAAM,uBAAuB,CAAC;AAEvE,OAAO,KAAK,EAAyB,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE7E,OAAO,EAEH,KAAK,eAAe,EACpB,KAAK,oBAAoB,EAC5B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAIH,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,IAAI,4BAA4B,EAC/D,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAEH,KAAK,yBAAyB,EACjC,MAAM,qCAAqC,CAAC;AAO7C,MAAM,MAAM,iBAAiB,GAAG;IAC5B,QAAQ,CAAC,QAAQ,EAAE,2BAA2B,CAAC;IAC/C,QAAQ,CAAC,KAAK,EAAE,4BAA4B,CAAC;IAC7C,QAAQ,CAAC,SAAS,EAAE,kBAAkB,CAAC;IACvC,QAAQ,CAAC,SAAS,EAAE,kBAAkB,CAAC;IACvC,QAAQ,CAAC,aAAa,EAAE,kBAAkB,CAAC;IAC3C,QAAQ,CAAC,QAAQ,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,OAAO,CAAC,uBAAuB,CAAC,CAAC;CAChG,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,4BAA4B,CAAC;AAEnE,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,GAAG;IACpE,QAAQ,CAAC,qBAAqB,EAAE,MAAM,OAAO,CAAC,QAAQ,CAAC,CAAC;IACxD,QAAQ,CAAC,aAAa,EAAE,CAAC,OAAO,EAAE,oBAAoB,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;IACpF,QAAQ,CAAC,YAAY,EAAE,eAAe,CAAC;CAC1C,CAAC;AAyEF,wBAAgB,uBAAuB,CAAC,YAAY,EAAE,6BAA6B,GAAG,iBAAiB,CAkBtG;AAQD,eAAO,MAAM,iBAAiB,EAAE,iBAM9B,CAAC"}
|
|
@@ -20,18 +20,21 @@ async function loadCommandLineReporters(loadedConfig, dependencies) {
|
|
|
20
20
|
}
|
|
21
21
|
return [await dependencies.createDefaultReporter()];
|
|
22
22
|
}
|
|
23
|
-
async function createCommandLineConfig(loadedConfig, dependencies) {
|
|
23
|
+
async function createCommandLineConfig(loadedConfig, request, dependencies) {
|
|
24
|
+
const selectedProfile = loadedConfig.profiles[request.request.profile];
|
|
24
25
|
return {
|
|
25
26
|
loader: loadedConfig.loader,
|
|
26
27
|
outputRenderer: loadedConfig.outputRenderer,
|
|
27
28
|
profiles: loadedConfig.profiles,
|
|
28
|
-
reporters:
|
|
29
|
+
reporters: selectedProfile?.reporters === null || selectedProfile === undefined
|
|
30
|
+
? await loadCommandLineReporters(loadedConfig, dependencies)
|
|
31
|
+
: loadedConfig.reporters ?? [],
|
|
29
32
|
runtimeStateDir: loadedConfig.runtimeStateDir
|
|
30
33
|
};
|
|
31
34
|
}
|
|
32
35
|
async function createCommandFromRequest(request, loadedConfig, dependencies) {
|
|
33
36
|
return {
|
|
34
|
-
config: await createCommandLineConfig(loadedConfig, dependencies),
|
|
37
|
+
config: await createCommandLineConfig(loadedConfig, request, dependencies),
|
|
35
38
|
cwd: request.cwd,
|
|
36
39
|
engine: null,
|
|
37
40
|
request: request.request
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-line-runner.js","sourceRoot":"","sources":["../../../../source/run/command-line-runner.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EACH,aAAa,EAGhB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACH,uCAAuC,EACvC,yBAAyB,EACzB,yBAAyB,EAM5B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACH,iCAAiC,EAEpC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACH,0BAA0B,EAC1B,iCAAiC,EACjC,kCAAkC,EACrC,MAAM,0CAA0C,CAAC;AAmBlD,SAAS,eAAe,CAAC,IAAqB;IAC1C,OAAO,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;AAC5E,CAAC;AAED,SAAS,mBAAmB,CAAC,SAA8B;IACvD,OAAO,SAAS,CAAC,IAAI,CAAC,SAAS,sBAAsB,CAAC,QAAQ;QAC1D,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;IAChD,CAAC,CAAC,CAAC;AACP,CAAC;AAED,SAAS,uBAAuB,CAAC,MAAiB,EAAE,SAA8B;IAC9E,OAAO,yBAAyB,CAAC,MAAM,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAC,CAAC;AAC7E,CAAC;AAED,KAAK,UAAU,wBAAwB,CACnC,YAA6B,EAC7B,YAA2C;IAE3C,IAAI,YAAY,CAAC,SAAS,KAAK,IAAI,EAAE,CAAC;QAClC,OAAO,YAAY,CAAC,SAAS,C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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-usage.d.ts","sourceRoot":"","sources":["../../../../source/run/resource-usage.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAGR,uBAAuB,EAC1B,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"resource-usage.d.ts","sourceRoot":"","sources":["../../../../source/run/resource-usage.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAGR,uBAAuB,EAC1B,MAAM,yBAAyB,CAAC;AAMjC,KAAK,gCAAgC,GAAG;IACpC,QAAQ,CAAC,uBAAuB,EAAE,MAAM,SAAS,MAAM,EAAE,CAAC;IAC1D,QAAQ,CAAC,6BAA6B,EAAE,MAAM,MAAM,CAAC;IACrD,QAAQ,CAAC,oBAAoB,EAAE,MAAM,MAAM,CAAC;IAC5C,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACtC,QAAQ,CAAC,4BAA4B,EAAE,MAAM,CAAC;CACjD,CAAC;AA8FF,wBAAgB,0BAA0B,CACtC,YAAY,EAAE,gCAAgC,EAC9C,OAAO,EAAE,2BAA2B,GACrC,uBAAuB,CAoCzB;AAED,wBAAgB,8BAA8B,CAC1C,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,2BAA2B,GACrC,uBAAuB,CAazB"}
|
package/run/resource-usage.js
CHANGED
|
@@ -6,21 +6,13 @@ function sortedUnique(values) {
|
|
|
6
6
|
});
|
|
7
7
|
}
|
|
8
8
|
function readResourceUsageSample(dependencies) {
|
|
9
|
-
return {
|
|
10
|
-
capturedAtMilliseconds: dependencies.wallClock.currentTimestampInMilliseconds,
|
|
11
|
-
javaScriptEngineHeapBytes: dependencies.readJavaScriptEngineHeapBytes(),
|
|
12
|
-
residentSetBytes: dependencies.readResidentSetBytes()
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
function readResourceUsageSnapshot(dependencies) {
|
|
16
|
-
const sample = readResourceUsageSample(dependencies);
|
|
17
9
|
const activeResourceTypes = dependencies.readActiveResourceTypes();
|
|
18
10
|
return {
|
|
19
11
|
activeResourceCount: activeResourceTypes.length,
|
|
20
12
|
activeResourceTypes: sortedUnique(activeResourceTypes),
|
|
21
|
-
capturedAtMilliseconds:
|
|
22
|
-
javaScriptEngineHeapBytes:
|
|
23
|
-
residentSetBytes:
|
|
13
|
+
capturedAtMilliseconds: dependencies.wallClock.currentTimestampInMilliseconds,
|
|
14
|
+
javaScriptEngineHeapBytes: dependencies.readJavaScriptEngineHeapBytes(),
|
|
15
|
+
residentSetBytes: dependencies.readResidentSetBytes()
|
|
24
16
|
};
|
|
25
17
|
}
|
|
26
18
|
function maximumSampleValue(samples, readValue) {
|
|
@@ -47,9 +39,13 @@ function peakResidentSetGrowthBytesPerSecond(samples) {
|
|
|
47
39
|
}
|
|
48
40
|
function createResourceUsage(start, end, samples) {
|
|
49
41
|
return {
|
|
50
|
-
activeResourceTypes: sortedUnique(
|
|
42
|
+
activeResourceTypes: sortedUnique(samples.flatMap(function toActiveResourceTypes(sample) {
|
|
43
|
+
return sample.activeResourceTypes;
|
|
44
|
+
})),
|
|
51
45
|
end,
|
|
52
|
-
peakActiveResourceCount:
|
|
46
|
+
peakActiveResourceCount: maximumSampleValue(samples, function readActiveResourceCount(sample) {
|
|
47
|
+
return sample.activeResourceCount;
|
|
48
|
+
}),
|
|
53
49
|
peakJavaScriptEngineHeapBytes: maximumSampleValue(samples, function readJavaScriptEngineHeapBytes(sample) {
|
|
54
50
|
return sample.javaScriptEngineHeapBytes;
|
|
55
51
|
}),
|
|
@@ -74,18 +70,21 @@ export function createResourceUsageTracker(dependencies, options) {
|
|
|
74
70
|
dependencies.wallClock.clearInterval(intervalIdentifier);
|
|
75
71
|
intervalIdentifier = null;
|
|
76
72
|
}
|
|
77
|
-
const endSnapshot =
|
|
73
|
+
const endSnapshot = readResourceUsageSample(dependencies);
|
|
78
74
|
samples = [...samples, endSnapshot];
|
|
79
75
|
return createResourceUsage(startSnapshot, endSnapshot, samples);
|
|
80
76
|
},
|
|
81
|
-
start() {
|
|
77
|
+
start(onSample) {
|
|
82
78
|
if (startSnapshot !== null) {
|
|
83
79
|
throw new Error('Resource usage tracking already started.');
|
|
84
80
|
}
|
|
85
|
-
startSnapshot =
|
|
81
|
+
startSnapshot = readResourceUsageSample(dependencies);
|
|
86
82
|
samples = [startSnapshot];
|
|
83
|
+
onSample?.(startSnapshot);
|
|
87
84
|
intervalIdentifier = dependencies.wallClock.setInterval(function collectResourceUsageSample() {
|
|
88
|
-
|
|
85
|
+
const sample = readResourceUsageSample(dependencies);
|
|
86
|
+
samples = [...samples, sample];
|
|
87
|
+
onSample?.(sample);
|
|
89
88
|
}, options.samplingIntervalMilliseconds);
|
|
90
89
|
}
|
|
91
90
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-usage.js","sourceRoot":"","sources":["../../../../source/run/resource-usage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAQ5C,MAAM,qBAAqB,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"resource-usage.js","sourceRoot":"","sources":["../../../../source/run/resource-usage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAQ5C,MAAM,qBAAqB,GAAG,IAAI,CAAC;AAenC,SAAS,YAAY,CAAC,MAAyB;IAC3C,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,WAAW,CAAC,UAAU,EAAE,WAAW;QACpF,OAAO,UAAU,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;IACjD,CAAC,CAAC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AAC,WAAW,CAAC,GAAG,EAAE,CAAC;QACrC,CAAC;QACD,SAAS;KACZ,EAAE,OAAO,CAAC,CAAC;AAChB,CAAC"}
|
package/run/run-config.d.ts
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
|
+
import { z } from 'zod/v4';
|
|
1
2
|
import type { NonEmptyReadonlyArray } from '../assertion-protocol/assertion-node-shape.ts';
|
|
2
|
-
import { type OutputRenderer } from '../engine/reporter-output.ts';
|
|
3
|
-
import type
|
|
4
|
-
import type { RunLoaderConfig, RunProfilesConfig } from './run.ts';
|
|
5
|
-
export type RunProjectConfig = {
|
|
6
|
-
readonly loader?: RunLoaderConfig | undefined;
|
|
7
|
-
readonly outputRenderer?: OutputRenderer | undefined;
|
|
8
|
-
readonly profiles?: RunProjectProfilesConfig | undefined;
|
|
9
|
-
readonly reporters?: NonEmptyReadonlyArray<Reporter> | undefined;
|
|
10
|
-
readonly runtimeStateDir?: string | undefined;
|
|
11
|
-
};
|
|
3
|
+
import { type DefinedOutputRenderer, type OutputRenderer } from '../engine/reporter-output.ts';
|
|
4
|
+
import { type DefinedReporter, type Reporter } from '../engine/reporter.ts';
|
|
5
|
+
import type { RunLoaderConfig, RunProfilesConfig } from './run-types.ts';
|
|
12
6
|
export type LoadedRunConfig = {
|
|
13
7
|
readonly configPath: string | null;
|
|
14
8
|
readonly loader: RunLoaderConfig;
|
|
@@ -17,28 +11,6 @@ export type LoadedRunConfig = {
|
|
|
17
11
|
readonly reporters: NonEmptyReadonlyArray<Reporter> | null;
|
|
18
12
|
readonly runtimeStateDir: string;
|
|
19
13
|
};
|
|
20
|
-
export type RunProjectResourceBudgets = {
|
|
21
|
-
readonly activeResourceCount?: number | null | undefined;
|
|
22
|
-
readonly javaScriptEngineHeapBytes?: number | null | undefined;
|
|
23
|
-
readonly residentSetBytes?: number | null | undefined;
|
|
24
|
-
readonly residentSetGrowthBytesPerSecond?: number | null | undefined;
|
|
25
|
-
};
|
|
26
|
-
export type RunProjectMeasuredMicrotestProfileConfig = {
|
|
27
|
-
readonly measureResourceUsage: true;
|
|
28
|
-
readonly resourceBudgets?: RunProjectResourceBudgets | undefined;
|
|
29
|
-
readonly resourceUsageSamplingIntervalMilliseconds?: number | undefined;
|
|
30
|
-
};
|
|
31
|
-
export type RunProjectUnmeasuredMicrotestProfileConfig = {
|
|
32
|
-
readonly measureResourceUsage?: false | undefined;
|
|
33
|
-
};
|
|
34
|
-
type RunProjectMicrotestProfileConfigVariants = readonly [
|
|
35
|
-
RunProjectMeasuredMicrotestProfileConfig,
|
|
36
|
-
RunProjectUnmeasuredMicrotestProfileConfig
|
|
37
|
-
];
|
|
38
|
-
export type RunProjectMicrotestProfileConfig = RunProjectMicrotestProfileConfigVariants[number];
|
|
39
|
-
export type RunProjectProfilesConfig = {
|
|
40
|
-
readonly microtest?: RunProjectMicrotestProfileConfig | undefined;
|
|
41
|
-
};
|
|
42
14
|
export type RunConfigLoadRequest = {
|
|
43
15
|
readonly configPath: string | null;
|
|
44
16
|
readonly cwd: string;
|
|
@@ -46,6 +18,147 @@ export type RunConfigLoadRequest = {
|
|
|
46
18
|
export declare class RunConfigError extends Error {
|
|
47
19
|
constructor(message: string, options?: Readonly<ErrorOptions>);
|
|
48
20
|
}
|
|
21
|
+
declare const resourceBudgetsSchema: z.ZodReadonly<z.ZodObject<{
|
|
22
|
+
activeResourceCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
+
javaScriptEngineHeapBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
+
residentSetBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
+
residentSetGrowthBytesPerSecond: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
+
}, z.core.$strict>>;
|
|
27
|
+
declare const measuredResourceUsageSchema: z.ZodReadonly<z.ZodObject<{
|
|
28
|
+
budgets: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
29
|
+
activeResourceCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
+
javaScriptEngineHeapBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
|
+
residentSetBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
|
+
residentSetGrowthBytesPerSecond: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33
|
+
}, z.core.$strict>>>;
|
|
34
|
+
measure: z.ZodLiteral<true>;
|
|
35
|
+
samplingIntervalMilliseconds: z.ZodOptional<z.ZodNumber>;
|
|
36
|
+
}, z.core.$strict>>;
|
|
37
|
+
declare const unmeasuredResourceUsageSchema: z.ZodReadonly<z.ZodObject<{
|
|
38
|
+
measure: z.ZodOptional<z.ZodLiteral<false>>;
|
|
39
|
+
}, z.core.$strict>>;
|
|
40
|
+
declare const resourceUsageSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
41
|
+
budgets: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
42
|
+
activeResourceCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
|
+
javaScriptEngineHeapBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
|
+
residentSetBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
45
|
+
residentSetGrowthBytesPerSecond: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
46
|
+
}, z.core.$strict>>>;
|
|
47
|
+
measure: z.ZodLiteral<true>;
|
|
48
|
+
samplingIntervalMilliseconds: z.ZodOptional<z.ZodNumber>;
|
|
49
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
50
|
+
measure: z.ZodOptional<z.ZodLiteral<false>>;
|
|
51
|
+
}, z.core.$strict>>]>;
|
|
52
|
+
declare const timeoutSchema: z.ZodReadonly<z.ZodObject<{
|
|
53
|
+
hardMilliseconds: z.ZodOptional<z.ZodNumber>;
|
|
54
|
+
softMilliseconds: z.ZodOptional<z.ZodNumber>;
|
|
55
|
+
}, z.core.$strict>>;
|
|
56
|
+
declare const microtestExecutionSchema: z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
|
|
57
|
+
processModel: z.ZodLiteral<"in-process">;
|
|
58
|
+
scheduling: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"concurrent">, z.ZodLiteral<"serial">]>>;
|
|
59
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
60
|
+
processModel: z.ZodLiteral<"supervised-process">;
|
|
61
|
+
scheduling: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"concurrent">, z.ZodLiteral<"serial">]>>;
|
|
62
|
+
}, z.core.$strict>>], "processModel">;
|
|
63
|
+
declare const profileSchema: z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
|
|
64
|
+
execution: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
|
|
65
|
+
processModel: z.ZodLiteral<"in-process">;
|
|
66
|
+
scheduling: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"concurrent">, z.ZodLiteral<"serial">]>>;
|
|
67
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
68
|
+
processModel: z.ZodLiteral<"supervised-process">;
|
|
69
|
+
scheduling: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"concurrent">, z.ZodLiteral<"serial">]>>;
|
|
70
|
+
}, z.core.$strict>>], "processModel">>;
|
|
71
|
+
reporters: z.ZodOptional<z.ZodReadonly<z.ZodTuple<[z.ZodCustom<DefinedReporter, DefinedReporter>], z.ZodCustom<DefinedReporter, DefinedReporter>>>>;
|
|
72
|
+
resourceUsage: z.ZodOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
73
|
+
budgets: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
74
|
+
activeResourceCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
75
|
+
javaScriptEngineHeapBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
76
|
+
residentSetBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
77
|
+
residentSetGrowthBytesPerSecond: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
78
|
+
}, z.core.$strict>>>;
|
|
79
|
+
measure: z.ZodLiteral<true>;
|
|
80
|
+
samplingIntervalMilliseconds: z.ZodOptional<z.ZodNumber>;
|
|
81
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
82
|
+
measure: z.ZodOptional<z.ZodLiteral<false>>;
|
|
83
|
+
}, z.core.$strict>>]>>;
|
|
84
|
+
testFamily: z.ZodLiteral<"microtest">;
|
|
85
|
+
timeouts: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
86
|
+
hardMilliseconds: z.ZodOptional<z.ZodNumber>;
|
|
87
|
+
softMilliseconds: z.ZodOptional<z.ZodNumber>;
|
|
88
|
+
}, z.core.$strict>>>;
|
|
89
|
+
}, z.core.$strict>>], "testFamily">;
|
|
90
|
+
declare const profilesSchema: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
|
|
91
|
+
execution: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
|
|
92
|
+
processModel: z.ZodLiteral<"in-process">;
|
|
93
|
+
scheduling: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"concurrent">, z.ZodLiteral<"serial">]>>;
|
|
94
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
95
|
+
processModel: z.ZodLiteral<"supervised-process">;
|
|
96
|
+
scheduling: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"concurrent">, z.ZodLiteral<"serial">]>>;
|
|
97
|
+
}, z.core.$strict>>], "processModel">>;
|
|
98
|
+
reporters: z.ZodOptional<z.ZodReadonly<z.ZodTuple<[z.ZodCustom<DefinedReporter, DefinedReporter>], z.ZodCustom<DefinedReporter, DefinedReporter>>>>;
|
|
99
|
+
resourceUsage: z.ZodOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
100
|
+
budgets: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
101
|
+
activeResourceCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
102
|
+
javaScriptEngineHeapBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
103
|
+
residentSetBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
104
|
+
residentSetGrowthBytesPerSecond: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
105
|
+
}, z.core.$strict>>>;
|
|
106
|
+
measure: z.ZodLiteral<true>;
|
|
107
|
+
samplingIntervalMilliseconds: z.ZodOptional<z.ZodNumber>;
|
|
108
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
109
|
+
measure: z.ZodOptional<z.ZodLiteral<false>>;
|
|
110
|
+
}, z.core.$strict>>]>>;
|
|
111
|
+
testFamily: z.ZodLiteral<"microtest">;
|
|
112
|
+
timeouts: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
113
|
+
hardMilliseconds: z.ZodOptional<z.ZodNumber>;
|
|
114
|
+
softMilliseconds: z.ZodOptional<z.ZodNumber>;
|
|
115
|
+
}, z.core.$strict>>>;
|
|
116
|
+
}, z.core.$strict>>], "testFamily">>>;
|
|
117
|
+
declare const projectConfigSchema: z.ZodReadonly<z.ZodObject<{
|
|
118
|
+
loader: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
119
|
+
sourceMaps: z.ZodBoolean;
|
|
120
|
+
stripMode: z.ZodLiteral<"strip-only">;
|
|
121
|
+
}, z.core.$strict>>>;
|
|
122
|
+
outputRenderer: z.ZodOptional<z.ZodCustom<DefinedOutputRenderer, DefinedOutputRenderer>>;
|
|
123
|
+
profiles: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
|
|
124
|
+
execution: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
|
|
125
|
+
processModel: z.ZodLiteral<"in-process">;
|
|
126
|
+
scheduling: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"concurrent">, z.ZodLiteral<"serial">]>>;
|
|
127
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
128
|
+
processModel: z.ZodLiteral<"supervised-process">;
|
|
129
|
+
scheduling: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"concurrent">, z.ZodLiteral<"serial">]>>;
|
|
130
|
+
}, z.core.$strict>>], "processModel">>;
|
|
131
|
+
reporters: z.ZodOptional<z.ZodReadonly<z.ZodTuple<[z.ZodCustom<DefinedReporter, DefinedReporter>], z.ZodCustom<DefinedReporter, DefinedReporter>>>>;
|
|
132
|
+
resourceUsage: z.ZodOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
133
|
+
budgets: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
134
|
+
activeResourceCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
135
|
+
javaScriptEngineHeapBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
136
|
+
residentSetBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
137
|
+
residentSetGrowthBytesPerSecond: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
138
|
+
}, z.core.$strict>>>;
|
|
139
|
+
measure: z.ZodLiteral<true>;
|
|
140
|
+
samplingIntervalMilliseconds: z.ZodOptional<z.ZodNumber>;
|
|
141
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
142
|
+
measure: z.ZodOptional<z.ZodLiteral<false>>;
|
|
143
|
+
}, z.core.$strict>>]>>;
|
|
144
|
+
testFamily: z.ZodLiteral<"microtest">;
|
|
145
|
+
timeouts: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
146
|
+
hardMilliseconds: z.ZodOptional<z.ZodNumber>;
|
|
147
|
+
softMilliseconds: z.ZodOptional<z.ZodNumber>;
|
|
148
|
+
}, z.core.$strict>>>;
|
|
149
|
+
}, z.core.$strict>>], "testFamily">>>>;
|
|
150
|
+
reporters: z.ZodOptional<z.ZodReadonly<z.ZodTuple<[z.ZodCustom<DefinedReporter, DefinedReporter>], z.ZodCustom<DefinedReporter, DefinedReporter>>>>;
|
|
151
|
+
runtimeStateDir: z.ZodOptional<z.ZodString>;
|
|
152
|
+
}, z.core.$strict>>;
|
|
153
|
+
export type RunProjectResourceBudgets = z.infer<typeof resourceBudgetsSchema>;
|
|
154
|
+
export type RunProjectMeasuredResourceUsage = z.infer<typeof measuredResourceUsageSchema>;
|
|
155
|
+
export type RunProjectUnmeasuredResourceUsage = z.infer<typeof unmeasuredResourceUsageSchema>;
|
|
156
|
+
export type RunProjectResourceUsageConfig = z.infer<typeof resourceUsageSchema>;
|
|
157
|
+
export type RunProjectTimeoutConfig = z.infer<typeof timeoutSchema>;
|
|
158
|
+
export type RunProjectMicrotestExecution = z.infer<typeof microtestExecutionSchema>;
|
|
159
|
+
export type RunProjectMicrotestProfileConfig = z.infer<typeof profileSchema>;
|
|
160
|
+
export type RunProjectProfilesConfig = z.infer<typeof profilesSchema>;
|
|
161
|
+
export type RunProjectConfig = z.infer<typeof projectConfigSchema>;
|
|
49
162
|
export declare function defineConfig(config: RunProjectConfig): RunProjectConfig;
|
|
50
163
|
export declare function loadRunConfig(request: RunConfigLoadRequest): Promise<LoadedRunConfig>;
|
|
51
164
|
export {};
|
package/run/run-config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-config.d.ts","sourceRoot":"","sources":["../../../../source/run/run-config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version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