Skip to content

Add inactivity alerting to scan loop#290

Open
Robin5605 wants to merge 5 commits intomainfrom
warn-on-gap
Open

Add inactivity alerting to scan loop#290
Robin5605 wants to merge 5 commits intomainfrom
warn-on-gap

Conversation

@Robin5605
Copy link
Member

Closes #289

Robin5605 and others added 5 commits April 11, 2025 23:48
This options allows us to configure how many seconds we should not have
seen a package scan for before we ping core devs in the alerts channel
Keep track of the last scanned package time and a flag that indicates if
we've already alerted (so we're not spamming alerts)
When there's an unhandled exception in a task loop, the default behavior
is to terminate the loop, while the previous log line said it would skip
and move on to the next iteration.
Pings core developers in the alerts channel along with an embed
containing the error that occured.
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.

Add alerting rules for core functions

1 participant

Comments