Files
mtusi2026lab2/evidence/clean-clone.txt
T
ArtyomandClaude Opus 5.5 957eabdfc3 Record level 3 evidence and fill in the report
Save sanitized outputs from a stand started from a clean state: the
clean clone run, smoke through the balancer, the stack view with the
replica hostnames, ports, networks, limits and the balancer server
states, the probe with two replicas behind one token and the eight
way race on one key, a failover run for each replica with the
container left exited and its graceful shutdown log, the hook
negative cases and the balancer answer without replicas, the
persistence run with StartedAt of every container before and after,
schema, migration rerun, KDF prefix, ignore rules, own tests and the
lab 2 stack fault tests through the balancer, plus the environment.

The report covers the clean clone start, the architecture, the
X-Instance-Id and idempotency decisions, the balancer settings, the
role to service table, the mapping of .env.example to the real
variables, one evidence row per level 3 criterion and the carried
lab 2 minimum, and the failure table for level 3.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-28 11:53:11 +03:00

28 lines
1.2 KiB
Plaintext

date: 2026-10-28T08:44:21Z commit: ae8fb0a
$ git clone … && git checkout solution/bpi2303-kostylev
$ make secrets
sh scripts/secrets.sh
создан secrets/postgres_password
создан secrets/database_url
создан secrets/cursor_secret
создан secrets/valkey_password
создан secrets/valkey.conf
создан secrets/cache_url
создан .env из .env.example
$ sed LB_HTTP_PORT=18083 LB_STATS_PORT=23083 .env # 8080 на этой машине занят стендами других лаб
$ docker compose --env-file .env config --quiet && echo valid
valid
$ make up # docker compose up -d --build --wait
Container mtusi2026lab3-postgres-1 Healthy
Container mtusi2026lab3-migrate-1 Exited
Container mtusi2026lab3-postgres-1 Healthy
Container mtusi2026lab3-migrate-1 Exited
Container mtusi2026lab3-valkey-1 Healthy
Container mtusi2026lab3-api-2 Healthy
Container mtusi2026lab3-api-1 Healthy
Container mtusi2026lab3-lb-1 Healthy
up --wait: 15 s
$ make test BASE_URL=http://localhost:18083
python3 tests/smoke.py --base-url "http://localhost:18083"
PASS: lab3 public API scenario; infrastructure and grading evidence remain separate.