feat: migrate todo note to nc01 github storage

This commit is contained in:
Codex
2026-07-10 03:47:30 +02:00
parent e11c140b09
commit 0184bd7334
57 changed files with 3738 additions and 350 deletions
+8
View File
@@ -280,6 +280,14 @@ export function resolveCatalogArtifact(serviceId: string): CiCatalogArtifact {
return artifact;
}
export function assertUserServicePublishProducer(artifact: CiSourceBuildCatalogArtifact): void {
if (artifact.producer === "ci publish-user-service") return;
if (artifact.producer === "platform-infra pipelines-as-code") {
throw new Error(`${artifact.serviceId} is produced by platform-infra pipelines-as-code; use bun scripts/cli.ts platform-infra pipelines-as-code plan --target NC01 --consumer unidesk-host`);
}
throw new Error(`${artifact.serviceId} is produced by ${artifact.producer}; use the owning producer command`);
}
export function blockedArtifactResult(artifact: CiUpstreamImageCatalogArtifact | CiSourceBuildCatalogArtifact, commit: string, note: string): Record<string, unknown> {
const base = {
ok: false,