@codyswann/lisa 5.7.0 → 5.8.0
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/all/copy-overwrite/scripts/lib/push-timing.mjs +135 -9
- package/all/copy-overwrite/scripts/lisa-push-timing-report.mjs +58 -4
- package/all/copy-overwrite/scripts/lisa-run-gates.mjs +13 -1
- package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +2 -2
- package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.js +18 -0
- package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +16 -7
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/package.json +5 -5
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
- package/rails/copy-overwrite/scripts/lisa-rails-gates.mjs +6 -0
- package/scripts/check-shell-guard-refusal-coverage.mjs +10 -0
- package/scripts/check-test-files-executed.mjs +149 -0
- package/scripts/lib/nightly-slow-suites.mjs +58 -0
- package/scripts/plan-integration-shards.mjs +12 -3
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
writeFileSync,
|
|
24
24
|
} from "node:fs";
|
|
25
25
|
import { availableParallelism, freemem, loadavg } from "node:os";
|
|
26
|
-
import { join } from "node:path";
|
|
26
|
+
import { join, sep } from "node:path";
|
|
27
27
|
|
|
28
28
|
import { boundedSpawnSync } from "./bounded-spawn.mjs";
|
|
29
29
|
|
|
@@ -46,6 +46,9 @@ const REPORT_NAME = /^\d{4}-\d{2}-\d{2}T\d{2}-\d{2}-\d{2}Z(?:-\d+)?\.json$/u;
|
|
|
46
46
|
* @property {string|null} startedAt ISO-8601 start, null when never reached.
|
|
47
47
|
* @property {number} durationMs Time spent; 0 when proved by a sibling's run.
|
|
48
48
|
* @property {string|null} provedBy The gate whose run proved this one.
|
|
49
|
+
* @property {string[]} failingTestFiles Repo-relative test files the gate's
|
|
50
|
+
* output named as failing; empty unless the gate failed (#4896).
|
|
51
|
+
* @property {boolean} failingTestFilesTruncated True when that list was capped.
|
|
49
52
|
*/
|
|
50
53
|
|
|
51
54
|
/**
|
|
@@ -99,28 +102,151 @@ export function formatDuration(ms) {
|
|
|
99
102
|
return `${seconds}s`;
|
|
100
103
|
}
|
|
101
104
|
|
|
105
|
+
/** The most failing test files one gate records (#4896). */
|
|
106
|
+
export const MAX_FAILING_TEST_FILES = 200;
|
|
107
|
+
|
|
108
|
+
/** Terminal colour and cursor sequences, which Vitest wraps its FAIL badge in. */
|
|
109
|
+
// eslint-disable-next-line no-control-regex -- matching the ESC byte is the point
|
|
110
|
+
const ANSI_SEQUENCE = /\u001b\[[0-9;?]*[ -/]*[@-~]/gu;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* A runner's per-file failure header, at the start of a line:
|
|
114
|
+
* - Vitest: ` FAIL |project| path/to/file.test.ts > suite > case`
|
|
115
|
+
* - Jest: `FAIL path/to/file.test.ts (5.1 s)`
|
|
116
|
+
* The project tag is optional in both. A `FAIL` anywhere else in a line is prose.
|
|
117
|
+
*/
|
|
118
|
+
const FAIL_HEADER = /^\s*FAIL\s+(?:\|[^|\n]*\|\s+)?(\S+)/u;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* A path without its trailing slashes. A loop rather than `/\/+$/`, which the
|
|
122
|
+
* shipped ReDoS rule flags: an anchored `+` before `$` backtracks on a long run
|
|
123
|
+
* of slashes followed by anything else.
|
|
124
|
+
* @param {string} path A POSIX path.
|
|
125
|
+
* @returns {string} The path with trailing `/` characters removed.
|
|
126
|
+
*/
|
|
127
|
+
function trimTrailingSlashes(path) {
|
|
128
|
+
let end = path.length;
|
|
129
|
+
while (end > 0 && path[end - 1] === "/") end -= 1;
|
|
130
|
+
return path.slice(0, end);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/** A token that is plausibly a file path: path characters plus an extension. */
|
|
134
|
+
const FILE_TOKEN = /^[\w@.+\-/\\]+\.[A-Za-z0-9]+$/u;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* A FAIL token as a repo-relative POSIX path, or null when it is not one.
|
|
138
|
+
*
|
|
139
|
+
* Only repo-relative paths are kept: an absolute path inside `root` is made
|
|
140
|
+
* relative, and anything outside it — or climbing out with `..` — is dropped,
|
|
141
|
+
* because a report that names files from somewhere else is not about this repo.
|
|
142
|
+
* @param {string} token The first token after `FAIL`.
|
|
143
|
+
* @param {string|null} root The project root, or null to keep relative paths only.
|
|
144
|
+
* @returns {string|null} The path, or null.
|
|
145
|
+
*/
|
|
146
|
+
function repoRelative(token, root) {
|
|
147
|
+
if (!FILE_TOKEN.test(token)) return null;
|
|
148
|
+
const posix = token.replaceAll("\\", "/");
|
|
149
|
+
const base = root
|
|
150
|
+
? `${trimTrailingSlashes(root.replaceAll(sep, "/"))}/`
|
|
151
|
+
: null;
|
|
152
|
+
const absolute = posix.startsWith("/") || /^[A-Za-z]:\//u.test(posix);
|
|
153
|
+
const inRoot = absolute && base && posix.startsWith(base);
|
|
154
|
+
if (absolute && !inRoot) return null;
|
|
155
|
+
const relative = (inRoot ? posix.slice(base.length) : posix).replace(
|
|
156
|
+
/^(?:\.\/)+/u,
|
|
157
|
+
""
|
|
158
|
+
);
|
|
159
|
+
const segments = relative.split("/");
|
|
160
|
+
if (segments.some(part => part === ".." || part === "")) return null;
|
|
161
|
+
return relative;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* The test files a failed gate's output names as failing (CodySwannGT/lisa#4896).
|
|
166
|
+
*
|
|
167
|
+
* The push timing report records pass or fail per gate, which cannot say WHICH
|
|
168
|
+
* test file failed — so a slow file that never catches anything and a slow file
|
|
169
|
+
* that catches regressions every week look the same. This reads each runner's
|
|
170
|
+
* per-file failure header out of the captured diagnostic tail (Vitest's summary
|
|
171
|
+
* repeats every failed file there, so the tail is enough).
|
|
172
|
+
*
|
|
173
|
+
* Diagnostics only: anything unexpected — a non-string, binary noise, a format
|
|
174
|
+
* this does not know — yields an empty list. It never throws, so it can never
|
|
175
|
+
* change a gate verdict or fail a push.
|
|
176
|
+
* @param {unknown} output A gate's captured output.
|
|
177
|
+
* @param {object} [options] Bounds.
|
|
178
|
+
* @param {string|null} [options.root] Project root, for relativising absolute paths.
|
|
179
|
+
* @param {number} [options.max] Cap on the number of files.
|
|
180
|
+
* @returns {{files: string[], truncated: boolean}} Deduped files in first-seen order.
|
|
181
|
+
*/
|
|
182
|
+
export function failingTestFiles(
|
|
183
|
+
output,
|
|
184
|
+
{ root = null, max = MAX_FAILING_TEST_FILES } = {}
|
|
185
|
+
) {
|
|
186
|
+
try {
|
|
187
|
+
if (typeof output !== "string") return { files: [], truncated: false };
|
|
188
|
+
const unique = [
|
|
189
|
+
...new Set(
|
|
190
|
+
output
|
|
191
|
+
.replace(ANSI_SEQUENCE, "")
|
|
192
|
+
.split(/\r?\n/u)
|
|
193
|
+
.map(line => FAIL_HEADER.exec(line)?.[1])
|
|
194
|
+
.filter(token => typeof token === "string")
|
|
195
|
+
.map(token => repoRelative(token, root))
|
|
196
|
+
.filter(path => path !== null)
|
|
197
|
+
),
|
|
198
|
+
];
|
|
199
|
+
return { files: unique.slice(0, max), truncated: unique.length > max };
|
|
200
|
+
} catch {
|
|
201
|
+
// probe-direction: neutral — a diagnostic list; no gate reads it.
|
|
202
|
+
return { files: [], truncated: false };
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/** States under which a gate's run did not prove its property. */
|
|
207
|
+
const UNPROVED_STATES = new Set(["FAILED", "UNPROVABLE", "KILLED"]);
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* The failing-file fields of one gate record. A gate that did not fail records
|
|
211
|
+
* none, whatever its entry carries, and a malformed list reads as none.
|
|
212
|
+
* @param {string} state The record's state.
|
|
213
|
+
* @param {unknown} failingTests The entry's `{files, truncated}`, if any.
|
|
214
|
+
* @returns {{failingTestFiles: string[], failingTestFilesTruncated: boolean}} The fields.
|
|
215
|
+
*/
|
|
216
|
+
function failingFields(state, failingTests) {
|
|
217
|
+
const files = UNPROVED_STATES.has(state) ? failingTests?.files : null;
|
|
218
|
+
const valid =
|
|
219
|
+
Array.isArray(files) && files.every(file => typeof file === "string");
|
|
220
|
+
return {
|
|
221
|
+
failingTestFiles: valid ? [...files] : [],
|
|
222
|
+
failingTestFilesTruncated: valid && failingTests.truncated === true,
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
|
|
102
226
|
/**
|
|
103
227
|
* One gate's timing record.
|
|
104
228
|
* @param {object} entry A `runGates` result entry (or a pre-gate step).
|
|
105
229
|
* @returns {GateTiming} The record.
|
|
106
230
|
*/
|
|
107
231
|
function gateRecord(entry) {
|
|
232
|
+
// A remembered pass (#4594) did not run, so it is reported as CACHED
|
|
233
|
+
// rather than as a PASSED gate that happened to take no time.
|
|
234
|
+
const state =
|
|
235
|
+
entry.cached === true
|
|
236
|
+
? "CACHED"
|
|
237
|
+
: String(entry.state ?? "unknown")
|
|
238
|
+
.toUpperCase()
|
|
239
|
+
.replaceAll("-", "_");
|
|
108
240
|
return {
|
|
109
241
|
id: entry.id,
|
|
110
242
|
level: entry.level ?? null,
|
|
111
243
|
command: entry.command ?? null,
|
|
112
|
-
|
|
113
|
-
// rather than as a PASSED gate that happened to take no time.
|
|
114
|
-
state:
|
|
115
|
-
entry.cached === true
|
|
116
|
-
? "CACHED"
|
|
117
|
-
: String(entry.state ?? "unknown")
|
|
118
|
-
.toUpperCase()
|
|
119
|
-
.replaceAll("-", "_"),
|
|
244
|
+
state,
|
|
120
245
|
exitCode: typeof entry.code === "number" ? entry.code : null,
|
|
121
246
|
startedAt: entry.startedAt ?? null,
|
|
122
247
|
durationMs: typeof entry.durationMs === "number" ? entry.durationMs : 0,
|
|
123
248
|
provedBy: entry.provedBy ?? null,
|
|
249
|
+
...failingFields(state, entry.failingTests),
|
|
124
250
|
};
|
|
125
251
|
}
|
|
126
252
|
|
|
@@ -10,7 +10,10 @@
|
|
|
10
10
|
*
|
|
11
11
|
* Prints, per gate, the median and max duration and how many of the selected
|
|
12
12
|
* runs recorded it; then, per run, the total wall time with the one-minute
|
|
13
|
-
* load at start and end
|
|
13
|
+
* load at start and end; then, when any selected run recorded failing test
|
|
14
|
+
* files (CodySwannGT/lisa#4896), how many of those runs each file failed in —
|
|
15
|
+
* the evidence for judging whether a slow test file ever catches anything.
|
|
16
|
+
* A missing or empty `.lisa/push-timing/` exits 1 with
|
|
14
17
|
* one line saying so, because "no data" must not read as "nothing was slow".
|
|
15
18
|
* @module lisa-push-timing-report
|
|
16
19
|
*/
|
|
@@ -34,10 +37,47 @@ export function median(values) {
|
|
|
34
37
|
return sorted.length % 2 ? sorted[mid] : (sorted[mid - 1] + sorted[mid]) / 2;
|
|
35
38
|
}
|
|
36
39
|
|
|
40
|
+
/**
|
|
41
|
+
* The failing test files one report names, deduped across its gates: a file
|
|
42
|
+
* named by two gates that shared one run failed once, not twice. A report
|
|
43
|
+
* written before the field existed, or a malformed one, names none.
|
|
44
|
+
* @param {object} report One parsed timing report.
|
|
45
|
+
* @returns {{files: Set<string>, truncated: boolean}} The files and whether any gate's list was capped.
|
|
46
|
+
*/
|
|
47
|
+
function reportFailingFiles(report) {
|
|
48
|
+
const gates = Array.isArray(report?.gates) ? report.gates : [];
|
|
49
|
+
const lists = gates.map(gate =>
|
|
50
|
+
Array.isArray(gate?.failingTestFiles) ? gate.failingTestFiles : []
|
|
51
|
+
);
|
|
52
|
+
return {
|
|
53
|
+
files: new Set(lists.flat().filter(file => typeof file === "string")),
|
|
54
|
+
truncated: gates.some(gate => gate?.failingTestFilesTruncated === true),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* How many reports each test file failed in, most frequent first.
|
|
60
|
+
* @param {object[]} reports Parsed timing reports.
|
|
61
|
+
* @returns {{failingFiles: Array<{file: string, count: number}>, truncatedRuns: number}} The tally.
|
|
62
|
+
*/
|
|
63
|
+
function tallyFailingFiles(reports) {
|
|
64
|
+
const perReport = reports.map(reportFailingFiles);
|
|
65
|
+
const counts = new Map();
|
|
66
|
+
for (const file of perReport.flatMap(entry => [...entry.files])) {
|
|
67
|
+
counts.set(file, (counts.get(file) ?? 0) + 1);
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
failingFiles: [...counts.entries()]
|
|
71
|
+
.map(([file, count]) => ({ file, count }))
|
|
72
|
+
.sort((a, b) => b.count - a.count || a.file.localeCompare(b.file)),
|
|
73
|
+
truncatedRuns: perReport.filter(entry => entry.truncated).length,
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
37
77
|
/**
|
|
38
78
|
* Per-gate and per-run figures for a list of reports, oldest first.
|
|
39
79
|
* @param {object[]} reports Parsed timing reports.
|
|
40
|
-
* @returns {{gates: Array<{id: string, count: number, medianMs: number, maxMs: number}>, runs: object[]}} The summary.
|
|
80
|
+
* @returns {{gates: Array<{id: string, count: number, medianMs: number, maxMs: number}>, runs: object[], failingFiles: Array<{file: string, count: number}>, truncatedRuns: number}} The summary.
|
|
41
81
|
*/
|
|
42
82
|
export function summariseReports(reports) {
|
|
43
83
|
const durations = new Map();
|
|
@@ -65,7 +105,7 @@ export function summariseReports(reports) {
|
|
|
65
105
|
cores: report.cores,
|
|
66
106
|
gates: (report.gates ?? []).length,
|
|
67
107
|
}));
|
|
68
|
-
return { gates, runs };
|
|
108
|
+
return { gates, runs, ...tallyFailingFiles(reports) };
|
|
69
109
|
}
|
|
70
110
|
|
|
71
111
|
/**
|
|
@@ -126,7 +166,8 @@ export function main(
|
|
|
126
166
|
return [];
|
|
127
167
|
}
|
|
128
168
|
});
|
|
129
|
-
const { gates, runs } =
|
|
169
|
+
const { gates, runs, failingFiles, truncatedRuns } =
|
|
170
|
+
summariseReports(reports);
|
|
130
171
|
|
|
131
172
|
out(`Push timing — last ${runs.length} run(s) from ${dir}/`);
|
|
132
173
|
out("");
|
|
@@ -145,6 +186,19 @@ export function main(
|
|
|
145
186
|
`${formatLoad(run.loadEnd)}/${run.cores} cores`
|
|
146
187
|
);
|
|
147
188
|
}
|
|
189
|
+
if (failingFiles.length > 0) {
|
|
190
|
+
out("");
|
|
191
|
+
out(`Failing test files (runs failed in, of ${runs.length}):`);
|
|
192
|
+
for (const { file, count } of failingFiles) {
|
|
193
|
+
out(` ${`${count}/${runs.length} runs`.padEnd(14)}${file}`);
|
|
194
|
+
}
|
|
195
|
+
if (truncatedRuns > 0) {
|
|
196
|
+
out(
|
|
197
|
+
` (${truncatedRuns} run(s) failed more files than a report records; ` +
|
|
198
|
+
`those lists are incomplete)`
|
|
199
|
+
);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
148
202
|
return 0;
|
|
149
203
|
}
|
|
150
204
|
|
|
@@ -72,7 +72,11 @@ import {
|
|
|
72
72
|
withAdmission,
|
|
73
73
|
} from "./lib/push-admission.mjs";
|
|
74
74
|
import { withPushGateDefaults } from "./lib/push-gate-defaults.mjs";
|
|
75
|
-
import {
|
|
75
|
+
import {
|
|
76
|
+
failingTestFiles,
|
|
77
|
+
hostReading,
|
|
78
|
+
recordPushTiming,
|
|
79
|
+
} from "./lib/push-timing.mjs";
|
|
76
80
|
import { worktreeDependencyProblem } from "./lib/worktree-dependencies.mjs";
|
|
77
81
|
import {
|
|
78
82
|
interruptionReason,
|
|
@@ -239,6 +243,9 @@ export const CONDITIONAL_FLOOR = Object.freeze({
|
|
|
239
243
|
* run proved it or it was never reached (#4591).
|
|
240
244
|
* @property {boolean} [cached] True when the verdict is a remembered pass for
|
|
241
245
|
* this exact content and the gate did not run (CodySwannGT/lisa#4594).
|
|
246
|
+
* @property {{files: string[], truncated: boolean}} [failingTests] Test files
|
|
247
|
+
* a nonzero run's output named as failing, for the push timing report only
|
|
248
|
+
* (CodySwannGT/lisa#4896). Absent on a pass; never read into a verdict.
|
|
242
249
|
*/
|
|
243
250
|
|
|
244
251
|
/**
|
|
@@ -503,6 +510,11 @@ function execute(gate, exec, declarations) {
|
|
|
503
510
|
diagnosis: diagnosis.kind,
|
|
504
511
|
evidence: diagnosis.evidence,
|
|
505
512
|
proves: diagnosis.proves,
|
|
513
|
+
// Which test files the output names as failing, for the push timing report
|
|
514
|
+
// (CodySwannGT/lisa#4896). Read only on this failure branch, so a passing
|
|
515
|
+
// gate never carries a list. Diagnostics only: the parser never throws and
|
|
516
|
+
// nothing above or below reads it into a verdict.
|
|
517
|
+
failingTests: failingTestFiles(output, { root: process.cwd() }),
|
|
506
518
|
};
|
|
507
519
|
}
|
|
508
520
|
|
|
@@ -1390,7 +1390,7 @@
|
|
|
1390
1390
|
"children": []
|
|
1391
1391
|
},
|
|
1392
1392
|
"lib/push-timing.mjs": {
|
|
1393
|
-
"sha256": "
|
|
1393
|
+
"sha256": "7f04b451325dfa5aea321ec5b5d1aa7f34e737c8395e3a8a2de7dcdbf7d22d3f",
|
|
1394
1394
|
"staticImports": [
|
|
1395
1395
|
"lib/bounded-spawn.mjs",
|
|
1396
1396
|
"node:fs",
|
|
@@ -1590,7 +1590,7 @@
|
|
|
1590
1590
|
"children": []
|
|
1591
1591
|
},
|
|
1592
1592
|
"lisa-run-gates.mjs": {
|
|
1593
|
-
"sha256": "
|
|
1593
|
+
"sha256": "99eb89df79bdee353136525d273cbb168b5c289f1ef0876120c73bf61d01901a",
|
|
1594
1594
|
"staticImports": [
|
|
1595
1595
|
"lib/affected-tests.mjs",
|
|
1596
1596
|
"lib/bounded-spawn.mjs",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lisa-owned-hash-ledger.d.ts","sourceRoot":"","sources":["../../src/core/lisa-owned-hash-ledger.ts"],"names":[],"mappings":"AACA,6EAA6E;AAE7E;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAC3C,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"lisa-owned-hash-ledger.d.ts","sourceRoot":"","sources":["../../src/core/lisa-owned-hash-ledger.ts"],"names":[],"mappings":"AACA,6EAA6E;AAE7E;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAC3C,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAq3FjC,CAAC;AAEH;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,+BAA+B,EAAE,QAAQ,CACpD,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAwxFjC,CAAC"}
|
|
@@ -1406,6 +1406,9 @@ export const LISA_OWNED_HASH_LEDGER = Object.freeze({
|
|
|
1406
1406
|
]),
|
|
1407
1407
|
"scripts/lib/push-timing.mjs": Object.freeze([
|
|
1408
1408
|
"31de9d9357839e7e63292a4c18ede6c7b66e2cc2d562ede80036cc90f24d0d9f",
|
|
1409
|
+
"40ebd0bbadc04ad5c0aad78264f26b066e4cb4a8a811064af4888f932b99e0f4",
|
|
1410
|
+
"684c2e824e1d8682fffeef181e8801e8d4f6f5bc4d1c78ac6becbecb1eb199bd",
|
|
1411
|
+
"7f04b451325dfa5aea321ec5b5d1aa7f34e737c8395e3a8a2de7dcdbf7d22d3f",
|
|
1409
1412
|
"b2ff671d4b46de3b94518771850ff4f4b54c38f196e2f40cbf7b34ab02e40f19",
|
|
1410
1413
|
]),
|
|
1411
1414
|
"scripts/lib/reusable-workflow-load-adapter.d.mts": Object.freeze([
|
|
@@ -2223,9 +2226,11 @@ export const LISA_OWNED_HASH_LEDGER = Object.freeze({
|
|
|
2223
2226
|
"f16196413b0050a805327f9d6d7b55913f9df70c8be4b8805bb9267e9abb4abf",
|
|
2224
2227
|
]),
|
|
2225
2228
|
"scripts/lisa-push-timing-report.mjs": Object.freeze([
|
|
2229
|
+
"0bfa5e899305b7c89d5b8e496953326ef2240e019bddebea63a5467ecae592bf",
|
|
2226
2230
|
"96aed02d22f93cc15ea83182c6fcf05a994ee45c7e38807dc34cf31d38ebbb70",
|
|
2227
2231
|
]),
|
|
2228
2232
|
"scripts/lisa-rails-gates.mjs": Object.freeze([
|
|
2233
|
+
"2e5c231ac779fcfd3ef3380282268d5e163544dabe41fb6ee41eb5109320c6c3",
|
|
2229
2234
|
"34e6fa2e8b5a1a5794e107b880b30780596f219af09f6128e13423036f272d31",
|
|
2230
2235
|
"5f8dd1f06848084c9381e0524397d32847c9c83c2099bc8bf285c2001003ff8c",
|
|
2231
2236
|
"6b2f0bf7d3689a8081ae1287b7a73115e46d0c305b7a648861edfb11a8bf0cb9",
|
|
@@ -2321,6 +2326,7 @@ export const LISA_OWNED_HASH_LEDGER = Object.freeze({
|
|
|
2321
2326
|
"918dccb834291eeabcc947ccd5b6dc9f5c5523370e4dd4f637d071a8ad07e33e",
|
|
2322
2327
|
"92c3de77e2158e86db54876bf9f02ccd51ef892fdd8326ab9107b08044222a6a",
|
|
2323
2328
|
"94453bdae8ab3dd2eba0883c4b278027396090e0bdc8e2f102414abc6415912a",
|
|
2329
|
+
"99eb89df79bdee353136525d273cbb168b5c289f1ef0876120c73bf61d01901a",
|
|
2324
2330
|
"9b14c8864608e8ca390579048229bc0bbaba3094af0b536f1956085295c68af3",
|
|
2325
2331
|
"9c05ccc07c5b97bd7e910e235f2bd7bea9816fe2f5f282091557140c7ef7855e",
|
|
2326
2332
|
"9fa363107aa5ff033f150ff1a1bb5550d286de383b3d1f7b6c2ac2947730c8f2",
|
|
@@ -2760,6 +2766,7 @@ export const LISA_OWNED_HASH_LEDGER = Object.freeze({
|
|
|
2760
2766
|
"88f23c2b0763bc51976bb035011533bb655433f6dbf9ce6efd3278cdd43681ec",
|
|
2761
2767
|
"8a3c46d3501797ebb53a081c8b35e78e0ceb2b060503332b48e44ccc30d6d0df",
|
|
2762
2768
|
"8b3ef61c17d94bdf8eee99e02d396c975a12a8b8a3c2e34231eff6aaea3bf392",
|
|
2769
|
+
"8bc64fc8ba942bf5958988970af40def6dd7d77ca28fa373afb8a44f8a21ff4c",
|
|
2763
2770
|
"8c695c8ee36415fd7212d016cf7960d053bfdcc51129181aac6c2cdfc86d6865",
|
|
2764
2771
|
"8ddd6ca8b29a14434ff287cb7f07c5652efd39649ba5da2d981f153721f26f5a",
|
|
2765
2772
|
"8f2b36bc3fd7a7bde50b43f1cca4d9d2bbd7f6cd690d8766870291272cf077da",
|
|
@@ -2775,6 +2782,7 @@ export const LISA_OWNED_HASH_LEDGER = Object.freeze({
|
|
|
2775
2782
|
"985fbb040eef3c9843f20c300d01ea11a4c578db116c04658e450deafeeef4e4",
|
|
2776
2783
|
"9941f4b52e04534c4a0526ef4deb41c8798db8b963e62f5afca0d248023fbef8",
|
|
2777
2784
|
"9c7b426995048105a34ca8406e8c12ae06fd02294064cdf250238b156117d9a4",
|
|
2785
|
+
"9dbe1d8ba2c9db60ecd1efbe467ee48e16ca26ecb32d08f5f982fbed5ce486e6",
|
|
2778
2786
|
"9de265a5876d56d72e237b97bcb006c11ea4411e51e786b16e1f4b488402bea0",
|
|
2779
2787
|
"9f2be0dcbdba3b42ea89fb8ebd363daf12b6c2709fb05459a9d682ccf5d5c1c6",
|
|
2780
2788
|
"9fd0930e93674df5d1dbb464bf85b6838b9781aadbd68a0e2eca5b48f00381a6",
|
|
@@ -2801,6 +2809,7 @@ export const LISA_OWNED_HASH_LEDGER = Object.freeze({
|
|
|
2801
2809
|
"b5643bb8b2659860fde47aa4fdeade8e4fb473f87416660c32f9bb862e26f368",
|
|
2802
2810
|
"b67b99e08c15aedbb2f1c4246c94106217eb83c5956d07e198f0e90d40893895",
|
|
2803
2811
|
"b922ba883be07b5bef68c3a9e5718bbd41eec7cbf8b2b1c28a7beb8fed38d19d",
|
|
2812
|
+
"ba8b289410a9a8c73afa4cda26a4631712b4a2f2e82eea4b50e50ecc07e7439c",
|
|
2804
2813
|
"baa8ffc248ce29c30d10b579960b34b7836c7d7f47651ced3cbb551dfee65291",
|
|
2805
2814
|
"baabc232fc5020953af42a3474dce8e2670a5e97af0cee4c19f8cb5105879000",
|
|
2806
2815
|
"bdc4ee248108dcb9a714c723df047b953ea5c9cd8fb774338f5fd01e9fbfc1fb",
|
|
@@ -4324,6 +4333,9 @@ export const LISA_OWNED_HASH_HISTORY_DERIVED = Object.freeze({
|
|
|
4324
4333
|
]),
|
|
4325
4334
|
"scripts/lib/push-timing.mjs": Object.freeze([
|
|
4326
4335
|
"31de9d9357839e7e63292a4c18ede6c7b66e2cc2d562ede80036cc90f24d0d9f",
|
|
4336
|
+
"40ebd0bbadc04ad5c0aad78264f26b066e4cb4a8a811064af4888f932b99e0f4",
|
|
4337
|
+
"684c2e824e1d8682fffeef181e8801e8d4f6f5bc4d1c78ac6becbecb1eb199bd",
|
|
4338
|
+
"7f04b451325dfa5aea321ec5b5d1aa7f34e737c8395e3a8a2de7dcdbf7d22d3f",
|
|
4327
4339
|
"b2ff671d4b46de3b94518771850ff4f4b54c38f196e2f40cbf7b34ab02e40f19",
|
|
4328
4340
|
]),
|
|
4329
4341
|
"scripts/lib/reusable-workflow-load-adapter.d.mts": Object.freeze([
|
|
@@ -5085,9 +5097,11 @@ export const LISA_OWNED_HASH_HISTORY_DERIVED = Object.freeze({
|
|
|
5085
5097
|
"f16196413b0050a805327f9d6d7b55913f9df70c8be4b8805bb9267e9abb4abf",
|
|
5086
5098
|
]),
|
|
5087
5099
|
"scripts/lisa-push-timing-report.mjs": Object.freeze([
|
|
5100
|
+
"0bfa5e899305b7c89d5b8e496953326ef2240e019bddebea63a5467ecae592bf",
|
|
5088
5101
|
"96aed02d22f93cc15ea83182c6fcf05a994ee45c7e38807dc34cf31d38ebbb70",
|
|
5089
5102
|
]),
|
|
5090
5103
|
"scripts/lisa-rails-gates.mjs": Object.freeze([
|
|
5104
|
+
"2e5c231ac779fcfd3ef3380282268d5e163544dabe41fb6ee41eb5109320c6c3",
|
|
5091
5105
|
"34e6fa2e8b5a1a5794e107b880b30780596f219af09f6128e13423036f272d31",
|
|
5092
5106
|
"5f8dd1f06848084c9381e0524397d32847c9c83c2099bc8bf285c2001003ff8c",
|
|
5093
5107
|
"6b2f0bf7d3689a8081ae1287b7a73115e46d0c305b7a648861edfb11a8bf0cb9",
|
|
@@ -5176,6 +5190,7 @@ export const LISA_OWNED_HASH_HISTORY_DERIVED = Object.freeze({
|
|
|
5176
5190
|
"918dccb834291eeabcc947ccd5b6dc9f5c5523370e4dd4f637d071a8ad07e33e",
|
|
5177
5191
|
"92c3de77e2158e86db54876bf9f02ccd51ef892fdd8326ab9107b08044222a6a",
|
|
5178
5192
|
"94453bdae8ab3dd2eba0883c4b278027396090e0bdc8e2f102414abc6415912a",
|
|
5193
|
+
"99eb89df79bdee353136525d273cbb168b5c289f1ef0876120c73bf61d01901a",
|
|
5179
5194
|
"9b14c8864608e8ca390579048229bc0bbaba3094af0b536f1956085295c68af3",
|
|
5180
5195
|
"9c05ccc07c5b97bd7e910e235f2bd7bea9816fe2f5f282091557140c7ef7855e",
|
|
5181
5196
|
"9fa363107aa5ff033f150ff1a1bb5550d286de383b3d1f7b6c2ac2947730c8f2",
|
|
@@ -5608,6 +5623,7 @@ export const LISA_OWNED_HASH_HISTORY_DERIVED = Object.freeze({
|
|
|
5608
5623
|
"88f23c2b0763bc51976bb035011533bb655433f6dbf9ce6efd3278cdd43681ec",
|
|
5609
5624
|
"8a3c46d3501797ebb53a081c8b35e78e0ceb2b060503332b48e44ccc30d6d0df",
|
|
5610
5625
|
"8b3ef61c17d94bdf8eee99e02d396c975a12a8b8a3c2e34231eff6aaea3bf392",
|
|
5626
|
+
"8bc64fc8ba942bf5958988970af40def6dd7d77ca28fa373afb8a44f8a21ff4c",
|
|
5611
5627
|
"8c695c8ee36415fd7212d016cf7960d053bfdcc51129181aac6c2cdfc86d6865",
|
|
5612
5628
|
"8ddd6ca8b29a14434ff287cb7f07c5652efd39649ba5da2d981f153721f26f5a",
|
|
5613
5629
|
"8f2b36bc3fd7a7bde50b43f1cca4d9d2bbd7f6cd690d8766870291272cf077da",
|
|
@@ -5623,6 +5639,7 @@ export const LISA_OWNED_HASH_HISTORY_DERIVED = Object.freeze({
|
|
|
5623
5639
|
"985fbb040eef3c9843f20c300d01ea11a4c578db116c04658e450deafeeef4e4",
|
|
5624
5640
|
"9941f4b52e04534c4a0526ef4deb41c8798db8b963e62f5afca0d248023fbef8",
|
|
5625
5641
|
"9c7b426995048105a34ca8406e8c12ae06fd02294064cdf250238b156117d9a4",
|
|
5642
|
+
"9dbe1d8ba2c9db60ecd1efbe467ee48e16ca26ecb32d08f5f982fbed5ce486e6",
|
|
5626
5643
|
"9de265a5876d56d72e237b97bcb006c11ea4411e51e786b16e1f4b488402bea0",
|
|
5627
5644
|
"9f2be0dcbdba3b42ea89fb8ebd363daf12b6c2709fb05459a9d682ccf5d5c1c6",
|
|
5628
5645
|
"9fd0930e93674df5d1dbb464bf85b6838b9781aadbd68a0e2eca5b48f00381a6",
|
|
@@ -5649,6 +5666,7 @@ export const LISA_OWNED_HASH_HISTORY_DERIVED = Object.freeze({
|
|
|
5649
5666
|
"b5643bb8b2659860fde47aa4fdeade8e4fb473f87416660c32f9bb862e26f368",
|
|
5650
5667
|
"b67b99e08c15aedbb2f1c4246c94106217eb83c5956d07e198f0e90d40893895",
|
|
5651
5668
|
"b922ba883be07b5bef68c3a9e5718bbd41eec7cbf8b2b1c28a7beb8fed38d19d",
|
|
5669
|
+
"ba8b289410a9a8c73afa4cda26a4631712b4a2f2e82eea4b50e50ecc07e7439c",
|
|
5652
5670
|
"baa8ffc248ce29c30d10b579960b34b7836c7d7f47651ced3cbb551dfee65291",
|
|
5653
5671
|
"baabc232fc5020953af42a3474dce8e2670a5e97af0cee4c19f8cb5105879000",
|
|
5654
5672
|
"bdc4ee248108dcb9a714c723df047b953ea5c9cd8fb774338f5fd01e9fbfc1fb",
|