Files
mtusi2026lab5/evidence/relay/pipeline-state.md
T
2026-10-31 16:51:29 +03:00

54 lines
2.2 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.
# Состояние конвейера: `driver.py pipeline-state`
- Команды: `python3 .claude/skills/run-mtusi-messenger/driver.py pipeline-state`, затем `docker compose pause rabbitmq`, та же команда, `docker compose unpause rabbitmq`, та же команда
- Дата: 2026-10-31, 13:29:46–13:29:48 UTC; код выхода 0 во всех трёх случаях
- Commit: `e2a6427` (ветка `feat/pipeline-reliability`), рабочее дерево без правок кода (добавлены только файлы `evidence/`)
- Стенд: проект compose `mtusi-lab5`, собран `make run_docker` из `HEAD`
- Что показано: команда только читает; при замороженном брокере раздел заданий из PostgreSQL полный, а очередь — `available: false`, код 0 (design change `pipeline-reliability`, решение 8). Ответ при заморозке мгновенный, срок 15 с не понадобился: `docker exec` в замороженный контейнер отказывает сразу
- Задания `failed` — следы прежних проверок на рабочей базе
## Брокер работает
```json
{
"jobs_by_state": {"succeeded": 2412, "failed": 19},
"due": 0,
"waiting_for_time": 0,
"published_not_taken": 0,
"expired_leases": 0,
"oldest_queued_age_seconds": null,
"queue": {
"name": "messenger.attachment.process.v1",
"available": true,
"exists": true,
"durable": true,
"messages_ready": 0,
"messages_unacknowledged": 0,
"consumers": 1
}
}
```
## Брокер заморожен
```json
{
"jobs_by_state": {"succeeded": 2412, "failed": 19},
"due": 0,
"waiting_for_time": 0,
"published_not_taken": 0,
"expired_leases": 0,
"oldest_queued_age_seconds": null,
"queue": {
"name": "messenger.attachment.process.v1",
"available": false
}
}
```
## После разморозки
```text
{'name': 'messenger.attachment.process.v1', 'available': True, 'exists': True, 'durable': True, 'messages_ready': 0, 'messages_unacknowledged': 0, 'consumers': 1}
```