The user allowed stand-from-scratch to drop the volumes of its own throwaway project; record the answers to the open questions (no label re-shoots, working stand keeps all traces, quick profile unchanged) and that Actions are now enabled in the fork. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
85 lines
7.0 KiB
Markdown
85 lines
7.0 KiB
Markdown
# `driver.py stand-from-scratch --runs 2` (сценарий «Стенд с нуля одной командой»)
|
||
|
||
- Основа: commit `28b1704`, рабочее дерево чистое. Переснято на последнем шаге лабы 6 после разрешения пользователя
|
||
2026-11-15 (вопрос 8 `## otel-telemetry`, `QUESTIONS.md`): команде можно удалять volumes своего одноразового проекта
|
||
`mtusi-lab6-scratch`. Прежняя съёмка (2026-11-11, рабочее дерево поверх `9b35c25`) заменена.
|
||
- Дата: 2026-11-15, 10:06:28Z–10:08:36Z (~2 мин); команда из корня:
|
||
`python3 .claude/skills/run-mtusi-messenger/driver.py stand-from-scratch --runs 2`.
|
||
- Проект compose `mtusi-lab6-scratch` (рабочий `mtusi-lab6` команда не берёт — код 2), свободные порты хоста аргументами
|
||
`make run_docker`. Перед первым прогоном и после каждого — `docker compose -p mtusi-lab6-scratch down -v --remove-orphans`
|
||
изнутри команды: volumes проекта пусты до прогона и после него (`volumes left` 0, после команды volumes с `scratch` в
|
||
имени — 0). `.env` и `config.toml` — рабочего стенда (секреты те же, данные — свои volumes).
|
||
- Рабочий стенд на время проверки остановлен `make stop`, затем `docker compose start`; его 17 контейнеров до и после — с
|
||
теми же ID (последняя строка таблицы).
|
||
- Код выхода команды — 0.
|
||
|
||
```
|
||
working stand mtusi-lab6: 17 containers
|
||
down -v mtusi-lab6-scratch: code 0
|
||
run 1: make run_docker took 16 s
|
||
down -v mtusi-lab6-scratch: code 0
|
||
run 2: make run_docker took 12 s
|
||
down -v mtusi-lab6-scratch: code 0
|
||
|
||
run 1: project volumes before expected 0 got 0
|
||
run 1: make run_docker exit code expected 0 got 0
|
||
run 1: api state expected running:0 got running:0
|
||
run 1: cleaner state expected running:0 got running:0
|
||
run 1: grafana state expected running:0 got running:0
|
||
run 1: haproxy state expected running:0 got running:0
|
||
run 1: loki state expected running:0 got running:0
|
||
run 1: migrate state expected exited:0 got exited:0
|
||
run 1: otel-collector state expected running:0 got running:0
|
||
run 1: postgres state expected running:0 got running:0
|
||
run 1: prometheus state expected running:0 got running:0
|
||
run 1: rabbitmq state expected running:0 got running:0
|
||
run 1: relay state expected running:0 got running:0
|
||
run 1: s3 state expected running:0 got running:0
|
||
run 1: s3-bootstrap state expected exited:0 got exited:0
|
||
run 1: tempo state expected running:0 got running:0
|
||
run 1: valkey state expected running:0 got running:0
|
||
run 1: worker state expected running:0 got running:0
|
||
run 1: rabbitmq RestartCount expected 0 got 0
|
||
run 1: otel-collector RestartCount expected 0 got 0
|
||
run 1: prometheus RestartCount expected 0 got 0
|
||
run 1: loki RestartCount expected 0 got 0
|
||
run 1: tempo RestartCount expected 0 got 0
|
||
run 1: grafana RestartCount expected 0 got 0
|
||
run 1: eacces / permission denied in logs expected 0 got 0
|
||
run 1: grafana datasources provisioned and healthy expected yes got yes
|
||
run 1: dashboard provisioned expected 200 True got 200 True
|
||
run 1: make test through its LB expected 0 PASS got 0 PASS
|
||
run 1: volumes left expected 0 got 0
|
||
run 2: project volumes before expected 0 got 0
|
||
run 2: make run_docker exit code expected 0 got 0
|
||
run 2: api state expected running:0 got running:0
|
||
run 2: cleaner state expected running:0 got running:0
|
||
run 2: grafana state expected running:0 got running:0
|
||
run 2: haproxy state expected running:0 got running:0
|
||
run 2: loki state expected running:0 got running:0
|
||
run 2: migrate state expected exited:0 got exited:0
|
||
run 2: otel-collector state expected running:0 got running:0
|
||
run 2: postgres state expected running:0 got running:0
|
||
run 2: prometheus state expected running:0 got running:0
|
||
run 2: rabbitmq state expected running:0 got running:0
|
||
run 2: relay state expected running:0 got running:0
|
||
run 2: s3 state expected running:0 got running:0
|
||
run 2: s3-bootstrap state expected exited:0 got exited:0
|
||
run 2: tempo state expected running:0 got running:0
|
||
run 2: valkey state expected running:0 got running:0
|
||
run 2: worker state expected running:0 got running:0
|
||
run 2: rabbitmq RestartCount expected 0 got 0
|
||
run 2: otel-collector RestartCount expected 0 got 0
|
||
run 2: prometheus RestartCount expected 0 got 0
|
||
run 2: loki RestartCount expected 0 got 0
|
||
run 2: tempo RestartCount expected 0 got 0
|
||
run 2: grafana RestartCount expected 0 got 0
|
||
run 2: eacces / permission denied in logs expected 0 got 0
|
||
run 2: grafana datasources provisioned and healthy expected yes got yes
|
||
run 2: dashboard provisioned expected 200 True got 200 True
|
||
run 2: make test through its LB expected 0 PASS got 0 PASS
|
||
run 2: volumes left expected 0 got 0
|
||
working stand mtusi-lab6: same container IDs expected yes got yes
|
||
PASS: make run_docker on empty volumes passed 2 times at the first attempt
|
||
```
|