fix(cicd): expose reconcile timeline state summary
This commit is contained in:
@@ -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),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user