()
| 421 | age: problem.relative || 'unknown', |
| 422 | evidence: null, |
| 423 | }); |
| 424 | } |
| 425 | } |
| 426 | |
| 427 | const capsule = snapshot.operatorArtifacts && snapshot.operatorArtifacts.approvalCapsule; |
| 428 | if (capsule && capsule.path && capsule.stale === false) { |
| 429 | items.push({ |
| 430 | kind: 'approval', |
| 431 | severity: 'action', |
| 432 | title: capsule.request || 'Approval requested', |
| 433 | detail: `risk: ${capsule.risk || 'unstated'} · boundary: ${capsule.boundary || 'unstated'}`, |
| 434 | age: capsule.freshness || 'unknown', |
| 435 | evidence: capsule.path, |
| 436 | }); |
| 437 | } |
| 438 | |
| 439 | const pending = snapshot.pending || {}; |
| 440 | if (pending.mergeReviews > 0) { |
| 441 | items.push({ |
| 442 | kind: 'merge-review', |
| 443 | severity: 'action', |
| 444 | title: `${pending.mergeReviews} fleet merge review${pending.mergeReviews === 1 ? '' : 's'} waiting`, |
| 445 | detail: 'fleet merge queue', |
| 446 | age: 'now', |
no test coverage detected