Only check records with encrypted data in gitlab:doctor:encryption_keys

What does this MR do and why?

This will make the check simpler as there are some DependencyProxy::GroupSetting records that are created automatically, but with no encrypted data, so we shouldn't care about those.

Backports:

References

This simplifies the upgrade steps after getting several reports from customers around problems when upgrading to 17.10.x.

Screenshots or screen recordings

The output now skips records without actual encrypted data.

Screenshot_2025-04-23_at_16.18.01

How to set up and validate locally

bundle exec gitlab:doctor:encryption_keys

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.

Edited by Rémy Coutable

Merge request reports

Loading