ЛР5: брокер Redis Streams, worker, outbox, retry/DLQ/replay, варианты

This commit is contained in:
LOSYASH
2026-11-12 15:14:48 +01:00
parent 276dbdad8a
commit b4804ac5c1
98 changed files with 9131 additions and 38 deletions
+15
View File
@@ -0,0 +1,15 @@
# jobs-crash-ack
# date: 2026-11-11T23:56:55 commit: 276dbda
$ C:\Users\79152\AppData\Local\Python\pythoncore-3.14-64\python.exe student-tests/jobs.py --base-url http://localhost:8080 --scenario crash-ack
== crash после COMMIT ready, до ack ==
ok - commit before crash: status ready, error_code null
ok - commit before crash: variants thumbnail+crop+optimized (['thumbnail', 'crop', 'optimized'])
ok - commit before crash: original byte-for-byte
ok - commit before crash: thumbnail 256x160, sha256 matches
ok - unacked message redelivered after restart and acked as no-op
ok - ready recorded once, 3 variants
[crash-ack: 26s]
6 passed, 0 failed
[exit 0]