Remove Ci::JobArtifacts::UpdateUnknownLockedStatusWorker
The Feature
We currently use the UpdateUnknownLockedStatusWorker
and UpdateUnknownLockedStatusService
to mark job artifact rows as locked or unlocked based on their corresponding ci_pipelines.artifacts_locked
value.
The Removal
We launch this a couple years ago, and when all the artifacts in the table have been marked as locked
or unlocked
, we should remove both the Worker and Service classes, as they no longer make changes or have any purpose.
I'm writing this during %16.9, and we should schedule the removal for %17.0.
It's been in place for quite a long time, and I don't have any concerns about removing it from self-managed instances as well. If they still have locked = unknown
records in their database, this isn't going to help them.
Edited by drew stachon