Skip to content

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

test(ci): cover process-static policy changes arming the scripts lane

Steven Enamakel4a7f4ea24757
diff --git a/scripts/__tests__/self-hosted-lanes.test.mjs b/scripts/__tests__/self-hosted-lanes.test.mjs
index 3133369a22..9fc90b8189 100644
--- a/scripts/__tests__/self-hosted-lanes.test.mjs
+++ b/scripts/__tests__/self-hosted-lanes.test.mjs
@@ -695,3 +695,11 @@ test("module boundary policy and checker changes arm their own scripts lane", ()
);
}
});
+
+test("process-static policy and checker changes arm their own scripts lane", () => {
+ const filters = fs.readFileSync(path.join(repoRoot, ".github/ci-paths-filter.yml"), "utf8");
+ const scripts = filters.split(/^scripts:\s*$/m)[1].split(/^\S[^\n]*:/m)[0];
+ for (const file of ["scripts/ci/check-process-statics.mjs", "scripts/ci/process-statics.json"]) {
+ assert.ok(scripts.includes(`'${file}'`), `${file} must arm the scripts area`);
+ }
+});