fix(harness-ops): bound the OTEL hot tier's total size, not only each file
I maintainer di solito rispondono entro 1 giorno
@melodic-automation-lanes ci sta già lavorando.
Dal 25/10/2026.
- #10137 di @melodic-automation-lanes — aperta
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 78/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- bash, shell
- Ambito
- observability, tooling
Direzione di ricerca
Leggi plugins/harness-ops/skills/observability/otel/prune-otel-store.sh alle righe indicate 41, 104 e 259, dove il limite CC_OTEL_HOT_MAX_MB per file è applicato, e la sezione corrispondente di operator-setup-retention.md. Decidi un knob di limite totale, aggiungi un test in prune-otel-store.test.sh con tre file hot ciascuno sotto il limite per file la cui somma lo supera, poi esegui bash scripts/run-test-file.sh su quel file più il controllo frammento di changelog. Fatto quando la suite passa, i file quiet sono intatti, e il doc di retention nomina il limite totale e il default.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Refs: #6637
Parent
#6637
Depends on
- none: on the frontier now
Outcome
prune-otel-store.sh keeps the hot tier (every cc-*.json file at the store root, taken together) at or under a
total size cap that matches the hot budget provisioning checks (1 GiB across those files). Today the size cap
applies per file, so three files can each stay under 1024 MiB while the tier is well over budget.
Context
CC_OTEL_HOT_MAX_MB(default 1024) is a cap "per hot file" (operator-setup-retention.md:50;
prune-otel-store.sh:41,:104,:259).- provisioning's store-size row measures the hot tier as all
cc-*.jsonfiles together against 1 GiB
(melodic-software/provisioning#754: 1.09 GiB total withcc-logs.jsonabout 648 MB, so no single file reached the cap). - #6637 saw 1.28 GB on both hosts while the prune ran. That is the per-file versus total mismatch above.
- Pick either a new total knob beside the per-file one or a change to the existing knob; the retention doc's
table states which, its default, and how it interacts with the age windows. Oldest lines are compacted to cold
first, as the per-file cap does today.
Done when
-
bash scripts/run-test-file.sh plugins/harness-ops/skills/observability/otel/prune-otel-store.test.shexits 0. - That test file has a case with three hot files each under the per-file cap whose sum is over the total cap;
it fails on origin/main and passes after the change, and the files' total after the prune is at or under the cap. - That test file has a stay-quiet case: files whose total is under the cap are not pruned for size.
-
operator-setup-retention.mdnames the total cap, its default and its unit. -
bash scripts/check-changelog-fragments.sh --check-required origin/mainexits 0.
Out of scope
- A reset (stop, wipe, restart) of the store: provisioning owns the service lifecycle
(observability SKILL.md:83-84).
Filed by AI while splitting the backlog (owner decisions Q93 to Q95 and C12, 2026-10-24).
- Lingua principale
- Shell
- Stelle
- 22
- Fork
- 2
- Merge medio
- 2h 45m
- PR unite (30g)
- 940
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di melodic-software/claude-code-plugins
-
admission-deferred priority: medium status: ready work-class: scoped
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
melodic-software/claude-code-plugins#10128 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
pr-pipeline: clear a feedback-not-landed escalation once the head moves and no lane thread is openApertapriority: medium status: needs-decision work-class: scoped
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
melodic-software/claude-code-plugins#10074 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
agent-ready priority: medium status: ready work-class: scoped
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
melodic-software/claude-code-plugins#9914 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
fix(pr-pipeline): name the missing dependencies permission when an intake edge write gets 403Apertapriority: medium status: needs-decision work-class: scoped
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
melodic-software/claude-code-plugins#9855 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
priority: medium work-class: scoped
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
melodic-software/claude-code-plugins#9842 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di melodic-software/claude-code-plugins
Issue simili
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
glossyio/traffic-monitor#256 ·
I maintainer di solito rispondono entro 1 giorno
-
source:reader type:content-error
Difficoltà 1/5 1-3 ore Idoneità per principianti 84/100
stephrobert/blog-roadmap#121 ·
-
lesson-submission pending-review
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 74/100
Ikalus1988/MisakaNet#3899 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
awsdocs/amazon-eks-user-guide#1257 ·
-
eks-recon: six more null-iteration crashes (networking env/args, observability ConfigMap data)Apertadeep-dive-feedback
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
aws-samples/sample-apex-skills#292 ·
I maintainer di solito rispondono entro 1 giorno