Лабораторная 5: брокер, worker, outbox, варианты изображений, тесты отказов (оценка 4)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
kalibr456
2026-10-24 15:53:17 +03:00
co-authored by Claude Opus 5.5
parent 276dbdad8a
commit fd6f85d94c
112 changed files with 10533 additions and 26 deletions
+30
View File
@@ -0,0 +1,30 @@
# persistence: public persistence test incl. S3 + proof of real restarts (make test-persistence)
# date: 2026-10-24 15:44:25, commit: 276dbda + uncommitted changes
# command: python.exe student-tests/run_persistence.py
# exit code: 0, 59.6 s
before: container, ID, started at
messenger-lab5-api-1 b9ad6d33d190 2026-10-24T12:41:59.057757842Z
messenger-lab5-api-2 5aa14958c864 2026-10-24T12:41:38.920683556Z
messenger-lab5-dispatcher-1 9c5531a487f2 2026-10-24T12:32:58.22608557Z
messenger-lab5-janitor-1 c412a9460051 2026-10-24T12:23:20.245209318Z
messenger-lab5-lb-1 0760689bc54d 2026-10-24T12:23:27.648064757Z
messenger-lab5-postgres-1 10fec15d4ea6 2026-10-24T12:43:25.148756098Z
messenger-lab5-rabbitmq-1 95b4214594a8 2026-10-24T12:32:33.167311219Z
messenger-lab5-redis-1 e7ed9903c342 2026-10-24T12:43:04.620093059Z
messenger-lab5-s3-1 56a0cdfb9bc8 2026-10-24T12:39:05.007533298Z
messenger-lab5-worker-1 6e040d05805f 2026-10-24T12:37:00.256852184Z
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.␍
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
after (hook + waiting for readiness took 58.5 s): container, ID, started at, restarted?
messenger-lab5-api-1 b9ad6d33d190 2026-10-24T12:44:20.339074469Z same container: True, restarted: True
messenger-lab5-api-2 5aa14958c864 2026-10-24T12:44:20.477467705Z same container: True, restarted: True
messenger-lab5-dispatcher-1 9c5531a487f2 2026-10-24T12:44:17.516290602Z same container: True, restarted: True
messenger-lab5-janitor-1 c412a9460051 2026-10-24T12:44:16.494020858Z same container: True, restarted: True
messenger-lab5-lb-1 0760689bc54d 2026-10-24T12:44:23.831977922Z same container: True, restarted: True
messenger-lab5-postgres-1 10fec15d4ea6 2026-10-24T12:43:40.513609095Z same container: True, restarted: True
messenger-lab5-rabbitmq-1 95b4214594a8 2026-10-24T12:43:41.265182826Z same container: True, restarted: True
messenger-lab5-redis-1 e7ed9903c342 2026-10-24T12:43:40.396962627Z same container: True, restarted: True
messenger-lab5-s3-1 56a0cdfb9bc8 2026-10-24T12:43:50.186903251Z same container: True, restarted: True
messenger-lab5-worker-1 6e040d05805f 2026-10-24T12:44:17.661567668Z same container: True, restarted: True
PASS: the hook restarted postgres, redis, s3 (SeaweedFS), rabbitmq, all api replicas, janitor, dispatcher, worker and lb (same containers, new start time); data, the attachment bytes and the old token survived