Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions app_dart/lib/src/request_handlers/rerun_prod_task.dart
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,10 @@ final class RerunProdTask extends ApiRequestHandler {
// waiting for the task to be complete, we'd need a different strategy
// (i.e. multiple tasks per release builder, versus one).
if (!task.status.isComplete) {
log.info(
'Refused to re-run "${task.taskName}" (status: ${task.status}) - '
'attempt ${task.currentAttempt} already in progress',
);
throw const BadRequestException(
'Cannot rerun a release builder that is not done running',
);
Expand Down