From 34826540587c386907c00ad2d243c04bb4be60e8 Mon Sep 17 00:00:00 2001 From: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Date: Sat, 2 May 2026 19:48:34 +0000 Subject: [PATCH] ci: fold parity into QA release validation --- scripts/check-docker-e2e-boundaries.mjs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/check-docker-e2e-boundaries.mjs b/scripts/check-docker-e2e-boundaries.mjs index 99ef52d0d06..268a9dab3da 100644 --- a/scripts/check-docker-e2e-boundaries.mjs +++ b/scripts/check-docker-e2e-boundaries.mjs @@ -58,6 +58,7 @@ function validateUniqueLanes(label, lanes) { } function validateLane(label, lane) { + const resources = laneResources(lane); if (!lane.name || typeof lane.name !== "string") { errors.push(`${label}: Docker E2E lane is missing a string name`); } @@ -70,7 +71,7 @@ function validateLane(label, lane) { `${label}: Docker E2E lane '${lane.name}' has invalid image kind '${lane.e2eImageKind}'`, ); } - if (lane.live && lane.e2eImageKind) { + if (lane.live && lane.e2eImageKind && !resources.includes("npm")) { errors.push(`${label}: live Docker E2E lane '${lane.name}' must not require a package image`); } if (!lane.live && !lane.e2eImageKind) { @@ -79,7 +80,7 @@ function validateLane(label, lane) { if (laneWeight(lane) < 1) { errors.push(`${label}: Docker E2E lane '${lane.name}' must have positive weight`); } - if (!laneResources(lane).includes("docker")) { + if (!resources.includes("docker")) { errors.push(`${label}: Docker E2E lane '${lane.name}' must include the docker resource`); }