fix(pac): 收敛 HWLAB runtime GitOps 脚本体积

This commit is contained in:
Codex
2026-07-13 22:09:36 +02:00
parent d439f4cd29
commit 0e431e275e
6 changed files with 102 additions and 13 deletions
+2
View File
@@ -651,6 +651,7 @@ export interface HwlabRuntimePipelineProvenanceSpec {
readonly configRef: string;
readonly renderer: "hwlab-runtime-lane";
readonly mode: "remote-pipeline-annotation";
readonly maxInlineScriptBytes: number;
}
export interface HwlabRuntimeLaneSpec {
@@ -1083,6 +1084,7 @@ export function parseHwlabRuntimePipelineProvenance(
configRef,
renderer: enumStringField(raw, "renderer", path, ["hwlab-runtime-lane"]),
mode: enumStringField(raw, "mode", path, ["remote-pipeline-annotation"]),
maxInlineScriptBytes: boundedIntegerField(raw, "maxInlineScriptBytes", path, 1024, 131072),
};
}