Purge expired RS authorization codes from a recurring job class #274

Merged
raucao merged 1 commits from bugfix/solid_queues_prod into master 2026-11-27 12:06:38 +00:00
1 Commits
Author SHA1 Message Date
raucao 5c7234e7d4 Purge expired RS authorization codes from a recurring job class
CI / Test (pull_request) Successful in 50s
Release Drafter / Update release notes draft (pull_request) Successful in 3s
The recurring cleanup task used a `command:` string, which Solid Queue evals inside SolidQueue::RecurringJob. It failed in production with `uninitialized constant ...::RsAuthorizationCode` and is only visible in Mission Control as SolidQueue::RecurringJob. Move the cleanup into a regular Active Job class so the task is enqueued as PurgeRsAuthorizationCodesJob on the default queue, appears under its own name, and no longer depends on eval'ing a string.
2026-11-27 16:05:18 +04:00