Skip to content

Remove invalid link when purchasing minutes from Job page

What does this MR do and why?

This code change removes a feature that warned users when they were running out of compute minutes for their CI/CD jobs.

The removed functionality displayed a warning message when users had used up their allocated runner minutes (the computational resources needed to run automated tests and deployments). It showed how many minutes were used versus the limit, provided a link to learn more about runners, and offered a "Purchase more minutes" button for users who needed additional capacity.

The changes eliminate this warning system entirely by:

  • Removing the warning component and its associated display logic
  • Deleting the URL configuration that linked to the purchase page
  • Removing all the code that determined when to show the warning
  • Eliminating the related tests

This appears to be a simplification effort, possibly because the feature was redundant with other quota management systems, not being used effectively, or the business decided to handle minute limits differently. Users will no longer see these specific warnings about runner minute usage in the job details interface.

How to set up and validate locally

  1. Trigger a pipeline to consume at least 1 minute
  2. In the Admin -> Groups page, change the Compute quota to 1
  3. Run a new pipeline and wait for it to fail
  4. Open one job
  5. Click on Purchase more minutes button should no longer be available.

image

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #569452

Merge request reports

Loading