Skip to content

Remove PropagateServiceTemplateWorker

Related to !64975 (merged) and the discussion.

We should remove PropagateServiceTemplateWorker.

Summary:

The Sidekiq Style Guide suggests that we should avoid removing workers and their queues in minor and patch releases. https://docs.gitlab.com/ee/development/sidekiq_style_guide.html#removing-workers

An option might be to write a migration to drain/delete the Sidekiq queue. After deprecating and removing the ability to use service templates, we essentially no longer care about the jobs, so stuck jobs should be deleted.

Sidekiq::Queue.new('propagate_service_template').clear
Edited by Arturo Herrero