fix: keep branch follower reuse status compact

This commit is contained in:
Codex
2026-07-03 20:49:57 +00:00
parent b0cb23b0e0
commit 197a883ca0
4 changed files with 22 additions and 25 deletions
+1 -15
View File
@@ -102,21 +102,7 @@ export function summarizeRuntimeReuseConfig(config: RuntimeReuseConfig | null):
stageRef: config.stageRef,
sha256: config.sha256,
serviceCount: config.serviceCount,
services: config.services.map((service) => ({
id: service.id,
runtimeReuse: service.runtimeReuse === null ? null : {
enabled: service.runtimeReuse.enabled,
codeIdentityPathCount: service.runtimeReuse.codeIdentityPaths.length,
envIdentityPathCount: service.runtimeReuse.envIdentityPaths.length,
},
envReuse: service.envReuse === null ? null : {
enabled: service.envReuse.enabled,
mode: service.envReuse.mode,
nodeDepsPath: service.envReuse.nodeDepsPath,
envIdentityFileCount: service.envReuse.envIdentityFiles.length,
buildArgNames: Object.keys(service.envReuse.buildArgs).sort(),
},
})),
serviceIds: config.services.map((service) => service.id).sort(),
errors: config.errors.slice(0, 5),
valuesRedacted: true,
};