Retry all: emailing invoices to a former employee
A security and architecture walkthrough of Solid Queue and ActiveJob: why your queue table is an unauthenticated RPC endpoint, why jobs run with permissions checked weeks ago, and how failed executions plus one “Retry all” click can send data to someone who no longer has access.
It covers signing ActiveJob payloads, propagating tenant context into jobs and recurring tasks, idempotency keyed on job_id, the limits of limits_concurrency, and the trade-off between a separate queue database and transactional enqueue. All examples come from mistakes I made myself, which saved a lot of research time.
Post a comment