# jobs-registry
# date: 2026-11-12T00:00:58  commit: 276dbda

$ docker compose --env-file .env exec -T api python -m app.replay --list
failed jobs: 0
[exit 0]

$ docker compose --env-file .env exec -T api python -m app.replay --dlq
1794437902645-0 {"job": "{\"attachment_id\":\"3916ea43-cfd7-4506-838a-5b206345e6b4\",\"job_id\":\"0bb5d8ca-8fad-4a3c-974e-1781acfa27e4\"}", "reason": "retry_exhausted (injected_transient)", "source_id": "1794437902611-0", "at": "2026-11-11T22:58:22.645225Z"}
[exit 0]

$ docker compose --env-file .env exec -T api python -m app.tools queue
{"stream_length": 0, "groups": [{"name": "workers", "consumers": 4, "pending": 0, "lag": 0}], "dlq_length": 1, "outbox_unpublished": 0, "jobs_by_status": {"ready": 28}}
[exit 0]

$ docker compose --env-file .env --profile fault stop api-fault worker-fault
 Container mtusi-lab5-worker-fault-1 Stopping 
 Container mtusi-lab5-api-fault-1 Stopping 
 Container mtusi-lab5-worker-fault-1 Stopped 
 Container mtusi-lab5-api-fault-1 Stopped 
[exit 0]
