You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| **Jobs with Retryable Errors** | \`${retryableJobsCount}\` |
285
+
| **Jobs with Code/Test Issues** | \`${failedJobs.length-retryableJobsCount}\` |`;
279
286
280
287
if(priorityCancelled){
281
288
comment+=`
282
-
- ⛔️ **Retry cancelled** due to higher priority request`;
289
+
290
+
### ⛔️ Retry Status: **CANCELLED**
291
+
292
+
> **Reason:** Higher priority request detected - retry has been cancelled to avoid resource conflicts.`;
283
293
}elseif(retryableJobsCount>0){
284
294
comment+=`
285
-
- ✅ **${retryableJobsCount} job(s) have been automatically retried** due to infrastructure issues detected in annotations (runner communication, network timeouts, resource exhaustion, etc.)
286
295
287
-
You can monitor the retry progress in the [Actions tab](${runURL}).`;
296
+
### ✅ Retry Status: **AUTOMATIC RETRY INITIATED**
297
+
298
+
> **${retryableJobsCount} job(s)** have been automatically retried due to infrastructure issues detected in annotations:
299
+
> - Runner communication failures
300
+
> - Network timeouts
301
+
> - Resource exhaustion
302
+
> - Other transient infrastructure problems
303
+
304
+
**📈 Monitor Progress:** [View in Actions](${runURL})`;
288
305
}else{
289
306
comment+=`
290
-
- ❌ **No jobs were retried** because all failures appear to be code or test related issues that require manual fixes.`;
307
+
308
+
### ❌ Retry Status: **NO RETRY NEEDED**
309
+
310
+
> All failures appear to be **code or test related issues** that require manual fixes rather than automatic retries.`;
291
311
}
292
312
293
313
comment+=`
294
314
295
-
**Job Analysis (based on annotations):**
315
+
---
316
+
317
+
### 🔍 Detailed Job Analysis
318
+
296
319
${analyzedJobs.map(job=>{
297
320
if(job.reason.includes('Analysis failed')){
298
-
return`- ${job.name}: ❓ ${job.reason}`;
321
+
return`#### ❓ **${job.name}**
322
+
> **Status:** Analysis failed
323
+
> **Reason:** ${job.reason}`;
299
324
}
300
325
if(job.reason.includes('Cancelled by higher priority')){
301
-
return`- ${job.name}: ⛔️ ${job.reason}`;
326
+
return`#### ⛔️ **${job.name}**
327
+
> **Status:** Cancelled by higher priority request
*This is an automated analysis and retry triggered by the smart retry workflow using job annotations.*`;
349
+
350
+
<details>
351
+
<summary>🤖 About This Analysis</summary>
352
+
353
+
This is an **automated analysis and retry** triggered by the smart retry workflow using job annotations. The system analyzes failure patterns to distinguish between:
0 commit comments