ЛР7: прогон в Docker, исправления по результатам, evidence и отчёт

This commit is contained in:
LOSYASH
2026-12-03 16:54:53 +01:00
parent cbbe525b3e
commit 17baa0dd7e
47 changed files with 1934 additions and 65 deletions
+19
View File
@@ -0,0 +1,19 @@
# jobs-registry
# date: 2026-12-03T00:29:14 commit: cbbe525
$ docker compose --env-file .env exec -T worker python -m app.replay --list
failed jobs: 0
[exit 0]
$ docker compose --env-file .env exec -T worker python -m app.replay --dlq
1796254126700-0 {"job": "{\"attachment_id\":\"c77ba66f-95d6-477f-8b99-845b2ba9578d\",\"job_id\":\"7cb09627-2683-46ed-8e28-506b56cd339d\"}", "reason": "retry_exhausted (injected_transient)", "source_id": "1796254126662-0", "at": "2026-12-02T23:28:46.700642Z"}
[exit 0]
$ docker compose --env-file .env exec -T worker 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": 25}}
[exit 0]
$ docker compose --env-file .env --profile fault stop api-fault worker-fault
Container mtusi-lab7-worker-fault-1 Stopping
Container mtusi-lab7-worker-fault-1 Stopped
[exit 0]