fix: expose argo closeout reasons

This commit is contained in:
Codex
2026-07-03 18:59:30 +00:00
parent 9b158e2595
commit 979bd33a72
6 changed files with 45 additions and 1 deletions
+5
View File
@@ -315,7 +315,12 @@ function compactStatusGates(payload: Record<string, unknown> | null): Record<str
argo: argo === null ? null : {
syncStatus: stringOrNull(argo.syncStatus),
healthStatus: stringOrNull(argo.healthStatus),
healthMessage: stringOrNull(argo.healthMessage),
revision: stringOrNull(argo.revision),
operationPhase: stringOrNull(argo.operationPhase),
operationMessage: stringOrNull(argo.operationMessage),
conditions: Array.isArray(argo.conditions) ? argo.conditions.slice(0, 5) : [],
nonReadyResources: Array.isArray(argo.nonReadyResources) ? argo.nonReadyResources.slice(0, 5) : [],
ready: argo.ready === true,
},
runtime: runtime === null ? null : {