Skip to content
This repository was archived by the owner on Apr 1, 2023. It is now read-only.
This repository was archived by the owner on Apr 1, 2023. It is now read-only.

Sidekiq::Status doesn't play well with Sidekiq Enterprise's encryption feature #153

Description

@alecgorge

When I call perform_async on an encrypted worker it hits the branch in api.rb (379 is a print line I added) that anonymizes things:

image

This caused the value [encrypted data] to be encrypted and stored in redis. When the job is run, it appropriately decrypts the data and passes that literal string "[encrypted data]" to the method.

This plugin calls display_args which then calls down into the base implementation of display_args.

Making my jobs that need encryption bypass calling include Sidekiq::Status::Worker has fixed the issue for me.

I don't know the middleware stack well enough to know if there is a fix for this or the "solution" is simply not using status workers but I thought I should file something to help others out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions