worker.ts has a self-init side effect on module load, but nothing in the shipped code imported it — so jobs queued but no worker ran. Adding a side-effect import to the analyze route handler; Next.js eagerly loads route modules at boot to build the routing manifest, so this runs once per server process. Confirmed live: [ANALYZER-WORKER] starting log line fires on container start. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| analyses/[id] | ||
| jobs/[jobId] | ||
| needs-review | ||
| tickets/[ticketNumber] | ||