Archive pool recovery and record current grade 3 evidence

This commit is contained in:
Artyom
2026-11-05 22:08:14 +03:00
parent 0a1f48bd73
commit ef0b9a385e
38 changed files with 1171 additions and 521 deletions
+28 -17
View File
@@ -1,23 +1,34 @@
date: 2026-10-30T02:44:16Z commit: e049c26
$ make check
date: 2026-11-05T18:56:09.780488+00:00 commit: 0a1f48bd73e5780c732356880c23fdb476bcff98
environment: COMPOSE_PROJECT_NAME=mtusi2026lab3-grade3-final-20261105 LB_HTTP_PORT=18083 LB_STATS_PORT=23083 API_REPLICAS=2 NO_PROXY=localhost,127.0.0.1,::1
$ sh -c 'set -e; make check; make validate; make lint; uv lock --check; openspec validate --all --strict; git diff --exit-code upstream/main -- contracts tests README.md COURSE.md lab.json MAINTAINERS.md'
python3 scripts/check_contract.py
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
exit=0
$ make validate # .venv из make install: openapi-spec-validator в dev-группе
.venv/bin/python scripts/validate_openapi.py
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
exit=0
$ make lint
.venv/bin/ruff check src student-tests scripts/probe.py scripts/limits.py scripts/scaling.py tools
.venv/bin/ruff check src student-tests alembic scripts/probe.py scripts/limits.py scripts/scaling.py tools
All checks passed!
.venv/bin/ruff format --check src student-tests scripts/probe.py scripts/limits.py scripts/scaling.py tools
104 files already formatted
.venv/bin/ty check src student-tests
.venv/bin/ruff format --check src student-tests alembic scripts/probe.py scripts/limits.py scripts/scaling.py tools
107 files already formatted
.venv/bin/ty check src student-tests alembic
All checks passed!
exit=0
$ git diff --stat upstream/main -- contracts tests README.md COURSE.md lab.json MAINTAINERS.md # контракт, публичные тесты и задание не изменены: вывод пуст
exit=0
$ git diff --stat upstream/main -- .github # шаблон PR не изменён, добавлен только собственный CI job
.github/workflows/application.yml | 82 +++++++++++++++++++++++++++++++++++++++
1 file changed, 82 insertions(+)
exit=0
Resolved 64 packages in 14ms
- Validating...
✓ change/2026-11-05-adopt-sqlalchemy-alembic
✓ change/fix-lab3-postgres-pool-recovery
✓ spec/lab1-event-publication
✓ spec/lab1-messenger-chats
✓ spec/lab1-messenger-history
✓ spec/lab1-messenger-identity
✓ spec/lab1-service-operability
✓ spec/lab2-auth-sessions
✓ spec/lab2-dependency-failures
✓ spec/lab2-history-index
✓ spec/lab2-persistent-storage
✓ spec/lab2-session-cache
✓ spec/lab3-failover-operations
✓ spec/lab3-idempotent-messages
✓ spec/lab3-load-balancing
✓ spec/lab3-scaling-cost
Totals: 16 passed, 0 failed (16 items)
exit_code: 0 elapsed_seconds: 1.458