Tenant Context Troubles: Debugging Queue Deserialization in a Multi-Tenant Laravel App
In the Reimpact/platform project, we encountered a tricky issue with queue deserialization in our multi-tenant environment. This post details the problem, our investigation, and the solution we implemented.
The Problem
Our application uses a queue to generate reports. A GenerateReportJob is dispatched, serializing the GeneratedReport model.