Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(ci): assert rust coverage and submodule tag scripts arm regressions

Steven Enamakel1da0692bbe5e
diff --git a/scripts/__tests__/self-hosted-lanes.test.mjs b/scripts/__tests__/self-hosted-lanes.test.mjs
index 9c4de89cb3..04411ddf25 100644
--- a/scripts/__tests__/self-hosted-lanes.test.mjs
+++ b/scripts/__tests__/self-hosted-lanes.test.mjs
@@ -799,6 +799,12 @@ test("module boundary policy and checker changes arm their own scripts lane", ()
"utf8",
);
const scripts = filters.split(/^scripts:\s*$/m)[1].split(/^\S[^\n]*:/m)[0];
+ for (const file of [
+ "scripts/ci/rust-coverage.sh",
+ "scripts/ci/fetch-submodule-tags.sh",
+ ]) {
+ assert.ok(scripts.includes(`'${file}'`), `${file} must run its regressions`);
+ }
for (const file of [
"scripts/ci/check-module-boundaries.mjs",
"scripts/ci/module-boundaries.json",
@@ -816,6 +822,12 @@ test("process-static policy and checker changes arm their own scripts lane", ()
"utf8",
);
const scripts = filters.split(/^scripts:\s*$/m)[1].split(/^\S[^\n]*:/m)[0];
+ for (const file of [
+ "scripts/ci/rust-coverage.sh",
+ "scripts/ci/fetch-submodule-tags.sh",
+ ]) {
+ assert.ok(scripts.includes(`'${file}'`), `${file} must run its regressions`);
+ }
for (const file of [
"scripts/ci/check-process-statics.mjs",
"scripts/ci/check-crate-chain.mjs",
@@ -938,6 +950,12 @@ test("nextest validation helpers arm Rust validation and script regressions on t
}
}
const scripts = filters.split(/^scripts:\s*$/m)[1].split(/^\S[^\n]*:/m)[0];
+ for (const file of [
+ "scripts/ci/rust-coverage.sh",
+ "scripts/ci/fetch-submodule-tags.sh",
+ ]) {
+ assert.ok(scripts.includes(`'${file}'`), `${file} must run its regressions`);
+ }
assert.ok(
scripts.includes("'scripts/lib/**'"),
"module-pin-inventory.mjs is covered by the shared script library glob",