ci: split startup and shrinkwrap checks

This commit is contained in:
Peter Steinberger
2026-05-31 15:55:43 -04:00
parent 7aa309319f
commit d62bfab946
5 changed files with 42 additions and 5 deletions

View File

@@ -513,7 +513,10 @@ describe("scripts/lib/ci-node-test-plan.mjs", () => {
"agentic-control-plane-runtime-shared-token",
"agentic-control-plane-runtime-state",
"agentic-control-plane-runtime-ui-tools",
"agentic-control-plane-startup-runtime",
"agentic-control-plane-startup-config",
"agentic-control-plane-startup-core",
"agentic-control-plane-startup-health-runtime",
"agentic-control-plane-startup-restart-close",
]);
expect(controlPlaneShards).toEqual(
controlPlaneShards.map((shard) => ({

View File

@@ -123,11 +123,16 @@ describe("ci workflow guards", () => {
const workflow = readFileSync(".github/workflows/ci.yml", "utf8");
const preflightGuards = workflow.slice(
workflow.indexOf("guards)"),
workflow.indexOf("shrinkwrap)"),
);
const shrinkwrapGuards = workflow.slice(
workflow.indexOf("shrinkwrap)"),
workflow.indexOf("prod-types)"),
);
expect(workflow).toContain("check-guards");
expect(preflightGuards).toContain("pnpm deps:shrinkwrap:check");
expect(workflow).toContain("check-shrinkwrap");
expect(shrinkwrapGuards).toContain("pnpm deps:shrinkwrap:check");
expect(preflightGuards).toContain("pnpm deps:patches:check");
});