lab5: асинхронная очередь, worker и идемпотентный pipeline
API принимает 202 после durable staging и TX intent (job+outbox); отдельные relay и worker публикуют/обрабатывают задания с publisher confirm, lease, retry/backoff, DLQ и replay. Добавлены версии pipeline, варианты thumbnail/crop/optimized, presign в verified staging, status-aware sweeper и admission control.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# presign 2026-10-30T19:32:37Z
|
||||
env -u HTTP_PROXY -u HTTPS_PROXY -u ALL_PROXY -u http_proxy -u https_proxy -u all_proxy NO_PROXY=localhost,127.0.0.1,::1 no_proxy=localhost,127.0.0.1,::1 python3 student-tests/presign_flow.py --base-url "http://localhost:8080"
|
||||
happy path: direct PUT 200, complete queued, ready after worker
|
||||
message with attachment downloaded as the second chat member
|
||||
repeated complete is idempotent
|
||||
foreign complete: 404
|
||||
complete before PUT: 409
|
||||
wrong completion checksum: 409
|
||||
oversized direct PUT: 403 from S3; complete: 409 (nothing stored)
|
||||
same-size overwrite: last PUT wins, checksum verified
|
||||
PASS: lab4 presigned upload flow
|
||||
Reference in New Issue
Block a user