Remove an unused scope from Ci::JobArtifact
What does this MR do and why?
This MR removes a scope from Ci::JobArtifact
that we no longer use. It used to be used in the process of removing expired artifacts, but that's since been rewritten and now artifacts are either either without an explicit order or with expired_at: :asc
, changed in !76509 (merged)
Note: We still do technically query artifacts by descending order of expiration, but we do in a (deprecated) method that we already have a feature flag in place to move away from, and use ActiveRecord directly there instead of using this scope.
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.
Edited by drew stachon