Add vac_increased_limit feature flag for 1000 tracked refs

What does this MR do and why?

Adds a feature flag vac_increased_limit to allow specific projects to track up to 1000 branches/tags instead of the default limit of 2.

This enables projects like gitlab-org/gitlab to track all supported releases (last 3 releases) while we develop the full quota management system.

Implementation

When vac_increased_limit is enabled for a project:

  • Model validation (tracked_refs_limit) allows up to 1000 tracked refs
  • Frontend receives the increased limit via max_tracked_refs in the configuration presenter

How to use

Enable for a specific project:

Feature.enable(:vac_increased_limit, Project.find_by_full_path('gitlab-org/gitlab'))

MR acceptance checklist

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

Part of epic &3430

Merge request reports

Loading