Record levels 3 and 4 again after the lab 2 carry over

The carry over of the lab 2 fixes changed the request pipeline, logout,
the worker shutdown budget and the stop hooks, so every level 3 and 4
record is taken again on b1c80ee: checks, own tests, smoke, stack,
storage, failover of both replicas, persistence, hooks, the lab 2 stack
tests, limits and the injected violations, lb-check, three detection
runs, failover-each and both rolling updates under k6.

All of them pass: 243 own tests, 12 stack tests, no failed request under
k6 in failover-each and in both rolling updates.

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:
Artyom
2026-10-30 02:53:12 +03:00
co-authored by Claude Opus 5.5
parent b1c80ee544
commit f5fea5c59c
62 changed files with 8057 additions and 8019 deletions
+10 -10
View File
@@ -1,21 +1,21 @@
date: 2026-10-29T20:15:48Z commit: a02d442
date: 2026-10-29T23:44:35Z commit: b1c80ee
$ TARGET_INSTANCE_ID=<hostname реплики> scripts/stop-one.sh; echo exit=$? # seconds — длительность хука (окно вывода из ротации 2 с + остановка)
target=25e43a2e28f7 exit=0 seconds=2.58
25e43a2e28f7 exited exit_code=0 oom=false
87e8bd8ee0aa running exit_code=0 oom=false
target=286766bf2b32 exit=0 seconds=2.63
286766bf2b32 exited exit_code=0 oom=false
fa81adafcb69 running exit_code=0 oom=false
$ scripts/restore.sh
exit=0
25e43a2e28f7 running
87e8bd8ee0aa running
286766bf2b32 running
fa81adafcb69 running
$ TARGET_INSTANCE_ID=no-such-replica scripts/stop-one.sh; echo exit=$?
no running api replica answers as no-such-replica
exit=3
$ docker compose ps --format '{{.Service}} {{.Name}} {{.Status}}' # ничего не остановлено
api mtusi2026lab3-api-1 Up 2 seconds (healthy)
api mtusi2026lab3-api-2 Up 10 seconds (healthy)
lb mtusi2026lab3-lb-1 Up 16 seconds (healthy)
postgres mtusi2026lab3-postgres-1 Up 16 seconds (healthy)
valkey mtusi2026lab3-valkey-1 Up 16 seconds (healthy)
api mtusi2026lab3-api-2 Up 9 seconds (healthy)
lb mtusi2026lab3-lb-1 Up 11 seconds (healthy)
postgres mtusi2026lab3-postgres-1 Up 11 seconds (healthy)
valkey mtusi2026lab3-valkey-1 Up 11 seconds (healthy)
$ scripts/stop-one.sh # без TARGET_INSTANCE_ID
scripts/stop-one.sh: line 3: TARGET_INSTANCE_ID: test provides target API instance alias
exit=1