feat: route terminal jobs to a durable DLQ

Declare the classic dead-letter topology, reject terminal worker outcomes
without requeue, and add coverage for malformed messages and retry jitter.
This commit is contained in:
Самохвалов Андрей Ремович
2026-11-27 14:15:44 +03:00
parent 2c46d02205
commit e7f68aa69c
14 changed files with 550 additions and 85 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -euo pipefail
source "$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)/demo-common.sh"
demo_preflight
echo
echo "== 1. Сквозной API сценарий: upload → 202 → ready → оригинал и thumbnail =="
make test BASE_URL="$BASE_URL"
echo
echo "== 2. Проверка вариантов, checksum и доступа через API =="
python3 student-tests/test_variants_api.py --base-url "$BASE_URL"
echo
echo "Готово. Проверки создают синтетические записи в учебных PostgreSQL и S3 volumes."