fix: add dev artifact entrypoints

This commit is contained in:
HWLAB Code Queue
2026-05-21 18:07:40 +00:00
parent ef35856bb0
commit 8807296d7d
12 changed files with 483 additions and 103 deletions
+5
View File
@@ -17,6 +17,7 @@ const digestPattern = /^sha256:[a-f0-9]{64}$/;
const mutableTags = new Set(["latest", "dev", "main", "master", "prod", "production"]);
const catalogModes = new Set(["contract-skeleton", "published"]);
const skeletonProvenances = new Set(["not_available_in_mvp_skeleton", "not_available_until_publish"]);
const sourceStates = new Set(["source-present", "intentionally-disabled"]);
const requiredForbiddenItems = [
"prod-deploy",
"prod-profile-enabled",
@@ -156,6 +157,10 @@ function assertCatalogServices(catalog, deployManifest, catalogMode) {
assert.equal(service.namespace, deployService.namespace, `${context} namespace must match deploy manifest`);
assert.equal(service.healthPath, catalog.healthContract.path, `${context} healthPath`);
assert.equal(service.healthPath, deployService.healthPath, `${context} healthPath must match deploy manifest`);
assert.ok(sourceStates.has(service.sourceState), `${context} sourceState must be source-present or intentionally-disabled`);
if (service.sourceState === "intentionally-disabled") {
assert.equal(deployService.replicas, 0, `${context} intentionally-disabled services must have zero deploy replicas`);
}
if (catalogMode === "contract-skeleton") {
assert.equal(service.publishState, "skeleton-only", `${context} publishState`);
assert.equal(service.digest, "not_published", `${context} digest`);