diff --git a/server/src/services/recovery/service.ts b/server/src/services/recovery/service.ts index 6fd538aefd8..f40d87ff929 100644 --- a/server/src/services/recovery/service.ts +++ b/server/src/services/recovery/service.ts @@ -188,7 +188,7 @@ function isUnsuccessfulTerminalIssueRun(latestRun: LatestIssueRun) { ); } -function isSuccessfulInProgressContinuationRun(latestRun: LatestIssueRun) { +function isSuccessfulInProgressContinuationRun(latestRun: LatestIssueRun): latestRun is NonNullable { return latestRun?.status === "succeeded"; }