fix(harness-ops): bound the OTEL hot tier's total size, not only each file
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 78/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- bash, shell
- Área
- observability, tooling
Línea de trabajo
Lee plugins/harness-ops/skills/observability/otel/prune-otel-store.sh en las líneas referenciadas 41, 104 y 259, donde se aplica el límite CC_OTEL_HOT_MAX_MB por archivo, y la sección correspondiente de operator-setup-retention.md. Decide un knob de límite total, añade una prueba en prune-otel-store.test.sh con tres archivos hot cada uno bajo el límite por archivo cuya suma lo excede, luego ejecuta bash scripts/run-test-file.sh sobre ese archivo más la comprobación de fragmento de changelog. Hecho cuando la suite pasa, los archivos quiet permanecen sin tocar, y el doc de retención nombra el límite total y el predeterminado.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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).
- Lenguaje dominante
- Shell
- Estrellas
- 22
- Forks
- 2
- Merge medio
- 3 h 42 min
- PR fusionados (30 d)
- 938
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de melodic-software/claude-code-plugins
-
admission-deferred priority: medium status: ready work-class: scoped
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
melodic-software/claude-code-plugins#9914 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
priority: low status: ready work-class: mechanical
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
melodic-software/claude-code-plugins#9911 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
priority: medium status: ready work-class: scoped
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
melodic-software/claude-code-plugins#9901 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
fix(pr-pipeline): name the missing dependencies permission when an intake edge write gets 403Abiertopriority: medium status: needs-decision work-class: scoped
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
melodic-software/claude-code-plugins#9855 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
priority: medium status: needs-decision work-class: scoped
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
melodic-software/claude-code-plugins#9842 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de melodic-software/claude-code-plugins
Issues similares
-
[Resource]: Valpas Keep AwakeAbiertoresource-submission validation-passed
Dificultad 1/5 Menos de una hora Aptitud para principiantes 67/100
hesreallyhim/awesome-claude-code#3264 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area: install bug good first issue hacktoberfest
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 3 días
-
Good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
armbian/build#11107 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Bug: Veracrypt failing againAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
wimpysworld/deb-get#2069 ·
Los mantenedores suelen responder en 5 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
coco-research/coco#405 ·
Los mantenedores suelen responder en 1 día