From bdf5f6f1a653f6210e7e163b2dd34c15370eab0c Mon Sep 17 00:00:00 2001 From: Dylan Griffith <dyl.griffith@gmail.com> Date: Mon, 17 Feb 2025 12:19:27 +1100 Subject: [PATCH] Fix housekeeper not requiring filter_identifiers In https://gitlab.com/gitlab-org/gitlab/-/merge_requests/181094 we improved the filtering capabilities in Housekeeper and added a new class FilterIdentifiers. But unfortunately we did not require the class before using it and now it's breaking Housekeeper in CI (see https://ops.gitlab.net/gitlab-com/database-team/gitlab-com-database-testing/-/jobs/17251336 for an example). You can also easily test this yourself by running any keep. I've tested locally with the example in the README.md and this fixes the problem. --- gems/gitlab-housekeeper/lib/gitlab/housekeeper/runner.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/gems/gitlab-housekeeper/lib/gitlab/housekeeper/runner.rb b/gems/gitlab-housekeeper/lib/gitlab/housekeeper/runner.rb index 040842c6b39ab8..624f52974e3e11 100644 --- a/gems/gitlab-housekeeper/lib/gitlab/housekeeper/runner.rb +++ b/gems/gitlab-housekeeper/lib/gitlab/housekeeper/runner.rb @@ -10,6 +10,7 @@ require 'gitlab/housekeeper/git' require 'gitlab/housekeeper/change' require 'gitlab/housekeeper/substitutor' +require 'gitlab/housekeeper/filter_identifiers' require 'awesome_print' require 'digest' -- GitLab