docs: record pipeline-reliability evidence and report

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-31 16:51:29 +03:00
co-authored by Claude Opus 5.5
parent e2a6427c24
commit 6bd60532aa
38 changed files with 2802 additions and 484 deletions
+25 -43
View File
@@ -1,66 +1,48 @@
# Принявшая реплика остановлена
- Команда: `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`, рабочее дерево чистое
- Команда: `python3 .claude/skills/run-mtusi-messenger/driver.py --port 8080 attachment-failover --mode stop`, затем то же с `--mode kill` (`make replicas` драйвер выполняет сам в `finally`)
- Дата: 2026-10-31, 13:26:45–13:26:56 UTC; оба прогона — код выхода 0
- Commit: `e2a6427` (ветка `feat/pipeline-reliability`), рабочее дерево без правок кода (добавлены только файлы `evidence/`)
- Стенд: проект compose `mtusi-lab5`, собран `make run_docker` из `HEAD`
- Сценарий: `attachments` «Принявшая реплика остановлена»
- Вывод сокращён: убраны снимки `docker compose ps` до и после (все сервисы `Up`, реплики `healthy`)
## Режим stop
## `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
alice uploads 202 202 d7f1b8c394b9
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
alice sends message 201 201 e933a5daf6b3
stop-one.sh stop 0 0 d7f1b8c394b9
bob downloads 200 200 e933a5daf6b3
bob reads metadata 200 200 e933a5daf6b3
eve reads metadata 404 404 e933a5daf6b3
eve downloads 404 404 e933a5daf6b3
make replicas 0 0
LB slots UP 2 2
PASS: accepted by 3ce76b35e8aa, served by f83660c720d2 after stop, sha256 matches, outsider gets 404
PASS: accepted by d7f1b8c394b9, served by e933a5daf6b3 after stop, sha256 matches, outsider gets 404
```
## Режим kill
## `kill`
```text
mode: kill; fixture sample.png: 111817 bytes
sha256 uploaded: 99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75
sha256 downloaded: 99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75
step expected got x-instance-id
alice uploads 202 202 3ce76b35e8aa
alice uploads 202 202 d7f1b8c394b9
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
alice sends message 201 201 d7f1b8c394b9
stop-one.sh kill 0 0 d7f1b8c394b9
bob downloads 200 200 e933a5daf6b3
bob reads metadata 200 200 e933a5daf6b3
eve reads metadata 404 404 e933a5daf6b3
eve downloads 404 404 e933a5daf6b3
make replicas 0 0
LB slots UP 2 2
PASS: accepted by 3ce76b35e8aa, served by f83660c720d2 after kill, sha256 matches, outsider gets 404
PASS: accepted by d7f1b8c394b9, served by e933a5daf6b3 after kill, sha256 matches, outsider gets 404
```