diff --git a/scripts/artifact-publish.mjs b/scripts/artifact-publish.mjs index 077880d0..43b31a3b 100644 --- a/scripts/artifact-publish.mjs +++ b/scripts/artifact-publish.mjs @@ -990,29 +990,8 @@ async function buildService({ args, repo, commitId, shortCommit, service, buildC }; } - const distFreshness = await inspectCloudWebDistFreshness(path.join(repoRoot, "web/hwlab-cloud-web")); - if (distFreshness.status !== "pass") { - return { - ...service, - image: ref, - imageTag: tag, - buildCreatedAt, - buildSource, - status: "build_failed", - digest: "not_published", - distFreshness, - blocker: blocker({ - type: "contract_blocker", - scope: service.serviceId, - summary: `cloud web dist is stale or incomplete before BuildKit image build: ${distFreshness.mismatches.join(", ")}`, - next: "Run bun run --cwd web/hwlab-cloud-web build and bun run --cwd web/hwlab-cloud-web check before publishing hwlab-cloud-web." - }) - }; - } - service = { ...service, - distFreshness, cloudWebCheckDurationMs: check.durationMs }; }