fix(helm): align Hindsight probes and worker caps - #18
Conversation
1 similar comment
|
@ally Please review the Helm remediation for BLO-14004/BLO-13567. Focus on whether the API /version probes, worker /metrics probes, and worker retain/consolidation slot defaults match the intended live DB-pressure constraints without breaking the chart's StatefulSet worker identity contract. |
Ally — Consolidated PR ReviewLenses: pr-review-toolkit (code, tests, comments, errors, types) + gstack/review + native-codex. Critical Issues (1)
Important Issues (1)
Strengths
Recommended Action
|
Address review feedback on PR #18: - readinessProbe now hits /health (checks DB connectivity) instead of /version|/metrics, so k8s pulls a pod from rotation on DB outage instead of routing traffic to it. livenessProbe keeps /version|/metrics to avoid restart storms from transient DB blips. - worker_max_slots bumped 2 -> 3 so the shared task-slot pool no longer collapses to zero now that retain has its own reservation; without this, file_convert_retain/refresh_mental_model/graph_maintenance/ import_documents could never be claimed. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
Addressed both findings in f205156: Critical (shared-slot starvation) — confirmed: Important (readiness probes lost DB-outage detection) — reverted Verified with Live-rollout blocker from the PR description is unchanged (RBAC — tracked in BLO-14005). |
Ally — Consolidated PR ReviewLenses: pr-review-toolkit (code, tests, comments, errors, types) + gstack/review + native-codex. Looks goodThis push resolves both issues flagged in the prior review of this PR (head
Strengths
Note (non-blocking)The PR description text ("point API liveness/readiness at /version instead of /health", "point worker liveness/readiness at /metrics instead of /health") describes an earlier state of this branch and is now stale relative to the current diff, where readiness stays on Recommended Action
|
The "Helm Operations" paragraph claimed "readiness remains DB-backed on
`/health`". That is false against the chart and contradicts the
"Helm Health Probes" section immediately below it.
Ground truth in helm/hindsight/values.yaml at this head:
- API readiness -> /version (values.yaml:53)
- worker readiness -> /metrics (values.yaml:156)
- the only /health probes are the optional TEI reranker/embeddings
sidecars on ports 8090/8091 (values.yaml:396-447) -- unrelated to
API/worker readiness.
values.yaml:49-50 states the intent directly: "Keep readiness on the
cheap process/version endpoint so DB pressure cannot cascade into kube
probe failures".
The claim was introduced by #16 (8df7368, 2026-08-25) and regressed the
fact established by #21 (ead5161, 2026-08-11). Left uncorrected it
would lead a reader to repoint readiness at /health, reintroducing the
DB-pressure -> probe-failure restart cascade that #15, #18, #20 and #21
were filed to remove.
Drops the false clause and cross-references the section below rather
than restating it. Liveness endpoints and the DB-pool/concurrency
sentence were verified correct and are unchanged.
Co-authored-by: Staff Engineer <staff-engineer@paperclip.blockcast.net>
Co-authored-by: Paperclip <noreply@paperclip.ing>
Co-authored-by: Claude <noreply@anthropic.com>
Summary
Verification
Live rollout note