also looking at this
fix: report skipped gates as skipped, and honour ai.majorUpgrades.maxAttempts
#1433
9 files
+257
-8
| @@ -3029,7 +3029,7 @@ cli | ||
| 3029 | 3029 | } |
| 3030 | 3030 | |
| 3031 | 3031 | const provider = await providerFor(config, 'running gates', logger) |
| 3032 | const { findLinkedIssues, runAiGates, runGates, summarizeGates } = await import('../src/gates') | |
| 3032 | const { findLinkedIssues, runAiGates, runGates, gateIcon, summarizeGates } = await import('../src/gates') | |
| 3033 | 3033 | const { parseManifest } = await import('../src/pr/pr-manifest') |
| 3034 | 3034 | |
| 3035 | 3035 | const prs = await provider.getPullRequests('open') |
| @@ -3105,7 +3105,7 @@ cli | ||
| 3105 | 3105 | const summary = summarizeGates(results) |
| 3106 | 3106 | |
| 3107 | 3107 | for (const result of results) |
| 3108 | logger.info(`${result.passed ? '✅' : result.mode === 'error' ? '❌' : '⚠️'} ${result.name}: ${result.summary}`) | |
| 3108 | logger.info(`${gateIcon(result)} ${result.name}: ${result.summary}`) | |
| 3109 | 3109 | |
| 3110 | 3110 | const blocking = summary.conclusion === 'failure' |
| 3111 | 3111 | |