Лабораторная 5

This commit is contained in:
2026-11-24 17:58:42 +03:00
parent 276dbdad8a
commit 3938900ec6
40 changed files with 3130 additions and 27 deletions
+18
View File
@@ -0,0 +1,18 @@
Migration: migrations/001_lab5.sql
Outbox table verified in PostgreSQL.
Observed after public smoke:
event_type=attachment.process
publish_attempt=1
published_at=2026-11-24 13:36:03.511287+00
job status=ready
Publisher behavior:
- API inserts staging, attachment, job and outbox in one transaction.
- Worker publisher polls unpublished rows.
- Publish is accepted only through RabbitMQ publisher confirm.
- published_at is set only after confirm.
Live recovery of a queued attachment with the worker stopped and the full Compose
stack restarted is recorded in evidence/live-runtime.txt. The job completed from
the durable outbox without a new client upload.