We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adfd897 commit 90fafcdCopy full SHA for 90fafcd
PoolManager.cs
@@ -490,6 +490,13 @@ private async Task CheckForStuckJobs(List<GithubTargetConfiguration> targetConfi
490
{
491
_logger.LogWarning($"GHjob for {stuckJob.JobId} is null");
492
}
493
+ else if (ghJob.Status == "completed")
494
+ {
495
+ _logger.LogWarning($"GHjob status for {stuckJob.JobId} is {ghJob.Status} - Marking job accordingly");
496
+ stuckJob.State = JobState.Completed;
497
+ stuckJob.CompleteTime = DateTime.UtcNow;
498
+ await db.SaveChangesAsync();
499
+ }
500
else if (ghJob.Status != "queued")
501
502
_logger.LogWarning($"GHjob status for {stuckJob.JobId} is {ghJob.Status}");
0 commit comments