Log record count deleted by StaleManagersCleanupService
What does this MR do and why?
Describe in detail what your merge request does and why.
This MR changes the logged output of Ci::Runners::StaleMachinesCleanupCronWorker
from deleted_managers
containing a boolean, to total_deleted
containing the number of records deleted, and batch_counts
containing the counts per sub-batch. This will improve the visibility into the service execution, so we can better understand why the number of stale runner managers (i.e. not contacted in the last 7 days) is still growing.
Part of #412298 (closed)
Screenshots or screen recordings
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.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.