Anonymize the repository path in the faults evidence
make faults-evidence wrote the pytest rootdir with the local home directory, so the committed faults.txt was cleaned by hand and could not be reproduced by the command from the report. The target now replaces the repository path with <repo> and still fails when a stack test fails, since the pipe through sed hides the pytest exit code. The open review change also records that the lab 2 carry over moved the default image tag to the compose project. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
ac15b2ff62
commit
b1c80ee544
@@ -7,11 +7,12 @@
|
||||
|
||||
## 2. Обвязка
|
||||
|
||||
- [x] 2.1 `Makefile`: `BASE_URL` по порту `lb`, `API_IMAGE` по каталогу, `detection` трижды, `track1-control`
|
||||
- [x] 2.1 `Makefile`: `BASE_URL` по порту `lb`, `API_IMAGE` по каталогу (после переноса лабы 2 — `mtusi-messenger:${COMPOSE_PROJECT_NAME}` в `compose.yaml`), `detection` трижды, `track1-control`
|
||||
- [x] 2.2 `scripts/evidence-storage.sh` — volumes своего проекта; `scripts/limits.py` — коммит в заголовке
|
||||
- [x] 2.3 `scripts/scaling.py` — полный stderr сбоя `compose up` в `compose-up-failed.log`
|
||||
- [x] 2.4 `scripts/failover-each.sh` — `docker ps -a` реплик после хука; `scripts/failover-evidence.sh` — `SHIFT`
|
||||
- [x] 2.5 Проверка группы: `make lint`, `make check`, `bash -n`/`sh -n` скриптов
|
||||
- [x] 2.5 `make faults-evidence` заменяет путь репозитория на `<repo>` и падает, если тесты не прошли
|
||||
- [x] 2.6 Проверка группы: `make lint`, `make check`, `bash -n`/`sh -n` скриптов
|
||||
|
||||
## 3. Доказательства на итоговом коде
|
||||
|
||||
|
||||
Reference in New Issue
Block a user