mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 10:01:00 +01:00
`has_live_worker` asks RQ for the worker count and the suspension flag, two constant-cost reads, instead of hydrating every registered worker. The cleanup stats serialize through `dataclasses.asdict`, so a new counter is declared in two places rather than three. The task endpoint test takes the shared task fixture, the legacy-stats shim says when it can go, and the two Settings specs share one axios-error helper under `src/test-utils` while the games spec starts from a non-empty list. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F9ta8rXUTP9aMdatPYKX4K