docs: record async-attachments evidence and report

Evidence taken on ff1a83b. The report covers level 3; levels 4 and 5 are
closed by the following changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-31 08:30:46 +03:00
co-authored by Claude Opus 5.5
parent ff1a83b6ff
commit acc6584dd3
184 changed files with 30760 additions and 20 deletions
+66
View File
@@ -0,0 +1,66 @@
# Принявшая реплика остановлена
- Команда: `python3 .claude/skills/run-mtusi-messenger/driver.py --port 8080 attachment-failover --mode stop`, затем `make replicas` и то же с `--mode kill`
- Дата: 2026-10-31, 03:51 UTC; оба прогона — код выхода 0
- Commit: `ff1a83b`, рабочее дерево чистое
- Стенд: проект compose `mtusi-lab5`, собран `make run_docker` из `HEAD`
- Сценарий: `attachments` «Принявшая реплика остановлена»
## Режим stop
```text
mode: stop; fixture sample.png: 111817 bytes
docker compose ps (before):
NAME STATUS
mtusi-lab5-api-1 Up 28 seconds (healthy)
mtusi-lab5-api-2 Up 28 seconds (healthy)
mtusi-lab5-cleaner-1 Up About a minute
mtusi-lab5-haproxy-1 Up 27 seconds (healthy)
mtusi-lab5-postgres-1 Up 55 seconds (healthy)
mtusi-lab5-rabbitmq-1 Up 15 seconds (healthy)
mtusi-lab5-s3-1 Up 35 seconds (healthy)
mtusi-lab5-valkey-1 Up 55 seconds (healthy)
mtusi-lab5-worker-1 Up 21 seconds
sha256 uploaded: 99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75
sha256 downloaded: 99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75
docker compose ps (after):
NAME STATUS
mtusi-lab5-api-1 Up 1 second (healthy)
mtusi-lab5-api-2 Up 31 seconds (healthy)
mtusi-lab5-cleaner-1 Up About a minute
mtusi-lab5-haproxy-1 Up 31 seconds (healthy)
mtusi-lab5-postgres-1 Up 58 seconds (healthy)
mtusi-lab5-rabbitmq-1 Up 18 seconds (healthy)
mtusi-lab5-s3-1 Up 38 seconds (healthy)
mtusi-lab5-valkey-1 Up 58 seconds (healthy)
mtusi-lab5-worker-1 Up 25 seconds
step expected got x-instance-id
alice uploads 202 202 3ce76b35e8aa
attachment is ready ready ready
alice sends message 201 201 f83660c720d2
stop-one.sh stop 0 0 3ce76b35e8aa
bob downloads 200 200 f83660c720d2
bob reads metadata 200 200 f83660c720d2
eve reads metadata 404 404 f83660c720d2
eve downloads 404 404 f83660c720d2
make replicas 0 0
LB slots UP 2 2
PASS: accepted by 3ce76b35e8aa, served by f83660c720d2 after stop, sha256 matches, outsider gets 404
```
## Режим kill
```text
step expected got x-instance-id
alice uploads 202 202 3ce76b35e8aa
attachment is ready ready ready
alice sends message 201 201 f83660c720d2
stop-one.sh kill 0 0 3ce76b35e8aa
bob downloads 200 200 f83660c720d2
bob reads metadata 200 200 f83660c720d2
eve reads metadata 404 404 f83660c720d2
eve downloads 404 404 f83660c720d2
make replicas 0 0
LB slots UP 2 2
PASS: accepted by 3ce76b35e8aa, served by f83660c720d2 after kill, sha256 matches, outsider gets 404
```