fix: treat idle monitor progress as healthy
This commit is contained in:
@@ -447,6 +447,7 @@ function jobProgressWarnings(input: {
|
||||
lastEventAgeSeconds: number | null;
|
||||
}): string[] {
|
||||
if (input.job.status !== "running") return [];
|
||||
if (input.stage === "idle" && input.stageStatus === "waiting") return [];
|
||||
const warnings: string[] = [];
|
||||
if (input.eventsObserved === 0 && (input.elapsedSeconds ?? 0) >= 30) {
|
||||
warnings.push(`running for ${input.elapsedSeconds}s without progress events; inspect stdoutTail/stderrTail and fullLogPaths`);
|
||||
|
||||
Reference in New Issue
Block a user