Fixed
- The check for due dreams no longer fails when many collections are due. It loaded every candidate's workspace and session in one row-value
INlist, which Postgres rejects withstack depth limit exceededonce the list is long enough, and its other lookups bound one parameter per candidate. The deriver metrics poller runs the same check, so a failure also froze the deriver queue metrics and, withDERIVER_SCHEDULER=api, stopped due dreams from being enqueued. The lookups now run in batches, and the work-unit and tenant lists are each sent as one array parameter. (#1623)