fix: address job-trace-propagation verify findings

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-11 20:53:13 +03:00
co-authored by Claude Opus 5.5
parent eaa1161cad
commit 72e2598d28
17 changed files with 355 additions and 79 deletions
+6
View File
@@ -114,6 +114,12 @@ paths:
(`evidence/telemetry/budget.md`). Если пик упирается в `GOMEMLIMIT` (Tempo: 398 из 400 МиБ под
`make student_test`), 80 % с правилом 1,5 × несовместимы: лимит — не меньше 1,5 × `GOMEMLIMIT`
(Tempo 640 МиБ при 400). Пик меряется под `make test` + `make load` + `make student_test`.
- **Что считать пиком** (verify change `job-trace-propagation`, W5): `memory.peak` cgroup — верхняя
граница, в неё входит файловый кэш (`file` в `memory.stat`), который ядро освобождает до OOM.
1,5 × `memory.peak` ≤ лимита — правило выполнено. Если нет, пик — неосвобождаемая часть
`anon` + `kernel` + `shmem` из `memory.stat` (наибольшая за прогон, хотя бы в конце), и лимит не
меньше 1,5 × её; в `budget.md` — оба числа и `file`. Grafana после рестарта: `memory.peak` 343 МиБ,
из них `file` 95, `anon` + `kernel` + `shmem` ≈ 197 — лимит 512 достаточен.
## Проверки