We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06a7899 commit e25a08eCopy full SHA for e25a08e
packages/cli-v3/src/entryPoints/managed/execution.ts
@@ -469,10 +469,12 @@ export class RunExecution {
469
470
// Also set or update the attempt number - we do this to detect illegal attempt number changes, e.g. from stalled runners coming back online
471
const attemptNumber = start.data.run.attemptNumber;
472
- if (attemptNumber) {
+ if (attemptNumber && attemptNumber > 0) {
473
this.currentAttemptNumber = attemptNumber;
474
} else {
475
- this.sendDebugLog("ERROR: no attempt number returned from start attempt");
+ this.sendDebugLog("ERROR: invalid attempt number returned from start attempt", {
476
+ attemptNumber: String(attemptNumber),
477
+ });
478
}
479
480
const metrics = this.measureExecutionMetrics({
0 commit comments