Skip to content

Report queues that have no live worker - #21

Merged
hellopablo merged 1 commit into
developfrom
feat/unworked-queues
Oct 21, 2026
Merged

hellopablo merged 1 commit into
developfrom
feat/unworked-queues

Conversation

@hellopablo

Copy link
Copy Markdown
Member

Summary

  • Manager::isProcessed() answers whether a live worker is registered for a queue, using the same heartbeat rule as the dashboard alert.
  • Manager::unworkedQueues() is that list for discovered queues, and the dashboard alert now asks the manager instead of scanning workers itself.

Test plan

  • With no fresh worker heartbeat, the queue dashboard alert lists every discovered queue.
  • A worker whose heartbeat is inside QUEUE_WORKER_HEARTBEAT_STALE clears that queue from the alert.
  • A stale worker does not.
  • isProcessed() is true for an undiscovered queue only when a live worker lists that class.

The dashboard alert can ask the manager which queues are unworked, using the same heartbeat rule as before.
@hellopablo
hellopablo merged commit 1e02280 into develop Oct 21, 2026
5 checks passed
@hellopablo
hellopablo deleted the feat/unworked-queues branch October 21, 2026 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant