@overkill-dev/stryker-runner 0.0.20 → 0.0.22
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/package.json +3 -3
- package/packages/stryker-runner/dry-run-results.js +11 -5
- package/packages/stryker-runner/dry-run-results.js.map +1 -1
- package/packages/stryker-runner/microtest-profile.js +2 -1
- package/packages/stryker-runner/microtest-profile.js.map +1 -1
- package/packages/stryker-runner/mutation-catalog.js +2 -0
- package/packages/stryker-runner/mutation-catalog.js.map +1 -1
- package/packages/stryker-runner/mutation-diagnostic-evidence.js +1 -1
- package/packages/stryker-runner/mutation-diagnostic-evidence.js.map +1 -1
- package/packages/stryker-runner/mutation-execution-policy.js +3 -0
- package/packages/stryker-runner/mutation-execution-policy.js.map +1 -1
- package/packages/stryker-runner/mutation-runner-invocations.js +1 -1
- package/packages/stryker-runner/mutation-runner-invocations.js.map +1 -1
- package/packages/stryker-runner/runner-options.d.ts +1 -1
- package/readme.md +337 -152
- package/software-bill-of-materials.cyclonedx.json +14 -14
package/package.json
CHANGED
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"name": "@overkill-dev/stryker-runner",
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@overkill-dev/engine": "0.0.
|
|
32
|
-
"@overkill-dev/run": "0.0.
|
|
31
|
+
"@overkill-dev/engine": "0.0.78",
|
|
32
|
+
"@overkill-dev/run": "0.0.99"
|
|
33
33
|
},
|
|
34
34
|
"repository": {
|
|
35
35
|
"type": "git",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"./packages/stryker-runner/stryker-runner.entry-point.js"
|
|
53
53
|
],
|
|
54
54
|
"type": "module",
|
|
55
|
-
"version": "0.0.
|
|
55
|
+
"version": "0.0.22"
|
|
56
56
|
}
|
|
@@ -60,9 +60,9 @@ function dryRunDiagnostic(root, reply, expectation) {
|
|
|
60
60
|
const message = diagnostics.join('\n');
|
|
61
61
|
return message.length === 0 ? 'Dry run failed.' : message;
|
|
62
62
|
}
|
|
63
|
-
function fullSuiteCoverage(
|
|
64
|
-
const counts = { ...
|
|
65
|
-
for (const counters of Object.values(
|
|
63
|
+
function fullSuiteCoverage(coverage) {
|
|
64
|
+
const counts = { ...coverage.static };
|
|
65
|
+
for (const counters of Object.values(coverage.perTest)) {
|
|
66
66
|
for (const [id, count] of Object.entries(counters)) {
|
|
67
67
|
counts[id] = (counts[id] ?? 0) + count;
|
|
68
68
|
}
|
|
@@ -106,6 +106,13 @@ function interruptedDryRun(reply) {
|
|
|
106
106
|
.join('\n')
|
|
107
107
|
};
|
|
108
108
|
}
|
|
109
|
+
function reportedCoverage(mode, data, expectation) {
|
|
110
|
+
if (mode === 'off') {
|
|
111
|
+
return {};
|
|
112
|
+
}
|
|
113
|
+
const coverage = structuredClone(expectation.baseline?.coverage ?? data.coverage);
|
|
114
|
+
return { mutantCoverage: mode === 'all' ? fullSuiteCoverage(coverage) : coverage };
|
|
115
|
+
}
|
|
109
116
|
function completeDryRun(root, reply, coverage, expectation) {
|
|
110
117
|
const diagnostic = dryRunDiagnostic(root, reply, expectation);
|
|
111
118
|
if (diagnostic !== null) {
|
|
@@ -115,13 +122,12 @@ function completeDryRun(root, reply, coverage, expectation) {
|
|
|
115
122
|
return { status: DryRunStatus.Timeout, reason: 'Dry run exceeded its deadline or test timeout.' };
|
|
116
123
|
}
|
|
117
124
|
const data = mutationLifecycleDataSchema.parse(reply.data);
|
|
118
|
-
const mutantCoverage = coverage === 'all' ? fullSuiteCoverage(data) : data.coverage;
|
|
119
125
|
return {
|
|
120
126
|
status: DryRunStatus.Complete,
|
|
121
127
|
tests: reply.result.perTest.map(function (result) {
|
|
122
128
|
return mutationTestResult(root, result);
|
|
123
129
|
}),
|
|
124
|
-
...coverage
|
|
130
|
+
...reportedCoverage(coverage, data, expectation)
|
|
125
131
|
};
|
|
126
132
|
}
|
|
127
133
|
export function dryMutationResult(root, reply, coverage, expectation) {
|
|
@@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K,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAC;AAC9D,CAAC"}
|
|
@@ -5,7 +5,8 @@ function namedMicrotestProfile(config, name) {
|
|
|
5
5
|
throw new RunResolutionError(`Unknown mutation profile: "${name}".`, undefined, 'invalid-request');
|
|
6
6
|
}
|
|
7
7
|
if (profile.testFamily !== 'microtest') {
|
|
8
|
-
|
|
8
|
+
const family = typeof profile.testFamily === 'string' ? profile.testFamily : profile.testFamily.id;
|
|
9
|
+
throw new RunResolutionError(`Profile "${name}" has testFamily "${family}". Stryker requires a Node microtest profile.`, undefined, 'invalid-request');
|
|
9
10
|
}
|
|
10
11
|
return { name, profile };
|
|
11
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"microtest-profile.js","sourceRoot":"","sources":["../../../../../source/packages/stryker-runner/microtest-profile.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,kBAAkB,EAGrB,MAAM,mBAA2B,CAAC;AAOnC,SAAS,qBAAqB,CAAC,MAAwB,EAAE,IAAY;IACjE,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IAEzF,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QACxB,MAAM,IAAI,kBAAkB,CAAC,8BAA8B,IAAI,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;IACvG,CAAC;IAED,IAAI,OAAO,CAAC,UAAU,KAAK,WAAW,EAAE,CAAC;QACrC,MAAM,IAAI,kBAAkB,CACxB,YAAY,IAAI,qBAAqB,
|
|
1
|
+
{"version":3,"file":"microtest-profile.js","sourceRoot":"","sources":["../../../../../source/packages/stryker-runner/microtest-profile.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,kBAAkB,EAGrB,MAAM,mBAA2B,CAAC;AAOnC,SAAS,qBA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CAAC,CAAC;IAC7G,CAAC;IAED,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACtB,MAAM,KAAK,GAAG,QAAQ;aACjB,GAAG,CAAC,SAAS,WAAW,CAAC,OAAO;YAC7B,OAAO,OAAO,CAAC,IAAI,CAAC;QACxB,CAAC,CAAC;aACD,QAAQ,CAAC,SAAS,mBAAmB,CAAC,KAAK,EAAE,MAAM;YAChD,OAAO,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;QACvC,CAAC,CAAC,CAAC;QAEP,MAAM,IAAI,kBAAkB,CACxB,sCAAsC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,qCAAqC,EAC3F,SAAS,EACT,iBAAiB,CACpB,CAAC;IACN,CAAC;IAED,OAAO,QAAQ,CAAC;AACpB,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,MAAwB,EAAE,IAAmB;IAChF,OAAO,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,qBAAqB,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;AAC/F,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { isAbsolute, relative, resolve } from 'node:path';
|
|
2
2
|
import { isDeepStrictEqual } from 'node:util';
|
|
3
3
|
import { z } from 'zod/v4';
|
|
4
|
+
import { familyVariantSchema } from "@overkill-dev/engine/engine/identity-schema.js";
|
|
4
5
|
import { parseSerializedRunDiagnostics, workIdentityKey } from "@overkill-dev/run";
|
|
5
6
|
const caseSchema = z.strictObject({
|
|
6
7
|
file: z.string().nullable(),
|
|
@@ -9,6 +10,7 @@ const caseSchema = z.strictObject({
|
|
|
9
10
|
params: z.string().nullable()
|
|
10
11
|
});
|
|
11
12
|
const workSchema = z.strictObject({
|
|
13
|
+
familyVariant: familyVariantSchema.default(null),
|
|
12
14
|
case: caseSchema,
|
|
13
15
|
runtimes: z.array(z.strictObject({
|
|
14
16
|
name: z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mutation-catalog.js","sourceRoot":"","sources":["../../../../../source/packages/stryker-runner/mutation-catalog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EACH,6BAA6B,EAC7B,eAAe,EAIlB,MAAM,mBAA2B,CAAC;AAEnC,MAAM,UAAU,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC1B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAChC,CAAC,CAAC;AACH,MAAM,UAAU,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9B,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE,CAAC,CAAC,KAAK,CACb,CAAC,CAAC,YAAY,CAAC;QACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,SAAS,EAAE,CAAC;aACP,MAAM,EAAE;aACR,QAAQ,EAAE;QACf,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;QAC5C,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;KAC9C,CAAC,CACL;IACD,QAAQ,EAAE,CAAC,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE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KAAK,CAAC,OAAO,CAAC,UAAU,QAAQ;YACxC,MAAM,IAAI,GAAG,QAAQ,CAAC,MAAM,CAAC;YAC7B,OAAO,IAAI,KAAK,SAAS,IAAI,QAAQ,CAAC,GAAG,CAAC,eAAe,CAAC,aAAa,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC;gBACjF,CAAC,CAAC,CAAE,EAAE,IAAI,EAAE,SAAkB,EAAE,EAAE,EAAE,IAAI,EAAE,CAAE;gBAC5C,CAAC,CAAC,EAAE,CAAC;QACb,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;IACH,MAAM,KAAK,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IACzB,IAAI,KAAK,KAAK,SAAS,IAAI,OAAO,CAAC,MAAM,KAAK,QAAQ,CAAC,IAAI,EAAE,CAAC;QAC1D,MAAM,IAAI,KAAK,CAAC,6DAA6D,CAAC,CAAC;IACnF,CAAC;IACD,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,CAAE,KAAK,EAAE,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAE,EAAE,EAAE,CAAC;AAChG,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { serializeRunDiagnostics, parseSerializedRunDiagnostics } from "@overkill-dev/run";
|
|
2
2
|
import { canonicalWork, mutationLifecycleDataSchema } from "./mutation-catalog.js";
|
|
3
3
|
function canonicalCase(root, id) {
|
|
4
|
-
return canonicalWork(root, { case: id, runtimes: [], workload: null }).case;
|
|
4
|
+
return canonicalWork(root, { familyVariant: null, case: id, runtimes: [], workload: null }).case;
|
|
5
5
|
}
|
|
6
6
|
function canonicalArtifactIdentity(root, artifact) {
|
|
7
7
|
const { scope } = artifact.id;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mutation-diagnostic-evidence.js","sourceRoot":"","sources":["../../../../../source/packages/stryker-runner/mutation-diagnostic-evidence.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,uBAAuB,EACvB,6BAA6B,EAGhC,MAAM,mBAA2B,CAAC;AACnC,OAAO,EAAE,aAAa,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AAGnF,SAAS,aAAa,CAAC,IAAY,EAAE,EAAU;IAC3C,OAAO,aAAa,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"mutation-diagnostic-evidence.js","sourceRoot":"","sources":["../../../../../source/packages/stryker-runner/mutation-diagnostic-evidence.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,uBAAuB,EACvB,6BAA6B,EAGhC,MAAM,mBAA2B,CAAC;AACnC,OAAO,EAAE,aAAa,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AAGnF,SAAS,aAAa,CAAC,IAAY,EAAE,EAAU;IAC3C,OAAO,aAAa,CAAC,IAAI,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;AACrG,CAAC;AACD,SAAS,yBAAyB,CAC9B,IAAY,EACZ,QAAkB;IAElB,MAAM,EAAE,KAAK,EAAE,GAAG,QAAQ,CAAC,EAAE,CAAC;IAC9B,OAAO,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;QACrC,GAAG,QAAQ;QACX,EAAE,EAAE;YACA,GAAG,QAAQ,CAAC,EAAE;YACd,KAAK,EAAE;gBACH,GAAG,KAAK;gBACR,IAAI,EAAE,aAAa,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;gBACrC,WAAW,EAAE,KAAK,CAAC,WAAW,CA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ffered',
|
|
10
|
+
record: false,
|
|
11
|
+
recordForMerge: false,
|
|
12
|
+
lastFailed: false,
|
|
10
13
|
coverage: false,
|
|
11
14
|
debug: { mode: 'off', selectors: [] },
|
|
12
15
|
execution: { mode: 'serial' },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mutation-execution-policy.js","sourceRoot":"","sources":["../../../../../source/packages/stryker-runner/mutation-execution-policy.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,wBAAwB,CACpC,KAAyE;IAEzE,OAAO;QACH,MAAM,EAAE,KAAK,CAAC,MAAM;QACpB,GAAG,EAAE,KAAK,CAAC,GAAG;QACd,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;QAC3B,OAAO,EAAE;YACL,kBAAkB,EAAE,MAAM;YAC1B,sBAAsB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;YAC3C,OAAO,EAAE,UAAU;YACnB,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE;YACrC,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC7B,mBAAmB,EAAE,IAAI;YACzB,KAAK,EAAE,QAAQ;YACf,KAAK,EAAE,EAAE;YACT,OAAO,EAAE,KAAK,CAAC,OAAO;YACtB,sBAAsB,EAAE,IAAI;YAC5B,wCAAwC,EAAE,IAAI;YAC9C,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE;YACrB,SAAS,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE;YAC1B,KAAK,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE;YAC7B,gBAAgB,EAAE,iBAAiB;YACnC,OAAO,EAAE,KAAK;YACd,OAAO,EAAE,IAAI;SAChB;KACJ,CAAC;AACN,CAAC"}
|
|
1
|
+
{"version":3,"file":"mutation-execution-policy.js","sourceRoot":"","sources":["../../../../../source/packages/stryker-runner/mutation-execution-policy.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,wBAAwB,CACpC,KAAyE;IAEzE,OAAO;QACH,MAAM,EAAE,KAAK,CAAC,MAAM;QACpB,GAAG,EAAE,KAAK,CAAC,GAAG;QACd,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;QAC3B,OAAO,EAAE;YACL,kBAAkB,EAAE,MAAM;YAC1B,sBAAsB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;YAC3C,OAAO,EAAE,UAAU;YACnB,MAAM,EAAE,KAAK;YACb,cAAc,EAAE,KAAK;YACrB,UAAU,EAAE,KAAK;YACjB,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE;YACrC,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC7B,mBAAmB,EAAE,IAAI;YACzB,KAAK,EAAE,QAAQ;YACf,KAAK,EAAE,EAAE;YACT,OAAO,EAAE,KAAK,CAAC,OAAO;YACtB,sBAAsB,EAAE,IAAI;YAC5B,wCAAwC,EAAE,IAAI;YAC9C,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE;YACrB,SAAS,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE;YAC1B,KAAK,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE;YAC7B,gBAAgB,EAAE,iBAAiB;YACnC,OAAO,EAAE,KAAK;YACd,OAAO,EAAE,IAAI;SAChB;KACJ,CAAC;AACN,CAAC"}
|
|
@@ -10,7 +10,7 @@ export function createMutationRunnerInvocations(baseline, ignoreStatic) {
|
|
|
10
10
|
const coverage = input.coverageAnalysis;
|
|
11
11
|
const result = dryMutationResult(runner.root, reply, coverage, expectation);
|
|
12
12
|
await invocation.persist(result);
|
|
13
|
-
if (result.status === DryRunStatus.Complete && !budget.expired()) {
|
|
13
|
+
if (result.status === DryRunStatus.Complete && expectation.baseline === null && !budget.expired()) {
|
|
14
14
|
await baseline.publish(runner.client, reply, {
|
|
15
15
|
coverageAnalysis: coverage,
|
|
16
16
|
testFiles: expectation.testFiles,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mutation-runner-invocations.js","sourceRoot":"","sources":["../../../../../source/packages/stryker-runner/mutation-runner-invocations.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,YAAY,EACZ,eAAe,EAKlB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,iCAAiC,EAAE,MAAM,sCAAsC,CAAC;AACzF,OAAO,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAA0B,MAAM,sBAAsB,CAAC;AAGjF,OAAO,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAqB/F,MAAM,UAAU,+BAA+B,CAC3C,QAA0B,EAC1B,YAAqB;IAErB,KAAK,UAAU,qBAAqB,CAChC,MAA2B,EAC3B,KAAwB,EACxB,UAAmC;QAEnC,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,UAAU,CAAC;QAClD,MAAM,QAAQ,GAAG,KAAK,CAAC,gBAAgB,CAAC;QACxC,MAAM,MAAM,GAAG,iBAAiB,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAC;QAC5E,MAAM,UAAU,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACjC,IAAI,MAAM,CAAC,MAAM,KAAK,YAAY,CAAC,QAAQ,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"mutation-runner-invocations.js","sourceRoot":"","sources":["../../../../../source/packages/stryker-runner/mutation-runner-invocations.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,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ACJ,CAAC;QACN,CAAC;KACJ,CAAC;AACN,CAAC"}
|
|
@@ -26,8 +26,8 @@ export declare const strykerValidationSchema: {
|
|
|
26
26
|
freshState: z.ZodDefault<z.ZodBoolean>;
|
|
27
27
|
artifactPersistence: z.ZodDefault<z.ZodEnum<{
|
|
28
28
|
off: "off";
|
|
29
|
-
failures: "failures";
|
|
30
29
|
all: "all";
|
|
30
|
+
failures: "failures";
|
|
31
31
|
}>>;
|
|
32
32
|
seed: z.ZodDefault<z.ZodString>;
|
|
33
33
|
}, z.core.$strict>>>;
|
package/readme.md
CHANGED
|
@@ -1,23 +1,128 @@
|
|
|
1
1
|
# `@overkill-dev/stryker-runner`
|
|
2
2
|
|
|
3
|
-
Optional first-party Stryker `TestRunner` plugin for Node microtest profiles
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
Optional first-party Stryker `TestRunner` plugin for Node microtest profiles,
|
|
4
|
+
compatible with Stryker `10.0.0`. Stryker owns mutation planning, sandboxing,
|
|
5
|
+
parallelism, scores, thresholds, and campaign reports. Overkill owns test
|
|
6
|
+
execution, capability policy, and structured result translation.
|
|
7
|
+
|
|
8
|
+
## Quick Start
|
|
9
|
+
|
|
10
|
+
Use Node `^26.9.0`, matching the packages' engine requirement. Install the
|
|
11
|
+
standard distribution, the optional adapter, and the supported Stryker version:
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
npm install -D @overkill-dev/test @overkill-dev/stryker-runner @stryker-mutator/core@10.0.0
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
The adapter and Stryker are separate installations; the standard distribution
|
|
18
|
+
does not include them. Installing the adapter does not change ordinary runs.
|
|
19
|
+
|
|
20
|
+
This walkthrough uses ESM. Set the example project's package type explicitly
|
|
21
|
+
to avoid Node module-type warnings during supervised execution:
|
|
22
|
+
|
|
23
|
+
```sh
|
|
24
|
+
npm pkg set type=module
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Create `source/calculator.ts`:
|
|
28
|
+
|
|
29
|
+
```ts
|
|
30
|
+
export function add(left: number, right: number): number {
|
|
31
|
+
return left + right;
|
|
32
|
+
}
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Create `source/calculator.test.ts`:
|
|
36
|
+
|
|
37
|
+
```ts
|
|
38
|
+
import { test } from '@overkill-dev/test';
|
|
39
|
+
import { add } from './calculator.ts';
|
|
40
|
+
|
|
41
|
+
export const testNode = test('adds numbers', (scope) => {
|
|
42
|
+
scope.assert.equal(add(2, 3), 5);
|
|
43
|
+
|
|
44
|
+
return scope.assert.collect();
|
|
45
|
+
});
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Create `overkill.config.ts`, or reuse your existing Node microtest profile:
|
|
49
|
+
|
|
50
|
+
```ts
|
|
51
|
+
import { defineConfig } from '@overkill-dev/test/config';
|
|
52
|
+
|
|
53
|
+
export const config = defineConfig({
|
|
54
|
+
profiles: {
|
|
55
|
+
microtest: {
|
|
56
|
+
testFamily: 'microtest',
|
|
57
|
+
files: { include: [ 'source/**/*.test.ts' ] },
|
|
58
|
+
timeouts: { collectionMilliseconds: 30_000 }
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
This profile uses the ordinary defaults: supervised processes and concurrent
|
|
65
|
+
scheduling. Mutation invocations preserve the process model and run cases
|
|
66
|
+
serially. The explicit collection budget allows instrumented imports time to
|
|
67
|
+
load; the adapter preserves it along with the profile's case timeouts. You do
|
|
68
|
+
not need a separate mutation profile.
|
|
69
|
+
|
|
70
|
+
Create `stryker.config.mjs`:
|
|
7
71
|
|
|
8
72
|
```js
|
|
9
73
|
export default {
|
|
10
74
|
testRunner: 'overkill',
|
|
11
75
|
plugins: [ '@overkill-dev/stryker-runner' ],
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
76
|
+
mutate: [
|
|
77
|
+
'source/**/*.ts',
|
|
78
|
+
'!source/**/*.test.ts'
|
|
79
|
+
],
|
|
80
|
+
coverageAnalysis: 'perTest'
|
|
18
81
|
};
|
|
19
82
|
```
|
|
20
83
|
|
|
84
|
+
Run ordinary tests, then start the mutation campaign:
|
|
85
|
+
|
|
86
|
+
```sh
|
|
87
|
+
npx overkill run
|
|
88
|
+
npx stryker run
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
The adapter discovers `overkill.config.ts` and infers the sole microtest
|
|
92
|
+
profile. Stryker reports mutant outcomes and logs the campaign seed for
|
|
93
|
+
[reproduction](#seeds-and-reproduction). For an existing project, adjust
|
|
94
|
+
`mutate` to target production code and exclude all test-definition helpers.
|
|
95
|
+
|
|
96
|
+
## Reference
|
|
97
|
+
|
|
98
|
+
- [Adapter Configuration](#adapter-configuration)
|
|
99
|
+
- [Execution Overrides](#execution-overrides)
|
|
100
|
+
- [Coverage Modes](#coverage-modes)
|
|
101
|
+
- [Seeds And Reproduction](#seeds-and-reproduction)
|
|
102
|
+
- [Results And Selection](#results-and-selection)
|
|
103
|
+
- [Process Guarantees And Reused State](#process-guarantees-and-reused-state)
|
|
104
|
+
- [Reporting And Persistence](#reporting-and-persistence)
|
|
105
|
+
- [Advanced Lifecycle And Sandbox Behavior](#advanced-lifecycle-and-sandbox-behavior)
|
|
106
|
+
|
|
107
|
+
## Adapter Configuration
|
|
108
|
+
|
|
109
|
+
Adapter settings live under Stryker's `overkill` key. Unknown settings and
|
|
110
|
+
invalid values are rejected.
|
|
111
|
+
|
|
112
|
+
| Setting | Accepted Value | Default |
|
|
113
|
+
| --------------------- | ---------------------------------------------------------------------- | ---------------------------------------------- |
|
|
114
|
+
| `configPath` | Nonblank string or `null` | `null`, normal config discovery |
|
|
115
|
+
| `profile` | One profile name or `null` | `null`, infer the sole eligible profile |
|
|
116
|
+
| `paths` | Array of nonblank file or directory paths | `[]`, use profile discovery |
|
|
117
|
+
| `freshState` | Boolean | `false` |
|
|
118
|
+
| `seed` | Nonnegative decimal integer string without leading zeros, except `'0'` | Generated and logged by Stryker initialization |
|
|
119
|
+
| `artifactPersistence` | `'off'`, `'failures'`, or `'all'` | `'off'` |
|
|
120
|
+
|
|
121
|
+
To select an existing custom profile, add `overkill: { profile: 'unit-fast' }`
|
|
122
|
+
to the Stryker configuration.
|
|
123
|
+
|
|
124
|
+
### Profile Inference And Discovery
|
|
125
|
+
|
|
21
126
|
Omit `configPath` or set it to `null` for normal Overkill config discovery from
|
|
22
127
|
the Stryker worker's cwd. Omit `profile` or set it to `null` to infer the sole
|
|
23
128
|
microtest profile in the normalized registry. The built-in `microtest` fallback
|
|
@@ -34,6 +139,8 @@ Browser-oriented integration profiles and multi-profile selections are rejected.
|
|
|
34
139
|
Other profile families may coexist in the project registry. Profile names do not
|
|
35
140
|
determine eligibility. Incompatible test nodes are checked during collection.
|
|
36
141
|
|
|
142
|
+
## Execution Overrides
|
|
143
|
+
|
|
37
144
|
Initialization freezes a public runner policy with explicit serial scheduling,
|
|
38
145
|
ordinary V8 coverage disabled, and baseline updates disabled. Microtest profiles
|
|
39
146
|
have no Overkill retry policy. Discovery, loaders, capability restrictions,
|
|
@@ -41,6 +148,218 @@ process usage policies, timeouts, and the configured process model are preserved
|
|
|
41
148
|
The original profile remains unchanged; the command records the override as
|
|
42
149
|
`request.execution: { mode: 'serial' }`.
|
|
43
150
|
|
|
151
|
+
The effective scheduling is exposed as `RunFacts.execution.scheduling`.
|
|
152
|
+
Stryker, rather than Overkill, parallelizes mutants.
|
|
153
|
+
|
|
154
|
+
## Coverage Modes
|
|
155
|
+
|
|
156
|
+
Set Stryker's top-level `coverageAnalysis`, separately from `overkill`:
|
|
157
|
+
|
|
158
|
+
| Mode | Returned Mutant Coverage | Case Selection |
|
|
159
|
+
| ----------- | ------------------------ | -------------------------------------------------------------------- |
|
|
160
|
+
| `'perTest'` | Per-case counters | Narrow when the requested cases include every recorded covering case |
|
|
161
|
+
| `'all'` | Aggregate counters | Full eligible suite |
|
|
162
|
+
| `'off'` | None | Full eligible suite |
|
|
163
|
+
|
|
164
|
+
`perTest` is the normal optimized mode. These are Stryker counters, separate
|
|
165
|
+
from ordinary V8 coverage, which remains disabled in every mode.
|
|
166
|
+
|
|
167
|
+
Reads outside an active case, including import-time reads, count as static
|
|
168
|
+
coverage. Static coverage or uncertain attribution widens valid filters to the
|
|
169
|
+
complete dry-run catalog, preserving its original file restrictions. The adapter never
|
|
170
|
+
infers `NoCoverage`. Missing or malformed counter transport, incomplete
|
|
171
|
+
test results, unknown IDs, duplicate IDs, and explicit-empty filters return
|
|
172
|
+
`Error`. A test that touches no instrumented code needs no counter bucket.
|
|
173
|
+
Stryker can still classify genuinely uncovered mutants from complete coverage.
|
|
174
|
+
|
|
175
|
+
Stryker's explicit `ignoreStatic` setting retains its runtime-only behavior for
|
|
176
|
+
hybrid mutants and its own handling of static mutants. Otherwise recorded
|
|
177
|
+
import-time hits require static activation before user imports. Existing reload
|
|
178
|
+
checks reject a loaded graph that cannot perform that activation safely.
|
|
179
|
+
Fallback keeps Stryker's deadline and bail policy. The dry-run coverage mode is
|
|
180
|
+
fixed with the campaign baseline and retained across worker replacements.
|
|
181
|
+
|
|
182
|
+
## Seeds And Reproduction
|
|
183
|
+
|
|
184
|
+
`overkill.seed` accepts a nonnegative decimal string, for example `'42'`.
|
|
185
|
+
Stryker applies a generated schema default before distributing configuration;
|
|
186
|
+
dry runs, mutants, workers, replacements, and fresh hosts use that same seed.
|
|
187
|
+
The adapter logs it through Stryker during initialization. Supply the logged
|
|
188
|
+
value explicitly to reproduce ordering. Multiple programmatic campaigns in one
|
|
189
|
+
Node process may share the generated schema default. Worker settings require the
|
|
190
|
+
coordinator-resolved seed and never substitute another seed when it is missing.
|
|
191
|
+
|
|
192
|
+
To reproduce a campaign, add the logged value to the Stryker configuration,
|
|
193
|
+
for example `overkill: { seed: '42' }`.
|
|
194
|
+
|
|
195
|
+
Case seeds derive from the campaign seed and stable executable identity,
|
|
196
|
+
independently of selection and scheduling. Cases receive the derived seed through
|
|
197
|
+
`scope.seed` and a fresh splittable `scope.random` handle on every invocation,
|
|
198
|
+
including filtered execution and replacement workers. A number such as `42`, a negative
|
|
199
|
+
string, or a string such as `'01'` is invalid. The seed reproduces ordering
|
|
200
|
+
and derived case seeds; it does not reset external state or persistent caches.
|
|
201
|
+
|
|
202
|
+
## Results And Selection
|
|
203
|
+
|
|
204
|
+
| Observation | Result |
|
|
205
|
+
| --------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
|
|
206
|
+
| Normal dry run | Individual successes, failures, and intentional skips, with stable IDs and durations in milliseconds |
|
|
207
|
+
| Dry-run timeout or infrastructure failure | `Timeout` or `Error`; campaign stops without a mutation score |
|
|
208
|
+
| Safely attributed eligible-case assertion, body, test-contract, or policy failure | `Killed`, with killing IDs and failure diagnostics |
|
|
209
|
+
| All selected runnable cases pass | `Survived`, with the actual executed count |
|
|
210
|
+
| Case timeout, invocation deadline, or verified hit-limit guard | `Timeout` |
|
|
211
|
+
| Loading, collection, cleanup, infrastructure, transport, reporter, or persistence failure | `Error` |
|
|
212
|
+
| Inconclusive outcome, uncertain attribution, catalog drift, unexpected skip, or incomplete delivery | `Error` |
|
|
213
|
+
|
|
214
|
+
Result precedence is `Error > Timeout > Killed > Survived`. A cleanup timeout
|
|
215
|
+
or a later timeout with `disableBail` overrides an earlier kill. Independent
|
|
216
|
+
cleanup or infrastructure failures override both. Earlier confirmed failures
|
|
217
|
+
remain in diagnostics. A verified hit-limit guard during cleanup is timeout
|
|
218
|
+
evidence rather than an independent cleanup failure.
|
|
219
|
+
|
|
220
|
+
Dry-run cleanup failures preserve affected IDs and complete case failure lists
|
|
221
|
+
alongside runner diagnostics, and do not publish a baseline. Safely attributed
|
|
222
|
+
policy violations that kill a mutant include permission denials, forbidden
|
|
223
|
+
console output, async leaks, uncaught exceptions, and unhandled rejections.
|
|
224
|
+
Serial execution alone never proves ownership. Cleanup errors remain errors
|
|
225
|
+
even when retained beneath a policy verdict.
|
|
226
|
+
|
|
227
|
+
After a confirmed kill, the adapter stops admitting cases unless Stryker sets
|
|
228
|
+
`disableBail`. It finishes admitted work, cleanup, observer shutdown, and result
|
|
229
|
+
delivery before returning. Intentional early stopping does not create missing
|
|
230
|
+
result errors. Stryker owns score policy and its treatment of timeouts and errors.
|
|
231
|
+
|
|
232
|
+
### Stable Identity And Exact Selection
|
|
233
|
+
|
|
234
|
+
Test IDs encode the complete structured work identity, including parameter keys
|
|
235
|
+
and distinct resource-free runtime variants. Authored suite and case titles
|
|
236
|
+
remain identity components, with suite segments kept separate. Rendered names
|
|
237
|
+
and source line or column positions do not determine IDs.
|
|
238
|
+
File origins use project-relative paths with forward slashes. Absolute sandbox
|
|
239
|
+
paths, dot segments, and separator aliases normalize to the same origin;
|
|
240
|
+
origins outside the sandbox or naming its root fail. Existing canonical IDs
|
|
241
|
+
retain their encoding. Regenerate cached Stryker reports if they contain IDs
|
|
242
|
+
derived from noncanonical path spellings.
|
|
243
|
+
|
|
244
|
+
Every invocation validates the complete eligible catalog, selection metadata,
|
|
245
|
+
and intentional skips before narrowing. Reused execution validates its retained
|
|
246
|
+
plan without reimporting modules. Unknown or duplicate IDs, catalog drift,
|
|
247
|
+
unexpected skips, and empty mutant filters return `Error`. The adapter expands
|
|
248
|
+
Stryker's sandbox file filters. The baseline retains the original file restriction,
|
|
249
|
+
including eligible files that initially contain no cases. Later cases in those
|
|
250
|
+
files are catalog drift when execution collects again.
|
|
251
|
+
|
|
252
|
+
Repeated dry runs validate the original file restriction, coverage mode, and
|
|
253
|
+
catalog before case execution. They return the original coverage counters and
|
|
254
|
+
cannot replace the original campaign baseline, including when reused imports
|
|
255
|
+
no longer emit their original static hits. Intentional skips remain in dry-run results; a mutant selection with
|
|
256
|
+
no runnable cases after coverage fallback executes nothing and returns `Error`.
|
|
257
|
+
|
|
258
|
+
## Process Guarantees And Reused State
|
|
259
|
+
|
|
260
|
+
The execution session runs serial cases in the selected profile's process
|
|
261
|
+
model. `freshState` defaults to `false`: in-process execution retains its collected
|
|
262
|
+
plan and transitive module state inside Stryker's reusable plugin worker. Suites
|
|
263
|
+
must support repeated execution. Persistent memoization, singleton state, and
|
|
264
|
+
caches populated during collection or a dry run can hide runtime mutations.
|
|
265
|
+
|
|
266
|
+
A surviving plugin worker remains reusable after a case timeout, leak, or
|
|
267
|
+
unattributed error. Each invocation closes its scopes, native observations, and
|
|
268
|
+
instrumentation bookkeeping before returning. Registered cleanups run once under
|
|
269
|
+
the originating attempt's policy, even when an observable interruption leaves
|
|
270
|
+
the body pending. Later body settlement cannot repeat cleanup or alter results.
|
|
271
|
+
Leaked work and module state can remain; late or ambiguously owned observations
|
|
272
|
+
are run errors rather than failures of the next case.
|
|
273
|
+
|
|
274
|
+
A hanging cleanup keeps the invocation pending for Stryker's deadline enforcement.
|
|
275
|
+
Stryker also handles dead workers and required environment reloads. The adapter
|
|
276
|
+
does not retire a surviving worker or enable fresh state automatically. Forced
|
|
277
|
+
process termination may prevent remaining cleanup.
|
|
278
|
+
|
|
279
|
+
Set `freshState: true` to start a new invocation process, collect the complete
|
|
280
|
+
eligible plan, and execute the requested selection for every invocation. This
|
|
281
|
+
resets transitive ESM and CommonJS modules, globals, and process-local mutable
|
|
282
|
+
state at the cost of startup and collection. It does not reset files, databases,
|
|
283
|
+
or external services. In-process permission enforcement remains best effort.
|
|
284
|
+
Supervised profiles already use one fresh restricted child per invocation;
|
|
285
|
+
`freshState` adds no extra host or stronger permissions there.
|
|
286
|
+
|
|
287
|
+
| Profile Process Model | `freshState` | Execution Boundary | `reloadEnvironment` |
|
|
288
|
+
| --------------------- | ------------ | -------------------------------------------------- | ------------------- |
|
|
289
|
+
| `in-process` | `false` | Reused Stryker plugin worker | `false` |
|
|
290
|
+
| `in-process` | `true` | Fresh invocation host | `true` |
|
|
291
|
+
| `supervised-process` | Either | Fresh restricted test child, without an extra host | `true` |
|
|
292
|
+
|
|
293
|
+
Stryker replaces reused workers for requested reloads and static-mutant
|
|
294
|
+
transitions. Direct reload requests against an already loaded native ESM graph
|
|
295
|
+
return `Error`. Static activation precedes configuration revalidation and test
|
|
296
|
+
imports; runtime activation follows unmutated collection.
|
|
297
|
+
|
|
298
|
+
For an in-process profile with cache-dependent results, add
|
|
299
|
+
`overkill: { freshState: true }` to Stryker's configuration.
|
|
300
|
+
|
|
301
|
+
For example, a singleton memoized during the dry run can return its cached
|
|
302
|
+
answer without evaluating a mutated function. The mutant can survive in a
|
|
303
|
+
reused graph despite recorded dry-run coverage. Fresh execution recomputes it.
|
|
304
|
+
Stryker's `maxTestRunnerReuse: 1` is not a substitute: its counter counts mutant
|
|
305
|
+
runs, so the first mutant can still reuse dry-run state.
|
|
306
|
+
|
|
307
|
+
Native in-process exit observation cannot prevent termination or guarantee a
|
|
308
|
+
returned result; abort and arbitrary process signaling remain observation gaps.
|
|
309
|
+
A supervised child must deliver a valid completion result, even if it exits with
|
|
310
|
+
code zero. Unexpected termination is an execution error, not evidence of a kill.
|
|
311
|
+
Stryker owns plugin-worker crash and deadline recovery. Freshness changes module
|
|
312
|
+
lifetime, not these process-model permission guarantees.
|
|
313
|
+
|
|
314
|
+
## Reporting And Persistence
|
|
315
|
+
|
|
316
|
+
Stryker owns campaign output and reports. Mutation invocations suppress all
|
|
317
|
+
ordinary Overkill reporters, including configured custom reporters, and collect
|
|
318
|
+
structured adapter results in memory while retaining test-policy checks.
|
|
319
|
+
|
|
320
|
+
By default, Overkill writes no results, run records, duration history, artifacts,
|
|
321
|
+
or reports during mutation invocations. Stryker's sandbox and campaign reports
|
|
322
|
+
remain governed by Stryker's own configuration.
|
|
323
|
+
|
|
324
|
+
Diagnostic persistence is opt-in through `overkill.artifactPersistence`:
|
|
325
|
+
|
|
326
|
+
| Value | Available Evidence Retained |
|
|
327
|
+
| ------------ | --------------------------------------------------------------- |
|
|
328
|
+
| `'off'` | None; the default |
|
|
329
|
+
| `'failures'` | Failed dry runs, killed mutants, timeouts, and execution errors |
|
|
330
|
+
| `'all'` | Failed invocations, successful dry runs, and surviving mutants |
|
|
331
|
+
|
|
332
|
+
Add `overkill: { artifactPersistence: 'failures' }` to the Stryker configuration
|
|
333
|
+
to retain available evidence from failed invocations.
|
|
334
|
+
|
|
335
|
+
Evidence is retained from the whole invocation. Invocations without diagnostic
|
|
336
|
+
evidence create no files.
|
|
337
|
+
|
|
338
|
+
Files live under the launch project's configured `runtimeStateDir` (default
|
|
339
|
+
`.overkill`), outside the disposable Stryker sandbox:
|
|
340
|
+
|
|
341
|
+
```text
|
|
342
|
+
<runtimeStateDir>/mutation/<campaign>/<invocation>/diagnostics.json
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
Each document includes the campaign and invocation identities, mutant identity
|
|
346
|
+
when applicable, campaign seed, profile, native failure outcomes, and delivered
|
|
347
|
+
artifacts or transcripts. Case and work identities remain structural and
|
|
348
|
+
project-relative. File-backed attachments are copied beside the document.
|
|
349
|
+
Workers and replacements share the campaign identity; each invocation has a
|
|
350
|
+
unique identity. These files survive Stryker sandbox cleanup.
|
|
351
|
+
|
|
352
|
+
Persistence preserves existing production limits and truncation metadata. It
|
|
353
|
+
does not enable capture, debug recording, capabilities, ordinary reports, run
|
|
354
|
+
records, or history maintenance. Unattached transcript objects are not recorded.
|
|
355
|
+
Forced termination can prevent delivery or writing; only evidence available to
|
|
356
|
+
a surviving owner can be retained. Serialization, delivery, copy, and write
|
|
357
|
+
failures return infrastructure errors, preserving earlier case diagnostics.
|
|
358
|
+
|
|
359
|
+
## Advanced Lifecycle And Sandbox Behavior
|
|
360
|
+
|
|
361
|
+
### Frozen Policy
|
|
362
|
+
|
|
44
363
|
Each plugin worker requests policy once from a fresh, unmutated process owned
|
|
45
364
|
by Stryker's main process. It imports user configuration and its dependencies,
|
|
46
365
|
discovers files, and returns immutable policy data. It imports no tests or
|
|
@@ -50,12 +369,15 @@ initialization.
|
|
|
50
369
|
Repeated initialization shares one result, including failures. Replacement
|
|
51
370
|
workers resolve policy independently.
|
|
52
371
|
|
|
372
|
+
### Mutation Targets And Sandbox Paths
|
|
373
|
+
|
|
53
374
|
Stryker owns mutation selection. Exclude configuration, test definitions,
|
|
54
375
|
definition helpers such as macros and suite fragments, and adapter code through
|
|
55
376
|
`mutate`, while keeping those files available in the sandbox. Use mutation
|
|
56
377
|
exclusions rather than `ignorePatterns`, which removes files from the sandbox.
|
|
57
378
|
Prefer a production-only include, with exclusions where production and test
|
|
58
|
-
definitions share directories.
|
|
379
|
+
definitions share directories. For example, add `'!source/test-support/**'`
|
|
380
|
+
to `mutate` when that directory contains your definition helpers.
|
|
59
381
|
|
|
60
382
|
Initialization rejects targets overlapping the loaded config entry, discovered
|
|
61
383
|
test modules, or the executing adapter directory. Boolean targets and mutation
|
|
@@ -83,43 +405,7 @@ execution, or resources fail even when test identities would remain unchanged.
|
|
|
83
405
|
Reporters, valid unrelated profiles, disabled coverage settings, and overridden
|
|
84
406
|
scheduling do not affect the comparison.
|
|
85
407
|
|
|
86
|
-
|
|
87
|
-
model. `freshState` defaults to `false`: in-process execution retains its collected
|
|
88
|
-
plan and transitive module state inside Stryker's reusable plugin worker. Suites
|
|
89
|
-
must support repeated execution. Persistent memoization, singleton state, and
|
|
90
|
-
caches populated during collection or a dry run can hide runtime mutations.
|
|
91
|
-
|
|
92
|
-
A surviving plugin worker remains reusable after a case timeout, leak, or
|
|
93
|
-
unattributed error. Each invocation closes its scopes, native observations, and
|
|
94
|
-
instrumentation bookkeeping before returning. Registered cleanups run once under
|
|
95
|
-
the originating attempt's policy, even when an observable interruption leaves
|
|
96
|
-
the body pending. Later body settlement cannot repeat cleanup or alter results.
|
|
97
|
-
Leaked work and module state can remain; late or ambiguously owned observations
|
|
98
|
-
are run errors rather than failures of the next case.
|
|
99
|
-
|
|
100
|
-
A hanging cleanup keeps the invocation pending for Stryker's deadline enforcement.
|
|
101
|
-
Stryker also handles dead workers and required environment reloads. The adapter
|
|
102
|
-
does not retire a surviving worker or enable fresh state automatically. Forced
|
|
103
|
-
process termination may prevent remaining cleanup.
|
|
104
|
-
|
|
105
|
-
Set `freshState: true` to start a new invocation process, collect the complete
|
|
106
|
-
eligible plan, and execute the requested selection for every invocation. This
|
|
107
|
-
resets transitive ESM and CommonJS modules, globals, and process-local mutable
|
|
108
|
-
state at the cost of startup and collection. It does not reset files, databases,
|
|
109
|
-
or external services. In-process permission enforcement remains best effort.
|
|
110
|
-
Supervised profiles already use one fresh restricted child per invocation;
|
|
111
|
-
`freshState` adds no extra host or stronger permissions there.
|
|
112
|
-
|
|
113
|
-
| Execution | `reloadEnvironment` |
|
|
114
|
-
| ---------------------- | ------------------- |
|
|
115
|
-
| Reused in-process ESM | `false` |
|
|
116
|
-
| Fresh in-process state | `true` |
|
|
117
|
-
| Supervised process | `true` |
|
|
118
|
-
|
|
119
|
-
Stryker replaces reused workers for requested reloads and static-mutant
|
|
120
|
-
transitions. Direct reload requests against an already loaded native ESM graph
|
|
121
|
-
return `Error`. Static activation precedes configuration revalidation and test
|
|
122
|
-
imports; runtime activation follows unmutated collection.
|
|
408
|
+
### Campaign Coordination
|
|
123
409
|
|
|
124
410
|
An automatic IPC receiver in Stryker's main process retains the original dry-run
|
|
125
411
|
catalog and coverage across workers and replacements. No additional dry run,
|
|
@@ -128,67 +414,7 @@ supervised children belong to that main process. Worker disconnects cancel
|
|
|
128
414
|
their execution and reap the children. The receiver uses Stryker `10.0.0`'s
|
|
129
415
|
worker marker and generated schema defaults; its sockets do not keep Node alive.
|
|
130
416
|
|
|
131
|
-
|
|
132
|
-
and distinct resource-free runtime variants. Authored suite and case titles
|
|
133
|
-
remain identity components, with suite segments kept separate. Rendered names
|
|
134
|
-
and source line or column positions do not determine IDs.
|
|
135
|
-
File origins use project-relative paths with forward slashes. Absolute sandbox
|
|
136
|
-
paths, dot segments, and separator aliases normalize to the same origin;
|
|
137
|
-
origins outside the sandbox or naming its root fail. Existing canonical IDs
|
|
138
|
-
retain their encoding. Regenerate cached Stryker reports if they contain IDs
|
|
139
|
-
derived from noncanonical path spellings.
|
|
140
|
-
|
|
141
|
-
Every invocation validates the complete eligible catalog, selection metadata,
|
|
142
|
-
and intentional skips before narrowing. Reused execution validates its retained
|
|
143
|
-
plan without reimporting modules. Unknown or duplicate IDs, catalog drift,
|
|
144
|
-
unexpected skips, and empty mutant filters return `Error`. The adapter expands
|
|
145
|
-
Stryker's sandbox file filters. The baseline retains the original file restriction,
|
|
146
|
-
including eligible files that initially contain no cases. Later cases in those
|
|
147
|
-
files are catalog drift when execution collects again.
|
|
148
|
-
|
|
149
|
-
Repeated dry runs validate the original file restriction, coverage mode, and
|
|
150
|
-
catalog before case execution. They cannot replace the original campaign
|
|
151
|
-
baseline. Intentional skips remain in dry-run results; a mutant selection with
|
|
152
|
-
no runnable cases after coverage fallback executes nothing and returns `Error`.
|
|
153
|
-
|
|
154
|
-
Dry-run results report stable IDs, durations in milliseconds, successes,
|
|
155
|
-
failures, and intentional skips. Assertion, body, and test-contract failures
|
|
156
|
-
remain individual failed tests. Cleanup failures return `Error`, preserving
|
|
157
|
-
affected IDs and complete case failure lists alongside runner diagnostics,
|
|
158
|
-
and do not publish a baseline. Timeouts return `Timeout`. Stryker aborts these
|
|
159
|
-
invocations before mutation execution and produces no mutation score.
|
|
160
|
-
|
|
161
|
-
Mutants are killed by eligible-case assertions, body errors, test-contract
|
|
162
|
-
failures, or policy violations safely attributed to the executing case and
|
|
163
|
-
attempt. This includes permission denials, forbidden console output, async
|
|
164
|
-
leaks, uncaught exceptions, and unhandled rejections. Killing results include
|
|
165
|
-
stable test IDs and structured failure diagnostics.
|
|
166
|
-
|
|
167
|
-
Loading, collection, infrastructure, reporter, transport, and persistence
|
|
168
|
-
failures return `Error`. Missing or conflicting attribution, inconclusive
|
|
169
|
-
results, and cleanup failures also return `Error`, including cleanup errors
|
|
170
|
-
retained beneath a policy verdict. Serial execution alone never proves ownership.
|
|
171
|
-
|
|
172
|
-
Set Stryker's `coverageAnalysis` to `perTest` (the normal optimized mode), `all`,
|
|
173
|
-
or `off`. `perTest` returns Stryker's case counters and narrows execution only
|
|
174
|
-
when the requested cases include every recorded covering case. `all` returns
|
|
175
|
-
aggregate mutant counts and selects the full eligible suite. `off` omits mutant
|
|
176
|
-
coverage and also selects the full eligible suite. Ordinary V8 coverage remains
|
|
177
|
-
disabled in every mode.
|
|
178
|
-
|
|
179
|
-
Static coverage or uncertain attribution widens valid filters to the complete
|
|
180
|
-
dry-run catalog, preserving its original file restrictions. The adapter never
|
|
181
|
-
infers `NoCoverage`. Missing or malformed counter transport, incomplete
|
|
182
|
-
test results, unknown IDs, duplicate IDs, and explicit-empty filters return
|
|
183
|
-
`Error`. A test that touches no instrumented code needs no counter bucket.
|
|
184
|
-
Stryker can still classify genuinely uncovered mutants from complete coverage.
|
|
185
|
-
|
|
186
|
-
Stryker's explicit `ignoreStatic` setting retains its runtime-only behavior for
|
|
187
|
-
hybrid mutants and its own handling of static mutants. Otherwise recorded
|
|
188
|
-
import-time hits require static activation before user imports. Existing reload
|
|
189
|
-
checks reject a loaded graph that cannot perform that activation safely.
|
|
190
|
-
Fallback keeps Stryker's deadline and bail policy. The dry-run coverage mode is
|
|
191
|
-
fixed with the campaign baseline and retained across worker replacements.
|
|
417
|
+
### Instrumentation And Observation
|
|
192
418
|
|
|
193
419
|
Counters retain their object identity across reused invocations. Test attribution
|
|
194
420
|
includes awaited cleanup. Infrastructure errors take precedence over timeouts
|
|
@@ -198,8 +424,6 @@ hit-limit state, and the activation environment variable are cleared on exit,
|
|
|
198
424
|
including partial setup failures. Reset failures still attempt independent cleanup
|
|
199
425
|
and return `Error` if state cannot be cleared; retained runtime objects are never
|
|
200
426
|
replaced to recover. Detached result counters remain available after cleanup.
|
|
201
|
-
Ordinary reporters, records, duration history, and V8 coverage are disabled.
|
|
202
|
-
Diagnostic persistence is opt-in through `overkill.artifactPersistence`.
|
|
203
427
|
|
|
204
428
|
Every invocation gets fresh scopes, observers, cleanup, and results. Failed
|
|
205
429
|
collection remains cached in reused mode; fresh mode can collect again on the
|
|
@@ -211,6 +435,8 @@ checkpoints have infrastructure ownership. Native observations close before
|
|
|
211
435
|
results return to Stryker, including on errors and cancellation. Unknown or
|
|
212
436
|
late observations remain execution errors; they never establish a mutant kill.
|
|
213
437
|
|
|
438
|
+
### Deadlines And Disposal
|
|
439
|
+
|
|
214
440
|
The earlier applicable profile case timeout or Stryker invocation deadline wins.
|
|
215
441
|
One monotonic invocation budget covers lazy initialization, policy resolution,
|
|
216
442
|
collection, execution, cleanup, and campaign result delivery. IPC carries remaining
|
|
@@ -231,44 +457,3 @@ the adapter does not add a process boundary to reused in-process execution.
|
|
|
231
457
|
Disposal closes admission immediately. It cancels and awaits supervised child
|
|
232
458
|
termination, terminates fresh invocation hosts, or awaits active reused
|
|
233
459
|
in-process work without terminating Stryker's worker.
|
|
234
|
-
|
|
235
|
-
`overkill.seed` accepts a nonnegative decimal string, for example `'42'`.
|
|
236
|
-
Stryker applies a generated schema default before distributing configuration;
|
|
237
|
-
dry runs, mutants, workers, replacements, and fresh hosts use that same seed.
|
|
238
|
-
The adapter logs it through Stryker during initialization. Supply the logged
|
|
239
|
-
value explicitly to reproduce ordering. Multiple programmatic campaigns in one
|
|
240
|
-
Node process may share the generated schema default. Worker settings require the
|
|
241
|
-
coordinator-resolved seed and never substitute another seed when it is missing.
|
|
242
|
-
|
|
243
|
-
Diagnostic persistence accepts `'off'` (default), `'failures'`, or `'all'`:
|
|
244
|
-
|
|
245
|
-
```js
|
|
246
|
-
export default {
|
|
247
|
-
overkill: { artifactPersistence: 'failures' }
|
|
248
|
-
};
|
|
249
|
-
```
|
|
250
|
-
|
|
251
|
-
`failures` retains available evidence from the whole failed invocation: killed
|
|
252
|
-
mutants, timeouts, execution errors, and dry runs with failed tests. `all` also
|
|
253
|
-
retains available evidence from successful dry runs and surviving mutants.
|
|
254
|
-
Invocations without diagnostic evidence create no files.
|
|
255
|
-
|
|
256
|
-
Files live under the launch project's configured `runtimeStateDir`:
|
|
257
|
-
|
|
258
|
-
```text
|
|
259
|
-
<runtimeStateDir>/mutation/<campaign>/<invocation>/diagnostics.json
|
|
260
|
-
```
|
|
261
|
-
|
|
262
|
-
Each document includes the campaign and invocation identities, mutant identity
|
|
263
|
-
when applicable, campaign seed, profile, native failure outcomes, and delivered
|
|
264
|
-
artifacts or transcripts. Case and work identities remain structural and
|
|
265
|
-
project-relative. File-backed attachments are copied beside the document.
|
|
266
|
-
Workers and replacements share the campaign identity; each invocation has a
|
|
267
|
-
unique identity. These files survive Stryker sandbox cleanup.
|
|
268
|
-
|
|
269
|
-
Persistence preserves existing production limits and truncation metadata. It
|
|
270
|
-
does not enable capture, debug recording, capabilities, ordinary reports, run
|
|
271
|
-
records, or history maintenance. Unattached transcript objects are not recorded.
|
|
272
|
-
Forced termination can prevent delivery or writing; only evidence available to
|
|
273
|
-
a surviving owner can be retained. Serialization, delivery, copy, and write
|
|
274
|
-
failures return infrastructure errors, preserving earlier case diagnostics.
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"component": {
|
|
17
17
|
"type": "library",
|
|
18
18
|
"name": "@overkill-dev/stryker-runner",
|
|
19
|
-
"version": "0.0.
|
|
20
|
-
"bom-ref": "pkg:npm/@overkill-dev/stryker-runner@0.0.
|
|
21
|
-
"purl": "pkg:npm/@overkill-dev/stryker-runner@0.0.
|
|
19
|
+
"version": "0.0.22",
|
|
20
|
+
"bom-ref": "pkg:npm/@overkill-dev/stryker-runner@0.0.22",
|
|
21
|
+
"purl": "pkg:npm/@overkill-dev/stryker-runner@0.0.22"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"components": [
|
|
@@ -38,28 +38,28 @@
|
|
|
38
38
|
{
|
|
39
39
|
"type": "library",
|
|
40
40
|
"name": "@overkill-dev/engine",
|
|
41
|
-
"version": "0.0.
|
|
42
|
-
"bom-ref": "pkg:npm/@overkill-dev/engine@0.0.
|
|
41
|
+
"version": "0.0.78",
|
|
42
|
+
"bom-ref": "pkg:npm/@overkill-dev/engine@0.0.78",
|
|
43
43
|
"scope": "optional",
|
|
44
44
|
"licenses": [
|
|
45
45
|
{
|
|
46
46
|
"expression": "MIT"
|
|
47
47
|
}
|
|
48
48
|
],
|
|
49
|
-
"purl": "pkg:npm/@overkill-dev/engine@0.0.
|
|
49
|
+
"purl": "pkg:npm/@overkill-dev/engine@0.0.78"
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
"type": "library",
|
|
53
53
|
"name": "@overkill-dev/run",
|
|
54
|
-
"version": "0.0.
|
|
55
|
-
"bom-ref": "pkg:npm/@overkill-dev/run@0.0.
|
|
54
|
+
"version": "0.0.99",
|
|
55
|
+
"bom-ref": "pkg:npm/@overkill-dev/run@0.0.99",
|
|
56
56
|
"scope": "optional",
|
|
57
57
|
"licenses": [
|
|
58
58
|
{
|
|
59
59
|
"expression": "MIT"
|
|
60
60
|
}
|
|
61
61
|
],
|
|
62
|
-
"purl": "pkg:npm/@overkill-dev/run@0.0.
|
|
62
|
+
"purl": "pkg:npm/@overkill-dev/run@0.0.99"
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
"type": "library",
|
|
@@ -106,17 +106,17 @@
|
|
|
106
106
|
"ref": "pkg:npm/@enormora/clock@0.0.3"
|
|
107
107
|
},
|
|
108
108
|
{
|
|
109
|
-
"ref": "pkg:npm/@overkill-dev/engine@0.0.
|
|
109
|
+
"ref": "pkg:npm/@overkill-dev/engine@0.0.78"
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
|
-
"ref": "pkg:npm/@overkill-dev/run@0.0.
|
|
112
|
+
"ref": "pkg:npm/@overkill-dev/run@0.0.99"
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
|
-
"ref": "pkg:npm/@overkill-dev/stryker-runner@0.0.
|
|
115
|
+
"ref": "pkg:npm/@overkill-dev/stryker-runner@0.0.22",
|
|
116
116
|
"dependsOn": [
|
|
117
117
|
"pkg:npm/@enormora/clock@0.0.3",
|
|
118
|
-
"pkg:npm/@overkill-dev/engine@0.0.
|
|
119
|
-
"pkg:npm/@overkill-dev/run@0.0.
|
|
118
|
+
"pkg:npm/@overkill-dev/engine@0.0.78",
|
|
119
|
+
"pkg:npm/@overkill-dev/run@0.0.99",
|
|
120
120
|
"pkg:npm/@schema-hub/zod-error-formatter@0.0.19",
|
|
121
121
|
"pkg:npm/@stryker-mutator/api@10.0.0",
|
|
122
122
|
"pkg:npm/zod@4.6.7"
|