forked from mtusi2026/mtusi2026lab5
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:
@@ -47,7 +47,7 @@ jobs:
|
||||
tags: mtusi-messenger:ci
|
||||
|
||||
stand:
|
||||
name: Lab4 stand scenario
|
||||
name: Lab5 stand scenario
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 20
|
||||
@@ -68,8 +68,14 @@ jobs:
|
||||
run: make test
|
||||
- name: Attachment negative scenarios
|
||||
run: make test-attachments
|
||||
- name: Presigned direct upload
|
||||
- name: Presigned direct upload (async complete)
|
||||
run: make test-presign
|
||||
- name: Worker process is separate and healthy
|
||||
run: docker compose --env-file .env ps worker relay broker
|
||||
- name: Async worker and broker durability
|
||||
run: make test-queue
|
||||
- name: Track 2 duplicate and stale-version harness
|
||||
run: python3 scripts/lab5_track2.py --reps 1
|
||||
- name: Parallel idempotency through the LB
|
||||
run: python3 student-tests/idempotency_parallel.py --base-url http://localhost:8080
|
||||
- name: Upload, stop the serving replica, download through another
|
||||
|
||||
Reference in New Issue
Block a user