Notifications for CI Minutes quota limit approaching
Problem
Users do not currently get notified when they are about to hit their CI Runner Minutes quota. This could cause an interruption in service for users as they won't be able proactively top up their minutes.
Proposal
Notify the group owner (for groups) or individual (individual namespaces) when they’re about to hit a CI limit, with instructions on how to purchase additional minutes or contact the group owner to request that they purchase more minutes.
Notification types:
- Email notification
- In-app banner notification
We should do this multiple times:
- At 30% left
- At 5% left (banner should change to red)
Permissions and Security
- Email notification - These notifications should be sent to the group owner(s).
- In-app banner notification - These notifications should be displayed to all users.
Documentation
We should document explicitly who gets notified, how they get notified, and what to do if they are/are not the group owner and their group/namespace runs out of minutes.
What does success look like, and how can we measure that?
~100% of namespaces that are reaching their limit receive a notification. Unsure how we will measure this.