Removes CI Lint check from blob viewer

What does this MR do and why?

When .gitlab-ci.yml is viewed in the blob viewer, GitLab currently runs a full CI lint on the committed file and renders an auxiliary viewer showing whether the configuration is valid or invalid, along with a "Learn more" link.

Since CI linting is a relatively expensive operation, and confirming the validity of the currently committed CI file from the blob viewer is not a common use case with the Pipeline Editor already providing lint results. This MR removes the lint and its result display from the blob viewer entirely (for all users, not just anonymous ones).

References

Relates to https://gitlab.com/gitlab-org/gitlab/-/work_items/599486 and closes #603569 (closed)

Screenshots or screen recordings

Before After
Screenshot 2026-06-22 at 9.28.26 PM.png Screenshot 2026-06-22 at 9.26.28 PM.png

How to set up and validate locally

  1. Check out master and make sure a project has a .gitlab-ci.yml committed.
  2. Visit the file in the blob viewer
    1. Verify presence of "This GitLab CI configuration is valid." or "This GitLab CI configuration is invalid: …" with a Learn more link.
  3. Check out this MR's branch.
  4. Reload blob viewer.
    1. Verify the CI lint panel is gone and the message above no longer appears
  5. Verify the Pipeline Editor still lints normally, since that path is unaffected.

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 #603569 (closed)

Edited by Tarun Raja

Merge request reports

Loading