Skip to content

Keep a live issue's notification record past retention, so a restart … - #2

Merged
drobison00 merged 1 commit into
mainfrom
fix/notified-survives-prune
Oct 31, 2026
Merged

drobison00 merged 1 commit into
mainfrom
fix/notified-survives-prune

Conversation

@drobison00

Copy link
Copy Markdown
Owner

…does not send it again

Age pruning deleted every notified row older than [retention] max_age_s, including those of issues still open. A row's time is written only when a notification is sent, so an issue that stays open at one severity longer than the retention lost its record, and the next restart notified it again: the duplicate 58a9ff6 set out to stop. Prune a notified row only once its issue is resolved or no longer stored, the same rule the issues table keeps.

Reported by Bhanu-partap-13 on 58a9ff6.

…does not send it again

Age pruning deleted every notified row older than [retention] max_age_s, including those of
issues still open. A row's time is written only when a notification is sent, so an issue that
stays open at one severity longer than the retention lost its record, and the next restart
notified it again: the duplicate 58a9ff6 set out to stop. Prune a notified row only once its
issue is resolved or no longer stored, the same rule the issues table keeps.

Reported by Bhanu-partap-13 on 58a9ff6.
@drobison00
drobison00 merged commit 967de88 into main Oct 31, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant