forked from mtusi2026/mtusi2026lab6
Carry over the agent context and openspec history from lab 5
Bring the Claude Code settings, the lint hook, the opsx commands and skills, the architecture notes, the lab 1 to lab 5 specs and the archived lab 1 to lab 5 changes into the lab 6 skeleton, so lab 6 continues the same spec history instead of starting from scratch. The files come from the lab 5 solution commit 64d5c67. Rewrite AGENTS.md and the openspec context and rules for lab 6: the business API stays at contract 1.6.0, API, relay and worker start the OpenTelemetry SDK in every process after fork and export OTLP over HTTP to a separate Collector, Prometheus, Loki and Tempo store metrics, logs and traces on volumes, Grafana only reads them through provisioning kept in Git, telemetry never blocks a request and never feeds /health/ready, metric labels stay low-cardinality and message bodies and secrets never leave the process. Out of scope moves to lab 7, track 2 and clustered telemetry backends. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
470d9d6f1e
commit
a0d3947710
+10
@@ -0,0 +1,10 @@
|
||||
## MODIFIED Requirements
|
||||
|
||||
### Requirement: Рестарт стенда
|
||||
|
||||
Хук `scripts/restart.sh` SHALL перезапускать балансировщик, все реплики API, relay, worker, PostgreSQL, Valkey, S3-сервер и брокер с сохранением volumes, без удаления и повторного заполнения данных, и SHALL завершаться кодом 0 не позднее 90 секунд, когда стенд, включая S3, снова готов: первое же чтение метаданных и байтов вложения после хука SHALL проходить без повторов.
|
||||
|
||||
#### Scenario: Полный рестарт сохраняет сессию
|
||||
|
||||
- **WHEN** выполняется `make test-persistence ACTION_SCRIPT=scripts/restart.sh`
|
||||
- **THEN** тест печатает `PASS: persistence preserved confirmed data and existing session`, а `StartedAt` контейнеров `lb`, `api`, `relay`, `worker`, `postgres`, `valkey`, `s3` и `broker` после прогона позже, чем до него
|
||||
Reference in New Issue
Block a user