Skip to content

Fix Sidekiq warning in Gitlab::EventStore

Fabio Pitino requested to merge fix-sidekiq-warning-in-event-store into master

What does this MR do and why?

Related to #351870 (closed)

In this MR we are fixing the Sidekiq warning that the Gitlab::EventStore causes in the logs:

Job arguments to MergeRequests::UpdateHeadPipelineWorker do not serialize to JSON safely. This will raise an error in
Sidekiq 7.0. See https://github.com/mperham/sidekiq/wiki/Best-Practices or raise an error today
by calling `Sidekiq.strict_args!` during Sidekiq initialization.

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading