Improve error message for `job_activity_limit_exceeded`
Summary
When the CI limit job_activity_limit is hit we drop a pipeline with an error Pipeline job activity limit exceeded!.
This error occurs if too many jobs/pipelines are being created in a short period of time.
As a consequence, we drop the pipeline with that error. Users will need to wait until the volume of jobs in active pipelines goes below the limit (today it's 500 jobs for projects on Free tier).
I think this issue #221245 will help here because it introduces a category for pipeline messages (errors or warnings) and the category can have a documentation link associated to it. This will improve the error messages across the board because it will display a link to the related documentation. This way we can improve the docs rather than be too verbose in the message.
Steps to reproduce
(How one can reproduce the issue - this is very important)
Example Project
(If possible, please create an example project here on GitLab.com that exhibits the problematic behavior, and link to it here in the bug report)
(If you are using an older version of GitLab, this will also determine whether the bug is fixed in a more recent version)
What is the current bug behavior?
(What actually happens)
What is the expected correct behavior?
(What you should see instead)
Relevant logs and/or screenshots
| Screenshot |
|---|
![]() |
Output of checks
(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)
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
(If you can, link to the line of code that might be responsible for the problem)
