ci: shard release live validation

This commit is contained in:
Peter Steinberger
2026-04-27 14:24:00 +01:00
parent f6bda8d36b
commit 2243a68a1d
11 changed files with 324 additions and 13 deletions

View File

@@ -66,6 +66,36 @@ describe("scripts/test-docker-all scheduler", () => {
).toBe(false);
});
it("can co-schedule the split installer provider lanes", () => {
expect(
canStartSchedulerLane(
{
name: "install-e2e-anthropic",
resources: ["npm", "service"],
weight: 3,
},
activePool({
count: 1,
resources: {
docker: 3,
npm: 3,
service: 3,
},
weight: 3,
}),
10,
{
resourceLimits: {
docker: 10,
npm: 10,
service: 7,
},
weightLimit: 10,
},
),
).toBe(true);
});
it("preserves the parallelism count cap", () => {
expect(
canStartSchedulerLane(