fix: read v03 boot scripts for env reuse render

This commit is contained in:
lyon
2026-06-14 14:16:36 +08:00
parent 56fcdb8c42
commit a3290b5b23
+2 -1
View File
@@ -1067,7 +1067,8 @@ function transformWorkloads({ workloads, deploy, catalog, source, sourceBranch =
if (!deployService) continue;
const artifact = runtimeArtifactForService({ catalog, deploy, serviceId, source, registryPrefix, useDeployImages, digestPin, envReuseServiceIds });
const envReuse = runtimeLane && v02EnvReuseEnabled(catalog, serviceId, envReuseServiceIds);
const bootMetadata = envReuse ? bootMetadataForService({ args: { sourceRepo: deploy?.lanes?.[profile]?.sourceRepo || defaultSourceRepo, registryPrefix }, catalog, deployService, serviceId, source }) : null;
const bootDeployService = envReuse ? deployServiceForBoot(deploy, serviceId, profile) : null;
const bootMetadata = envReuse ? bootMetadataForService({ args: { sourceRepo: deploy?.lanes?.[profile]?.sourceRepo || defaultSourceRepo, registryPrefix }, catalog, deployService: bootDeployService, serviceId, source }) : null;
const image = artifact.image;
const runtimeCommit = artifact.commit;
const runtimeImageTag = artifact.imageTag;