Skip to content

fix: Adjust VersionClient page size

John Skarbek requested to merge jts/bump-version-client-page-size into master

What does this MR do and why?

  • For any release where we're beyond the query limit, we cannot find the latest released version.
  • This bumps the size of how many results we get to hopefully return the desired version we need.

Found during: https://gitlab.com/gitlab-com/gl-infra/delivery/-/issues/20246

Failed pipeline showcasing failure: https://ops.gitlab.net/gitlab-org/release/tools/-/jobs/13978064

Content

Using the console, I was able to validate that this would work as desired. Though I'm not aware of the implications of setting this value.

% be pry --gem
[1] pry(main)> a = ReleaseTools::Versions
=> ReleaseTools::Versions
[2] pry(main)> a.current.count
=> 90
[3] pry(main)> a.last_version_for_major("15")
=> "15.11.13"

Author Check-list

  • [-] Has documentation been updated?

Merge request reports