fix(cicd): 收紧 PaC admission 更新与探针

This commit is contained in:
Codex
2026-07-12 00:04:24 +02:00
parent eb865325ca
commit 810191d07a
5 changed files with 43 additions and 14 deletions
+6 -1
View File
@@ -400,6 +400,11 @@ function extractPacSourceObservation(recordsInput) {
reason = "delivery-terminal-evidence-incomplete";
}
const planMarkerSource = plan?.event === "pac-delivery-plan"
? "pac-delivery-plan-structured-log"
: plan?.event === "g14-ci-plan"
? "g14-ci-plan-structured-log"
: "delivery-plan-structured-log";
return {
schemaVersion: "v1",
contract: plan?.event === "pac-delivery-plan" ? "pac-delivery-plan-v1" : "hwlab-g14-ci-plan",
@@ -419,7 +424,7 @@ function extractPacSourceObservation(recordsInput) {
gitopsPromote: promoteMarker !== null ? "no-build-no-rollout-plan" : promoteTask?.status || "missing",
},
terminalSources: {
planArtifacts: terminalSource(planTask, plan, "observed", "g14-ci-plan-structured-log"),
planArtifacts: terminalSource(planTask, plan, "observed", planMarkerSource),
collectArtifacts: terminalSource(collectTask, collectMarker),
gitopsPromote: terminalSource(promoteTask, promoteMarker),
},