Skip to content

"do not serialize to JSON safely" warnings when used with sidekiq 6.5 #436

@evgeni

Description

@evgeni
Nov 06 07:43:49 pipe-plugins-server-nightly-centos8-stream.tanso.example.com dynflow-sidekiq@worker-1[51842]: 2023-11-06T07:43:49.086Z pid=51842 tid=99ay class=Dynflow::Executors::Sidekiq::WorkerJobs::PerformWork jid=84b4df66648803f4b32649ee WARN: Job arguments to Dynflow::Executors::Sidekiq::OrchestratorJobs::WorkerDone do not serialize to JSON safely. This will raise an error in
Nov 06 07:43:49 pipe-plugins-server-nightly-centos8-stream.tanso.example.com dynflow-sidekiq@worker-1[51842]: Sidekiq 7.0. See https://github.com/mperham/sidekiq/wiki/Best-Practices or raise an error today
Nov 06 07:43:49 pipe-plugins-server-nightly-centos8-stream.tanso.example.com dynflow-sidekiq@worker-1[51842]: by calling `Sidekiq.strict_args!` during Sidekiq initialization.

Nov 06 07:43:50 pipe-plugins-server-nightly-centos8-stream.tanso.example.com dynflow-sidekiq@worker-1[51842]: 2023-11-06T07:43:50.444Z pid=51842 tid=99ae class=Dynflow::Executors::Sidekiq::WorkerJobs::PerformWork jid=32eb98a2ea4b0cf712a089da WARN: Job arguments to Dynflow::Executors::Sidekiq::OrchestratorJobs::WorkerDone do not serialize to JSON safely. This will raise an error in
Nov 06 07:43:50 pipe-plugins-server-nightly-centos8-stream.tanso.example.com dynflow-sidekiq@worker-1[51842]: Sidekiq 7.0. See https://github.com/mperham/sidekiq/wiki/Best-Practices or raise an error today
Nov 06 07:43:50 pipe-plugins-server-nightly-centos8-stream.tanso.example.com dynflow-sidekiq@worker-1[51842]: by calling `Sidekiq.strict_args!` during Sidekiq initialization.

I don't know what the tasks were, but it's freshly during an install of a Foreman with a few plugins (plugins install pipeline)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions