fix(cicd): expose reconcile timeline state summary

This commit is contained in:
Codex
2026-07-04 02:23:49 +00:00
parent bc681eddf8
commit 5e083e5fc6
4 changed files with 83 additions and 0 deletions
+2
View File
@@ -241,6 +241,7 @@ function compactStateLike(value: Record<string, unknown> | null): Record<string,
totalSeconds: numberOrNull(value.totalSeconds),
timingStatus: stringOrNull(value.timingStatus),
resourceVersion: stringOrNull(metadata?.resourceVersion),
rawStateDiagnostic: asOptionalRecord(value.rawStateDiagnostic),
};
}
@@ -348,6 +349,7 @@ function stateSnapshot(read: K8sStateRead, followerId: string): Record<string, u
totalSeconds: numberOrNull(timings?.totalSeconds),
startedAt: stringOrNull(timings?.startedAt),
updatedAt: stringOrNull(state.updatedAt),
rawStateDiagnostic: asOptionalRecord(state.rawStateDiagnostic),
};
}