ci: keep heavy plugin sweeps release-only

This commit is contained in:
Peter Steinberger
2026-04-29 06:49:00 +01:00
parent cfcb8f4eda
commit fda8cc2a9d
5 changed files with 30 additions and 7 deletions

View File

@@ -276,6 +276,13 @@ describe("scripts/lib/ci-node-test-plan.mjs", () => {
);
});
it("keeps expensive plugin shards release-only when normal CI asks for the cheaper plan", () => {
const shards = createNodeTestShards({ includeReleaseOnlyPluginShards: false });
expect(shards.some((shard) => shard.shardName === "agentic-plugins")).toBe(false);
expect(shards.some((shard) => shard.shardName === "agentic-plugin-sdk")).toBe(true);
});
it("splits auto-reply into balanced core/top-level and reply subtree shards", () => {
const shards = createNodeTestShards();
const autoReplyShards = shards