@joshuafolkken/kit 1.3092.0 → 1.3099.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/dist/.inputs-verified.json +1 -1
- package/dist/commands/backlog-drive-cli.js +17 -17
- package/dist/commands/backlogrun-cli.js +21 -20
- package/dist/commands/check-related.js +18 -18
- package/dist/commands/{chunk-VXE3V3OC.js → chunk-2CNVIA35.js} +2 -2
- package/dist/commands/{chunk-374XGAWD.js → chunk-36XHHYNU.js} +1 -1
- package/dist/commands/{chunk-W3MDLQZF.js → chunk-3LUPGBW4.js} +1 -1
- package/dist/commands/{chunk-T6OUNP7E.js → chunk-3VLDFM5I.js} +6 -6
- package/dist/commands/{chunk-4K7KLR7L.js → chunk-6AHAY5VZ.js} +1 -1
- package/dist/commands/{chunk-ET6IRQ3L.js → chunk-6FN37DER.js} +3 -3
- package/dist/commands/{chunk-LBMAJDGN.js → chunk-6JD4VNO4.js} +2 -2
- package/dist/commands/{chunk-KD3SEAMV.js → chunk-7HYYHCTN.js} +2 -2
- package/dist/commands/{chunk-4GUGC4IW.js → chunk-7K5ITPHR.js} +2 -2
- package/dist/commands/{chunk-XTJA34ND.js → chunk-7ULYLGUK.js} +10 -10
- package/dist/commands/{chunk-IEKW3ON6.js → chunk-ABM2MZBF.js} +1 -1
- package/dist/commands/{chunk-IOKOHB7P.js → chunk-BBLEC4YQ.js} +1 -1
- package/dist/commands/{chunk-V2T5DP3B.js → chunk-C7FGDZWP.js} +1 -1
- package/dist/commands/{chunk-MHXIJKGP.js → chunk-EHPTXSAT.js} +20 -9
- package/dist/commands/{chunk-PF3PMT2Q.js → chunk-EPICTV2P.js} +1 -1
- package/dist/commands/{chunk-GVDRRBHZ.js → chunk-EVVQJJFV.js} +2 -2
- package/dist/commands/{chunk-NOSG3RUP.js → chunk-F57LACNC.js} +2 -2
- package/dist/commands/{chunk-BAEDHPXW.js → chunk-FA7CN75F.js} +4 -4
- package/dist/commands/{chunk-62NYXZCC.js → chunk-FDASVHZD.js} +1 -1
- package/dist/commands/{chunk-YMAEYY5R.js → chunk-FEYZ575X.js} +1 -1
- package/dist/commands/{chunk-PILH72AV.js → chunk-FTAWHAI7.js} +1 -1
- package/dist/commands/{chunk-MK4CARBI.js → chunk-G3BBCAAH.js} +1 -1
- package/dist/commands/{chunk-Z6QLFPFB.js → chunk-GABDPTDK.js} +4 -4
- package/dist/commands/{chunk-VHLDQ3PH.js → chunk-HHS3LYLV.js} +2 -2
- package/dist/commands/{chunk-EE4VOZJP.js → chunk-HQZ65PJE.js} +3 -3
- package/dist/commands/{chunk-KHGDZQRG.js → chunk-HSZECERZ.js} +2 -2
- package/dist/commands/{chunk-BLUAO4QW.js → chunk-IY3DSDRW.js} +1 -1
- package/dist/commands/{chunk-2XZF3YFY.js → chunk-J2RUI4KN.js} +1 -1
- package/dist/commands/{chunk-2Q7MGFYB.js → chunk-J3PCRUVY.js} +27 -12
- package/dist/commands/{chunk-RDUFVQVJ.js → chunk-JU2MAYQ3.js} +7 -7
- package/dist/commands/{chunk-ZEUKX3RZ.js → chunk-KJPZPTS4.js} +1 -1
- package/dist/commands/{chunk-7E43YW53.js → chunk-MHF6BDQI.js} +1 -1
- package/dist/commands/{chunk-BE6F4YK2.js → chunk-OHN3QARP.js} +10 -10
- package/dist/commands/{chunk-AT46EY7H.js → chunk-OKBZGLD5.js} +1 -1
- package/dist/commands/{chunk-XCCT6GKA.js → chunk-OZN4HOZT.js} +2 -2
- package/dist/commands/{chunk-ZJ5S4VFD.js → chunk-RAQ3E6OT.js} +1 -1
- package/dist/commands/{chunk-XSKJAG72.js → chunk-S5GX3H4P.js} +1 -1
- package/dist/commands/{chunk-HESWKELD.js → chunk-SC57VV6A.js} +1 -1
- package/dist/commands/{chunk-EZYW54OQ.js → chunk-SOETJZWH.js} +221 -118
- package/dist/commands/{chunk-HNFBEB4L.js → chunk-UUA63LCI.js} +1 -1
- package/dist/commands/{chunk-ZGBXUY7R.js → chunk-UZDKCGDC.js} +1 -1
- package/dist/commands/{chunk-B5XYAWNN.js → chunk-VPRQFM2T.js} +1 -1
- package/dist/commands/{chunk-M4WG74Q7.js → chunk-VUCDGQ6Y.js} +1 -1
- package/dist/commands/{chunk-UX3HCPLX.js → chunk-W7X7MZZN.js} +1 -1
- package/dist/commands/{chunk-EN65ZS3S.js → chunk-WORHUJ6T.js} +1 -1
- package/dist/commands/chunk-WRHMYSW7.js +36 -0
- package/dist/commands/{chunk-K5H3CLZZ.js → chunk-YANDBVAT.js} +1 -1
- package/dist/commands/{chunk-GWTBIGYC.js → chunk-YD7XK2TX.js} +1 -1
- package/dist/commands/{chunk-M5HA2ZCG.js → chunk-YT5JR2CB.js} +2 -2
- package/dist/commands/{chunk-EWCUT7U2.js → chunk-Z2NUK47W.js} +1 -1
- package/dist/commands/{chunk-4MGTNY2L.js → chunk-ZI3SABMH.js} +1 -1
- package/dist/commands/{chunk-TTTZZN7F.js → chunk-ZJJLROJY.js} +3 -3
- package/dist/commands/disposition-cli.js +15 -15
- package/dist/commands/git-followup-workflow.js +18 -7
- package/dist/commands/inputs.json +1637 -1632
- package/dist/commands/issue-already-done-cli.js +8 -8
- package/dist/commands/issue-measured-cli.js +9 -9
- package/dist/commands/issue-plan-cli.js +16 -16
- package/dist/commands/issue-premise-unmet-cli.js +8 -8
- package/dist/commands/lane-breakdown-cli.js +17 -17
- package/dist/commands/lane-cli.js +20 -20
- package/dist/commands/lane-measure-cli.js +23 -23
- package/dist/commands/lane-plan-cli.js +15 -15
- package/dist/commands/lane-restart-cli.js +20 -20
- package/dist/commands/lane-why-cli.js +4 -4
- package/dist/commands/lint-parallel-main.js +2 -2
- package/dist/commands/lint-related.js +6 -6
- package/dist/commands/lint-rule.js +2 -2
- package/dist/commands/plan-scaffold-cli.js +20 -20
- package/dist/commands/pre-commit-type-check.js +7 -7
- package/dist/commands/pre-push-unit.js +9 -9
- package/dist/commands/prose-stale-cli.js +5 -5
- package/dist/commands/review-brief-main.js +23 -23
- package/dist/commands/review-pair-cli.js +19 -19
- package/dist/commands/review-record-main.js +19 -19
- package/dist/commands/review-round2-cli.js +4 -4
- package/dist/commands/review-submit-cli.js +23 -23
- package/dist/commands/run-board-main.js +2 -1
- package/dist/commands/run-chain-cli.js +19 -19
- package/dist/commands/run-cut-cli.js +19 -19
- package/dist/commands/run-entry-cli.js +27 -27
- package/dist/commands/run-hold-main.js +7 -7
- package/dist/commands/run-next-cli.js +20 -20
- package/dist/commands/run-park-cli.js +8 -8
- package/dist/commands/run-pause-cli.js +8 -8
- package/dist/commands/run-prep-main.js +20 -20
- package/dist/commands/run-prime-cli.js +10 -10
- package/dist/commands/run-review-cli.js +26 -26
- package/dist/commands/run-ship-cli.js +29 -29
- package/dist/commands/run-ship-evidence-cli.js +4 -4
- package/dist/commands/run-ship-wait-main.js +5 -5
- package/dist/commands/run-split-cli.js +8 -8
- package/dist/commands/run-step-cli.js +27 -27
- package/dist/commands/run-wake-main.js +19 -19
- package/dist/commands/selfcheck-cli.js +8 -8
- package/dist/commands/stop-guard.js +7 -7
- package/dist/commands/test-e2e-guard.js +6 -6
- package/dist/commands/test-pinned-main.js +8 -8
- package/dist/commands/test-reach-cli.js +4 -4
- package/dist/commands/{test-related-Z6YY2GFH.js → test-related-XBDH2IOH.js} +11 -11
- package/dist/commands/test-related-main.js +13 -13
- package/dist/commands/verification-gate.js +17 -17
- package/dist/hooks/inputs.json +571 -570
- package/dist/hooks/stop-guard.js +68 -59
- package/dist/inputs.json +78 -78
- package/package.json +1 -1
- package/scripts/followup/git-followup-finish.ts +16 -1
- package/scripts/gate/verification-inputs.ts +2 -1
- package/scripts/run/board/run-board-layout.ts +9 -4
- package/scripts/run/board/run-board-read.ts +29 -69
- package/scripts/run/board/run-board-render-lanes.ts +26 -9
- package/scripts/run/board/run-board-render-lead.ts +9 -0
- package/scripts/run/board/run-board-root-layout.ts +69 -0
- package/scripts/run/board/run-board-single.ts +69 -4
- package/scripts/run/board/run-board-span-read.ts +85 -0
- package/scripts/run/board/run-board-tick.ts +12 -4
- package/scripts/run/hold/run-hold-ended.ts +50 -0
- package/scripts/test/test-pinned-cache-logic.ts +13 -7
- package/scripts/test/test-pinned-cache.ts +33 -11
- package/scripts/test/test-runner-config.ts +19 -0
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
|
|
17
17
|
// scripts/gate/verification-inputs.ts
|
|
18
18
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
19
|
-
import
|
|
19
|
+
import path3 from "node:path";
|
|
20
20
|
|
|
21
21
|
// eslint/config-fingerprint.js
|
|
22
22
|
import { dirname as __josh_dirname } from "node:path";
|
|
@@ -137,19 +137,28 @@ var config_fingerprint = {
|
|
|
137
137
|
list_reachable_modules
|
|
138
138
|
};
|
|
139
139
|
|
|
140
|
+
// scripts/test/test-runner-config.ts
|
|
141
|
+
import path2 from "node:path";
|
|
142
|
+
var PREFIXES = ["vitest.config.", "vitest.workspace.", "vite.config."];
|
|
143
|
+
function is_config(relative) {
|
|
144
|
+
if (path2.dirname(relative) !== ".") return false;
|
|
145
|
+
return PREFIXES.some((prefix) => relative.startsWith(prefix));
|
|
146
|
+
}
|
|
147
|
+
var test_runner_config = { is_config, PREFIXES };
|
|
148
|
+
|
|
140
149
|
// scripts/gate/verification-inputs.ts
|
|
141
150
|
var GIT_IGNORE = ".gitignore";
|
|
142
151
|
var PRETTIER_IGNORE = ".prettierignore";
|
|
143
152
|
var PRETTIER_IGNORE_FILES = [GIT_IGNORE, PRETTIER_IGNORE];
|
|
144
153
|
var MANIFEST = "package.json";
|
|
145
154
|
var TOOLCHAIN_FILES = /* @__PURE__ */ new Set([
|
|
146
|
-
...toolchain_inputs.PACKAGE_FILES.map((relative) =>
|
|
155
|
+
...toolchain_inputs.PACKAGE_FILES.map((relative) => path3.basename(relative)),
|
|
147
156
|
".editorconfig",
|
|
148
157
|
...PRETTIER_IGNORE_FILES
|
|
149
158
|
]);
|
|
150
159
|
var PRETTIER_CONFIG_PREFIX = ".prettierrc";
|
|
151
160
|
var COMPILER_CONFIG_PREFIXES = ["tsconfig", "svelte.config."];
|
|
152
|
-
var TEST_CONFIG_PREFIXES = [...COMPILER_CONFIG_PREFIXES,
|
|
161
|
+
var TEST_CONFIG_PREFIXES = [...COMPILER_CONFIG_PREFIXES, ...test_runner_config.PREFIXES];
|
|
153
162
|
var LINT_CONFIG_PREFIXES = ["eslint.config.", "prettier.config.", ...COMPILER_CONFIG_PREFIXES];
|
|
154
163
|
var LINT_CONFIG_DIRECTORIES = /* @__PURE__ */ new Set(["prettier", "tsconfig"]);
|
|
155
164
|
var SOURCE_EXTENSIONS = /* @__PURE__ */ new Set([
|
|
@@ -170,7 +179,7 @@ var MARKDOWN_EXTENSION = ".md";
|
|
|
170
179
|
var COMMON_ENV = ["NODE_ENV"];
|
|
171
180
|
var ABSENT = "absent";
|
|
172
181
|
function is_source(relative) {
|
|
173
|
-
return SOURCE_EXTENSIONS.has(
|
|
182
|
+
return SOURCE_EXTENSIONS.has(path3.extname(relative));
|
|
174
183
|
}
|
|
175
184
|
async function is_lint_input(relative, is_ignored) {
|
|
176
185
|
if (is_source(relative)) return true;
|
|
@@ -181,14 +190,14 @@ async function is_source_input(relative) {
|
|
|
181
190
|
return is_source(relative);
|
|
182
191
|
}
|
|
183
192
|
async function is_metrics_input(relative) {
|
|
184
|
-
return is_source(relative) ||
|
|
193
|
+
return is_source(relative) || path3.extname(relative) === MARKDOWN_EXTENSION;
|
|
185
194
|
}
|
|
186
195
|
function configures_toolchain(relative) {
|
|
187
|
-
const name =
|
|
196
|
+
const name = path3.basename(relative);
|
|
188
197
|
return TOOLCHAIN_FILES.has(name) || name.startsWith(PRETTIER_CONFIG_PREFIX);
|
|
189
198
|
}
|
|
190
199
|
function names_any(relative, prefixes) {
|
|
191
|
-
const name =
|
|
200
|
+
const name = path3.basename(relative);
|
|
192
201
|
return configures_toolchain(relative) || prefixes.some((prefix) => name.startsWith(prefix));
|
|
193
202
|
}
|
|
194
203
|
function configures_compiler(relative) {
|
|
@@ -200,7 +209,7 @@ function configures_tests(relative) {
|
|
|
200
209
|
function read_lint_config_modules(root) {
|
|
201
210
|
const entries = config_fingerprint.list_config_entries(root);
|
|
202
211
|
const modules = [...config_fingerprint.list_reachable_modules(entries)];
|
|
203
|
-
return new Set(modules.map((file) =>
|
|
212
|
+
return new Set(modules.map((file) => path3.relative(root, file).split(path3.sep).join("/")));
|
|
204
213
|
}
|
|
205
214
|
var lint_config_modules_by_root = /* @__PURE__ */ new Map();
|
|
206
215
|
function lint_config_modules(root) {
|
|
@@ -269,7 +278,7 @@ function configures(label, relatives, root = PROJECT_ROOT) {
|
|
|
269
278
|
function tool_version(root, tool) {
|
|
270
279
|
try {
|
|
271
280
|
const manifest = JSON.parse(
|
|
272
|
-
readFileSync2(
|
|
281
|
+
readFileSync2(path3.join(root, "node_modules", tool, MANIFEST), "utf8")
|
|
273
282
|
);
|
|
274
283
|
return typeof manifest === "object" && manifest !== null && "version" in manifest ? String(manifest.version) : ABSENT;
|
|
275
284
|
} catch {
|
|
@@ -300,5 +309,7 @@ var verification_inputs = {
|
|
|
300
309
|
};
|
|
301
310
|
|
|
302
311
|
export {
|
|
312
|
+
config_fingerprint,
|
|
313
|
+
test_runner_config,
|
|
303
314
|
verification_inputs
|
|
304
315
|
};
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-W6MVQEMO.js";
|
|
10
10
|
import {
|
|
11
11
|
review_interaction
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BBLEC4YQ.js";
|
|
13
13
|
import {
|
|
14
14
|
review_diff_parts
|
|
15
15
|
} from "./chunk-MY3RSOS5.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-URZ4RDC4.js";
|
|
26
26
|
import {
|
|
27
27
|
review_stamps
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-S5GX3H4P.js";
|
|
29
29
|
import {
|
|
30
30
|
file_map_stamp
|
|
31
31
|
} from "./chunk-M32UPB2D.js";
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
} from "./chunk-N4EMFHQ6.js";
|
|
7
7
|
import {
|
|
8
8
|
related_scope
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KJPZPTS4.js";
|
|
10
10
|
import {
|
|
11
11
|
run_ship_lap
|
|
12
12
|
} from "./chunk-HRN73FQJ.js";
|
|
13
13
|
import {
|
|
14
14
|
tree_verdict
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OZN4HOZT.js";
|
|
16
16
|
import {
|
|
17
17
|
scoped_green
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MHF6BDQI.js";
|
|
19
19
|
import {
|
|
20
20
|
test_unit_guard
|
|
21
21
|
} from "./chunk-KWLNK2NJ.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./chunk-VCWNMRH7.js";
|
|
25
25
|
import {
|
|
26
26
|
review_stamps
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-S5GX3H4P.js";
|
|
28
28
|
import {
|
|
29
29
|
gate_tree
|
|
30
30
|
} from "./chunk-R36VZIKU.js";
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
test_pinned,
|
|
3
3
|
test_pinned_ledger,
|
|
4
4
|
test_pinned_record
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-J3PCRUVY.js";
|
|
6
6
|
import {
|
|
7
7
|
run_ship_planned
|
|
8
8
|
} from "./chunk-PKXTISWR.js";
|
|
9
9
|
import {
|
|
10
10
|
gate_skip
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-F57LACNC.js";
|
|
12
12
|
import {
|
|
13
13
|
test_pinned_logic
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RAQ3E6OT.js";
|
|
15
15
|
import {
|
|
16
16
|
review_finding_ledger
|
|
17
17
|
} from "./chunk-KVURNO74.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk-QXBOECGL.js";
|
|
21
21
|
import {
|
|
22
22
|
review_stamps
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-S5GX3H4P.js";
|
|
24
24
|
import {
|
|
25
25
|
gate_tree,
|
|
26
26
|
review_tree
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
} from "./chunk-N4EMFHQ6.js";
|
|
7
7
|
import {
|
|
8
8
|
test_pinned_logic
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RAQ3E6OT.js";
|
|
10
10
|
import {
|
|
11
11
|
test_pinned_reach
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6FN37DER.js";
|
|
13
13
|
import {
|
|
14
14
|
related_scope
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-KJPZPTS4.js";
|
|
16
16
|
import {
|
|
17
17
|
test_declared_logic
|
|
18
18
|
} from "./chunk-7HCPRVMB.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
test_related
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JU2MAYQ3.js";
|
|
4
4
|
import {
|
|
5
5
|
test_unit_guard
|
|
6
6
|
} from "./chunk-KWLNK2NJ.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-M32UPB2D.js";
|
|
20
20
|
import {
|
|
21
21
|
verification_inputs
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-EHPTXSAT.js";
|
|
23
23
|
import {
|
|
24
24
|
NOTHING_TO_CHECK_MARKER,
|
|
25
25
|
NOT_USED_MARKER
|
|
@@ -10,17 +10,17 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
test_pinned_logic,
|
|
12
12
|
test_pinned_stage
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-RAQ3E6OT.js";
|
|
14
14
|
import {
|
|
15
15
|
test_pinned_cache_logic,
|
|
16
16
|
test_pinned_reach
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6FN37DER.js";
|
|
18
18
|
import {
|
|
19
19
|
related_scope
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-KJPZPTS4.js";
|
|
21
21
|
import {
|
|
22
22
|
review_code_tree
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-FDASVHZD.js";
|
|
24
24
|
import {
|
|
25
25
|
test_unit_guard
|
|
26
26
|
} from "./chunk-KWLNK2NJ.js";
|
|
@@ -30,6 +30,10 @@ import {
|
|
|
30
30
|
import {
|
|
31
31
|
run_record_path
|
|
32
32
|
} from "./chunk-WL5JHB3I.js";
|
|
33
|
+
import {
|
|
34
|
+
config_fingerprint,
|
|
35
|
+
test_runner_config
|
|
36
|
+
} from "./chunk-EHPTXSAT.js";
|
|
33
37
|
import {
|
|
34
38
|
import_graph
|
|
35
39
|
} from "./chunk-4IDINPBE.js";
|
|
@@ -390,9 +394,9 @@ async function contents_of(files) {
|
|
|
390
394
|
const texts = await Promise.all(existing.map(async (file) => await readFile(file, "utf8")));
|
|
391
395
|
return new Map(existing.map((file, index) => [file, texts[index] ?? ""]));
|
|
392
396
|
}
|
|
393
|
-
async function
|
|
397
|
+
async function work_tree_files(is_kept) {
|
|
394
398
|
const listed = await test_pinned_reach.work_tree_files();
|
|
395
|
-
return listed.filter((file) =>
|
|
399
|
+
return listed.filter((file) => is_kept(file));
|
|
396
400
|
}
|
|
397
401
|
async function digests_of(files) {
|
|
398
402
|
const contents = await contents_of(files);
|
|
@@ -400,8 +404,15 @@ async function digests_of(files) {
|
|
|
400
404
|
[...contents].map(([file, text]) => [file, test_pinned_cache_logic.digest_of(text)])
|
|
401
405
|
);
|
|
402
406
|
}
|
|
403
|
-
async function
|
|
404
|
-
return await digests_of(await
|
|
407
|
+
async function kept_digests_of(is_kept) {
|
|
408
|
+
return await digests_of(await work_tree_files(is_kept));
|
|
409
|
+
}
|
|
410
|
+
async function config_digests_of() {
|
|
411
|
+
const configs = await work_tree_files((file) => test_runner_config.is_config(file));
|
|
412
|
+
const reached = config_fingerprint.list_reachable_modules(
|
|
413
|
+
configs.map((file) => path2.resolve(file))
|
|
414
|
+
);
|
|
415
|
+
return await digests_of([...reached].map((file) => path2.relative(process.cwd(), file)));
|
|
405
416
|
}
|
|
406
417
|
function contents_digest(digests) {
|
|
407
418
|
return test_pinned_cache_logic.test_set_of(
|
|
@@ -419,10 +430,14 @@ async function code_change(base) {
|
|
|
419
430
|
return { commit: commit.trim(), code, digests: await digests_of(code) };
|
|
420
431
|
}
|
|
421
432
|
async function read_tree(base) {
|
|
422
|
-
const [test_digests, code] = await Promise.all([
|
|
423
|
-
|
|
433
|
+
const [test_digests, configs, code] = await Promise.all([
|
|
434
|
+
kept_digests_of((file) => test_declared_logic.is_test_file(file)),
|
|
435
|
+
config_digests_of(),
|
|
436
|
+
code_change(base)
|
|
437
|
+
]);
|
|
438
|
+
const test_contents = contents_digest(new Map([...test_digests, ...configs]));
|
|
424
439
|
const change = test_pinned_cache_logic.change_of(code.commit, code.code, code.digests);
|
|
425
|
-
return { test_digests, code, test_contents, change };
|
|
440
|
+
return { test_digests, code, config: contents_digest(configs), test_contents, change };
|
|
426
441
|
}
|
|
427
442
|
async function read_all(file, base, hunks) {
|
|
428
443
|
const text = await read_text(file);
|
|
@@ -445,7 +460,7 @@ async function load(base, hunks, cache_file) {
|
|
|
445
460
|
async function basis_of(cache, probe, file) {
|
|
446
461
|
if (probe.verdict !== "red") {
|
|
447
462
|
const tests = await cache.reach.related(file);
|
|
448
|
-
return tests && test_pinned_cache_logic.related_basis(tests, cache.test_digests);
|
|
463
|
+
return tests && test_pinned_cache_logic.related_basis(tests, cache.test_digests, cache.config);
|
|
449
464
|
}
|
|
450
465
|
const digest = await cache.reach.failed(probe.failed);
|
|
451
466
|
return digest === void 0 ? void 0 : { digest };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
test_related_touched,
|
|
3
3
|
test_related_verdict
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FA7CN75F.js";
|
|
5
5
|
import {
|
|
6
6
|
test_related_cap
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HQZ65PJE.js";
|
|
8
8
|
import {
|
|
9
9
|
related_heavy_tests
|
|
10
10
|
} from "./chunk-MNLHYAJO.js";
|
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
} from "./chunk-N4EMFHQ6.js";
|
|
14
14
|
import {
|
|
15
15
|
test_pinned_reach
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6FN37DER.js";
|
|
17
17
|
import {
|
|
18
18
|
pure_files_entries,
|
|
19
19
|
related_scope
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-KJPZPTS4.js";
|
|
21
21
|
import {
|
|
22
22
|
whole_suite_files
|
|
23
23
|
} from "./chunk-WEUUJIWQ.js";
|
|
24
24
|
import {
|
|
25
25
|
scoped_green
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-MHF6BDQI.js";
|
|
27
27
|
import {
|
|
28
28
|
test_unit_guard
|
|
29
29
|
} from "./chunk-KWLNK2NJ.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
} from "./chunk-GDP7QXYE.js";
|
|
33
33
|
import {
|
|
34
34
|
since_green
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-6AHAY5VZ.js";
|
|
36
36
|
import {
|
|
37
37
|
moved_paths
|
|
38
38
|
} from "./chunk-PBAEJ5PT.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-B2PJEV3S.js";
|
|
42
42
|
import {
|
|
43
43
|
review_stamps
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-S5GX3H4P.js";
|
|
45
45
|
import {
|
|
46
46
|
gate_tree
|
|
47
47
|
} from "./chunk-R36VZIKU.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-NVMV7BYX.js";
|
|
13
13
|
import {
|
|
14
14
|
removed_tests_check
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WORHUJ6T.js";
|
|
16
16
|
import {
|
|
17
17
|
live_evidence
|
|
18
18
|
} from "./chunk-HALHQILI.js";
|
|
@@ -37,19 +37,19 @@ import {
|
|
|
37
37
|
import {
|
|
38
38
|
gate_ledger,
|
|
39
39
|
whole_tree_reuse
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-6JD4VNO4.js";
|
|
41
41
|
import {
|
|
42
42
|
check_reuse
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-HSZECERZ.js";
|
|
44
44
|
import {
|
|
45
45
|
test_related_synced
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-JU2MAYQ3.js";
|
|
47
47
|
import {
|
|
48
48
|
gate_skip
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-F57LACNC.js";
|
|
50
50
|
import {
|
|
51
51
|
related_scope
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-KJPZPTS4.js";
|
|
53
53
|
import {
|
|
54
54
|
whole_suite_files
|
|
55
55
|
} from "./chunk-WEUUJIWQ.js";
|
|
@@ -64,16 +64,16 @@ import {
|
|
|
64
64
|
} from "./chunk-HEFUC4ZW.js";
|
|
65
65
|
import {
|
|
66
66
|
scoped_green
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-MHF6BDQI.js";
|
|
68
68
|
import {
|
|
69
69
|
since_green
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-6AHAY5VZ.js";
|
|
71
71
|
import {
|
|
72
72
|
test_read_map
|
|
73
73
|
} from "./chunk-B2PJEV3S.js";
|
|
74
74
|
import {
|
|
75
75
|
review_stamps
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-S5GX3H4P.js";
|
|
77
77
|
import {
|
|
78
78
|
gate_tree
|
|
79
79
|
} from "./chunk-R36VZIKU.js";
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
} from "./chunk-WL5JHB3I.js";
|
|
86
86
|
import {
|
|
87
87
|
verification_inputs
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-EHPTXSAT.js";
|
|
89
89
|
import {
|
|
90
90
|
changed_file_scope
|
|
91
91
|
} from "./chunk-QX2EMUXV.js";
|