The cron job that had no user
A scheduled job in a multi-tenant NestJS backend kept failing at 2 AM with 'Missing active user in context'. Nobody was logged in, because nobody logs in a cron. Here is the CLS trap and the fix.
nestjscronclsmulti-tenantasync-local-storageops