I’m looking into using Oban Pro encrypted jobs to get PII out of Oban Web. It’s super simple to set up and use but we have a considerable amount of tests that are asserting on the job args. I can change them all to just assert there is a data arg but it seems kind of sad. We also can’t use the args in assert_enqueued. I thought maybe I could make the encrypted
arg env-dependent: the key config for deployed envs and false
for local dev and tests but it doesn’t work.
Has anyone figured out a way to make the encryption happen on deployed envs or prod mode only?