Queue health summary
Combines pending counts, oldest-job age and active-worker coverage into a compact status for every supplied queue.
Day 023 / Frappe / Worker Queues
A read-only Python CLI that summarizes sanitized Frappe queue snapshots, worker coverage and stale backlogs without connecting to Redis.
Combines pending counts, oldest-job age and active-worker coverage into a compact status for every supplied queue.
Reports only allowlisted operational facts and leaves job payloads, arguments and credentials outside the output.
Provides readable or JSON output with separate exit codes for clear state, attention required and invalid input.
Clear, backlog, stale and uncovered states
Timezone-aware oldest-job age
Only active workers count toward coverage
Arbitrary input fields omitted
Nine passing standard-library tests
Argparse, pathlib, JSON and timezone-aware datetime logic provide the full dependency-free CLI.
Models queue depth, worker subscriptions, active coverage and stale pending work from sanitized snapshots.
Nine deterministic tests cover timestamps, queue states, worker status, totals, privacy, validation and CLI exits.