feat(alerts): raise one alert per open issue and pull request

Each open issue now has its own alert. An issue with recent activity is issue_fresh. An issue idle for issue_stale_after or longer is issue_stale. This replaces the single issues_stale line per repo.

A non-draft pull request younger than pr_warn_after now raises pr_fresh. Older pull requests keep pr_waiting.

All new alerts have warn severity, so a repo with open work is no longer green. The pr_open alert for auto actions is unchanged.
This commit is contained in:
2026-10-06 14:14:26 +01:00
parent eff9559aee
commit 5bca4c38f0
8 changed files with 67 additions and 57 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ describe('AttentionRow', () => {
it('omits the age for an unknown timestamp', () => {
const w = mount(AttentionRow, {
props: {
row: row({ since: '0001-01-01T00:00:00Z', kind: 'issues_stale' }),
row: row({ since: '0001-01-01T00:00:00Z', kind: 'issue_stale' }),
nowMs,
critSeconds: CRIT_SECONDS,
},