ЛР4 БВТ2304 Запорожец на 3

Вложения: приватный S3-bucket (RustFS 1.0.4) + метаданные в PostgreSQL, upload PNG/JPEG
с лимитами до декодирования, авторизованный download, attachment_ids в сообщениях,
идемпотентный bootstrap bucket, failover/persistence/S3-down тесты и REPORT.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-12 18:49:12 +03:00
co-authored by Claude Opus 5.5
parent ec540a1a72
commit 2dca5c114b
44 changed files with 3698 additions and 16 deletions
+21
View File
@@ -0,0 +1,21 @@
# 2026-11-12T15:43:02Z, commit ec540a1
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://lb:8080"
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
# hook scope (StartedAt before/after of every process):
before:
/mtusi-lab4-api-1 2026-11-12T15:43:25.945855638Z
/mtusi-lab4-api-2 2026-11-12T15:43:26.378025301Z
/mtusi-lab4-lb-1 2026-11-12T15:43:32.867507504Z
/mtusi-lab4-postgres-1 2026-11-12T15:43:15.880707203Z
/mtusi-lab4-s3-1 2026-11-12T15:43:15.991679035Z
/mtusi-lab4-valkey-1 2026-11-12T15:43:16.182909146Z
after:
/mtusi-lab4-api-1 2026-11-12T15:43:54.05450379Z
/mtusi-lab4-api-2 2026-11-12T15:43:54.412315531Z
/mtusi-lab4-lb-1 2026-11-12T15:44:00.933617411Z
/mtusi-lab4-postgres-1 2026-11-12T15:43:44.505071692Z
/mtusi-lab4-s3-1 2026-11-12T15:43:44.304941151Z
/mtusi-lab4-valkey-1 2026-11-12T15:43:44.162913947Z
ready