Fix Sidekiq warning for Gitlab::GithubImport::*Worker
requested to merge bmarjanovic/gitlab-githubimport-worker-args-do-not-serialize-to-json-safely into master
What does this MR do and why?
This MR is based on #383190 (closed) issue, and is fixing the Sidekiq warning that the Gitlab::GithubImport::*Worker
causes in the logs.
How to set up and validate locally
- Checkout the branch
- Execute GitHub import
- Checkout the logs
log/sidekiq.log
, and validate there are no warnings, such as:Job arguments to Gitlab::GithubImport::*Worker do not serialize to JSON safely. This will raise an error in\nSidekiq 7.0. ...
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.
Related to #383190 (closed)
Edited by Bojan Marjanovic