The report now namesa59e3a3as the last change of the application code andb1c80eeas the commit of every level 3 and 4 record, with the new replica IDs and numbers: three detection runs within the formula without the measurement slack, failover-each and both rolling updates without a failed request, 12 stack tests and 243 own tests. The shutdown section and the timeout chain follow the carried over budget: drain 2 s, then 3 s for accepted requests and a 500 for a stuck one, graceful timeout 6 s, stop hooks 7 s. make validate runs from .venv, faults evidence has its own target, AGENTS.md lists the control runs of track 1. The clean clone is taken again onf5fea5cwithout an explicit BASE_URL. The track 1 part keeps the review fixes of the H2 verdict, the grid bounds and the rounded numbers; the control runs follow. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
2.6 KiB
2.6 KiB
1. Требования и код
- 1.1 Тест порядка проверок
POST …/messagesдля постороннего (test_request_shape_is_checked_before_access) - 1.2 Убрать
# type: ignoreизshared/entrypoints/errors.py - 1.3
openspec/config.yaml:gunicorn_conf.pyв карте модулей - 1.4 Проверка группы:
make lint,make student-test,make check
2. Обвязка
- 2.1
Makefile:BASE_URLпо портуlb,API_IMAGEпо каталогу (после переноса лабы 2 —mtusi-messenger:${COMPOSE_PROJECT_NAME}вcompose.yaml),detectionтрижды,track1-control - 2.2
scripts/evidence-storage.sh— volumes своего проекта;scripts/limits.py— коммит в заголовке - 2.3
scripts/scaling.py— полный stderr сбояcompose upвcompose-up-failed.log - 2.4
scripts/failover-each.sh—docker ps -aреплик после хука;scripts/failover-evidence.sh—SHIFT - 2.5
make faults-evidenceзаменяет путь репозитория на<repo>и падает, если тесты не прошли - 2.6 Проверка группы:
make lint,make check,bash -n/sh -nскриптов
3. Доказательства на итоговом коде
- 3.1
evidence/checks.txt:make check,make validate,make lint - 3.2 Стенд:
make test,make stack-evidence,make storage-evidence,make failover-evidence×2,make persistence-evidence,make test-faults - 3.3
make level4: limits, lb-check, detection ×3, failover-each, rolling-update, rolling-updateFROM_REV=8d28d45 - 3.4
make track1-control: пул иmaxconnна 8×1, 8×0,5 против 4×1 - 3.5 Запуск из чистого clone с нестандартным портом без
BASE_URL - 3.6 Повтор 3.1–3.3 и 3.5 после переноса исправлений лабы 2 (
a59e3a3): уровни «3»/«4» наb1c80ee, чистый clone наf5fea5c - 3.7 Проверка группы: все файлы
evidence/несут коммит не раньше кода
4. Отчёт
- 4.1
REPORT.md: шапка, таблицы 4.x и отказов, трек (H2, методика, контроль, цифры), ограничения;evidence/README.md - 4.2 Сократить proposal
add-lab3-scaling-costдо 400 слов - 4.3 Проверка группы:
make check,make lint,make student-test