Skip to content

Add gitlab:zoekt:info rake task

What does this MR do and why?

This MR adds the gitlab:zoekt:info rake task (similar to gitlab:elastic:info). It will help SM customers as well as support engineers to debug Zoekt-related issues.

Duo summary:

This merge request introduces a new service called RakeTaskExecutorService for the Zoekt (Exact Code Search) feature in GitLab. The service provides functionality to display information about Zoekt settings, nodes, and indexing status through a rake task. It includes methods to format and log various details such as enabled/disabled features, node counts, indexed data, and model counts. The changes also add corresponding rake tasks and comprehensive unit tests to ensure the new functionality works as expected. Overall, this addition enhances the ability to monitor and manage the Zoekt integration within GitLab, making it easier for administrators to gather important information about the Exact Code Search feature.

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

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.

Screenshots or screen recordings

SCR-20250303-qbqf

Click to see v2

SCR-20250225-lgwj

Click to see v1

SCR-20250221-mbxw

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Related to #520688 (closed)

Edited by Dmitry Gruzd

Merge request reports

Loading