fix: require test database keys and tidy stop-at-start in the driver

cache-check gains --require-test-keys: without keys of the test database
it fails instead of passing, and a plain PASS now says the temporary
database was not checked. The coverage exclusion names the flag.
auth-storage logs in only the first user, as the design says.
stop-at-start installs its signal handlers right before the try that
restores them and kills docker logs -f when reading is interrupted.
The student-tests rule warns that copied evidence keeps the check green.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-13 18:23:23 +03:00
co-authored by Claude Opus 5.5
parent d90a34b88b
commit 824676be32
4 changed files with 84 additions and 31 deletions
+3 -2
View File
@@ -78,8 +78,9 @@ EXCLUDED: dict[Scenario, Exclusion] = {
reason="ключи видны только в Valkey, а набор не знает, на какой "
"базе работает",
check="make test_isolated, затем driver.py --port <LB> "
"cache-check: число ключей с префиксами рабочей и тестовой базы "
"— evidence/cache/hits.md",
"cache-check --require-test-keys (без ключей тестовой базы — код "
"1): число ключей с префиксами рабочей и тестовой базы — "
"evidence/cache/hits.md",
),
("data-storage", "Прежний пользователь после рестарта"): Exclusion(
reason="нужен рестарт стенда, тесты сервер не трогают",