Wrong usage statistics link in compute minutes usage email for personal namespaces

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

In the Action required: Less than 25% of compute minutes remain for namespace email the usage statistics link is not working for personal namespaces.

The link links to https://gitlab.com/groups/florian.heberl/-/usage_quotas#pipelines-quota-tab but it should link to https://gitlab.com/-/profile/usage_quotas for personal namespaces.

Screenshot of the mail:

image.png

Steps to reproduce

  • use ci minutes in personal namespace till 25% remains
  • check usage statistics link in Action required: Less than 25% of compute minutes remain for namespace email
  • link is 404

Example Project

What is the current bug behavior?

404 link for personal namespaces

What is the expected correct behavior?

link to https://gitlab.com/-/profile/usage_quotas for personal namespaces

Relevant logs and/or screenshots

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of: \`sudo gitlab-rake gitlab:env:info\`) (For installations from source run and paste the output of: \`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production\`)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:check SANITIZE=true`)

(For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true`)

(we will only investigate if the tests are passing)

Possible fixes

Edited by 🤖 GitLab Bot 🤖