Files
mtusi2026lab6/evidence/broker/stand.md
T
ricoromaandClaude Opus 5.5 6c6e6d5192 docs: capture lab 6 exclusion evidence, full checks and final report
Coverage-exclusion evidence on the lab 6 stand (db3340d), failure checks,
isolated and LB test runs, clean clone and secrets check; fill REPORT.md
from the skeleton template, drop PLAN.md (last version db3340d).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 10:35:25 +03:00

37 lines
2.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Брокер рабочего стенда
- Команда: `python3 .claude/skills/run-mtusi-messenger/driver.py --port 8080 broker-check`
- Дата: 2026-11-15, 06:37:33–06:37:41 UTC; код выхода 0
- Commit: `db3340d` (ветка `feat/lab6-final`), рабочее дерево без правок кода (изменены только `QUESTIONS.md` и файлы `evidence/`)
- Стенд: проект compose `mtusi-lab6`, телеметрия включена, собран `make run_docker` из `HEAD`. Очередь `test_messenger.…` в списке — остаток `make test_isolated KEEP_TEST_DB=1` (`evidence/broker/isolated.md`)
- Сценарии спека `message-broker`: «Сервис брокера запущен», «Предел памяти брокера», «Остановка брокера»
- `watermark` 419430400 байт — 400 МиБ из `infra/rabbitmq/rabbitmq.conf`; лимит контейнера 512 МиБ. Пароль брокера только у `rabbitmq`, `relay`, `worker`: у реплик API настроек брокера нет
```text
image rabbitmq:4.3.7@sha256:bd88985187aa73cd598fa0d8b31d49b2f814a6d9e58f6d5a89bae588669d946a
memory high watermark 419430400, container limit 536870912
queues (name durable messages consumers):
test_messenger.attachment.process.v1 True 0 0
messenger.attachment.process.v1 True 0 1
temporary database queue test_messenger.attachment.process.v1: not checked
docker compose stop rabbitmq: 1.3 s
image is tag and digest expected yes got yes
container health expected healthy got healthy
data volume expected mtusi-lab6_rabbitmq_data got mtusi-lab6_rabbitmq_data
docker port expected 5672/tcp -> 127.0.0.1:5673 got 5672/tcp -> 127.0.0.1:5673
container memory limit expected 536870912 got 536870912
watermark below container limit expected yes got yes
broker password holders expected rabbitmq,relay,worker got rabbitmq,relay,worker
BROKER__* in the api service expected no got no
work queue exists expected yes got yes
work queue durable expected yes got yes
docker compose stop exit code expected 0 got 0
container exit code expected 0 got 0
stopped before the 20 s grace expected yes got yes
broker back (up --wait) expected 0 got 0
work queue after restart expected yes got yes
worker consumes again expected yes got yes
relay survived the outage (StartedAt) expected yes got yes
PASS: the broker stand matches the spec
```