Fix Search::Zoekt::SchedulingService task logic
What does this MR do and why?
ArgumentError Sidekiq/Search::Zoekt::SchedulingWorker
Unknown task: node_assignment
This happened because sidekiq converts symbol arguments to strings
How to reproduce
[1] pry(main)> Search::Zoekt::SchedulingWorker.new.perform('node_assignment')
ArgumentError: Unknown task: node_assignment
from /Users/dgruzd/projects/gdk-ee/gitlab/ee/app/services/search/zoekt/scheduling_service.rb:22:in `execute'
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
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.
Edited by Dmitry Gruzd