fix: treat idle monitor progress as healthy

This commit is contained in:
Codex
2026-06-04 12:48:43 +00:00
parent 4cbe3a03f4
commit e19c77fd86
+1
View File
@@ -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`);