Skip to content

Commit 137225c

Browse files
authored
Add a log statement when a dart-internal re-run occurs but won't succeed. (#4690)
Towards flutter/flutter#168905. Haven't had the chance to dig further yet, but should help for next time.
1 parent fe84d6f commit 137225c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

app_dart/lib/src/request_handlers/rerun_prod_task.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,10 @@ final class RerunProdTask extends ApiRequestHandler {
252252
// waiting for the task to be complete, we'd need a different strategy
253253
// (i.e. multiple tasks per release builder, versus one).
254254
if (!task.status.isComplete) {
255+
log.info(
256+
'Refused to re-run "${task.taskName}" (status: ${task.status}) - '
257+
'attempt ${task.currentAttempt} already in progress',
258+
);
255259
throw const BadRequestException(
256260
'Cannot rerun a release builder that is not done running',
257261
);

0 commit comments

Comments
 (0)