Files
HealthLog/.planning
Marc-André Bombeck 6325c0e286 fix(jobs): register DRAIN_CUMULATIVE_QUEUE in worker boot allQueues
pg-boss v12 requires explicit createQueue before scheduling. The
nightly drain schedule registered without a matching createQueue call,
which silently no-ops the cron — the per-sample Apple Health rows
never collapse into one row per day. The list view still works via
the on-demand groupBy=day branch, but the underlying table stays
bloated forever.

Add the queue to the allQueues array next to ROLLUP_FULL_BACKFILL_QUEUE
so the boot loop creates it before the schedule registration runs.
Extend the existing scheduler test to grep the allQueues block so a
future regression flips red instead of slipping through.
2026-05-17 15:15:41 +02:00
..
2026-05-12 22:33:35 +02:00