feat(lab5): durable async attachment pipeline through grade 4

- RabbitMQ quorum queue, persistent messages and publisher confirms
- S3 staging plus PostgreSQL attachments/jobs outbox transaction
- worker variants (thumbnail, crop, optimized WebP), DB lease and lease sweeper
- jittered retry, permanent failures, explicit replay and admission cap
- deterministic crash hooks, resilience script and evidence for grade 4
- async-aware custom tests, oversized pixel case, docs and changelog
This commit is contained in:
Mikhail Verkovykh
2026-11-15 00:30:36 +03:00
parent 28d68dc30b
commit 9e43faa536
48 changed files with 4077 additions and 333 deletions
+2 -2
View File
@@ -96,9 +96,9 @@ func main() {
func logStats(stats reconcile.Stats, dryRun bool) {
slog.Info("reconcile pass complete",
"dry_run", dryRun,
"stale_pending", stats.StalePending,
"stale_staging", stats.StaleStaging,
"orphan_objects", stats.OrphanObjects,
"deleted_rows", stats.DeletedRows,
"deleted_staging", stats.DeletedStaging,
"deleted_objects", stats.DeletedObjects,
"skipped", stats.Skipped,
)