Files
mtusi2026lab6/evidence/tests/final-checks.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

46 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.
# Офлайн-проверки последнего шага
- Команды: `make alerts_test`, `make check`, `make validate PYTHON=.venv/bin/python`, `make lint`
- Дата: 2026-11-15, 06:51:11–06:51:14 UTC; все четыре — код выхода 0
- Commit: `db3340d` (ветка `feat/lab6-final`), рабочее дерево без правок кода (изменены только `QUESTIONS.md` и файлы `evidence/`); `make lint` файлов не изменил (619 без изменений, `git status` до и после тот же)
- Без стенда: `make alerts_test` — одноразовый контейнер образа Prometheus из compose с `--network none`. Разбор правил и контроли красного прогона — `evidence/alerts/rules-test.md` (`ef60b47`), правила с тех пор не менялись
```text
$ make alerts_test
promtool from prom/prometheus:v3.15.1@sha256:fa3302279710be2f21a8301ec17a8b4f2301fd829bd113839b3b6b02b6f191a2
Checking prometheus.yml
SUCCESS: 1 rule files found
SUCCESS: prometheus.yml is valid prometheus config file syntax
Checking /etc/prometheus/rules.yml
SUCCESS: 20 rules found
Checking rules.yml
SUCCESS: 20 rules found
SUCCESS
runbook infra/otel/runbooks/MessengerHighErrorRate.md: ok
runbook infra/otel/runbooks/MessengerSlowRequests.md: ok
runbook infra/otel/runbooks/MessengerNoReadyReplicas.md: ok
runbook infra/otel/runbooks/MessengerQueueLagHigh.md: ok
runbook infra/otel/runbooks/MessengerQueueMetricsMissing.md: ok
runbook infra/otel/runbooks/TelemetryTargetDown.md: ok
runbook infra/otel/runbooks/TelemetryDataLoss.md: ok
alerts: 7, each with an existing runbook
$ make check
python3 scripts/check_contract.py
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
$ make validate PYTHON=.venv/bin/python
.venv/bin/python scripts/validate_openapi.py
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
$ make lint
619 files left unchanged
code formatted
All checks passed!
code checked and fixed if needed
619 files left unchanged
code formatted
All checks passed!
code checked and fixed if needed
```