Notify users when their CI minutes quota has run out
Problem
Users do not currently get notified when they have run out of CI Runner Minutes. 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 their CI Minutes have expired, with instructions on how to purchase additional minutes or contact the group owner to request that they purchase more minutes. We should dynamically show the UID of the group owner(s) in the banner notification.
Notification types:
Create a new email notification
This is an automated notification to let you know that your CI Runner Minutes quota for [group/namespace] has run out.
Purchase more minutes[Button link to purchase page on customer portal]
If you need assistance, please contact GitLab support[support.gitlab.com].
Update In-app banner notification
[group-name] has exceeded its pipeline minutes quota. Click here to purchase more minutes.[link to purchase page on customer portal]
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 have hit their limit purchase more minutes. Unsure how we will measure this.