Repository navigation
Closed
Copy link
Labels
agent-readyFully specified and briefed; eligible for autonomous pickup from the frontier.status: readyTriaged, unblocked, and fully specified; eligible to pick up.
Description
Refs: #6637
Parent
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). - harness-ops observability: add a documented reset action for the local OTEL store #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).
Metadata
Metadata
Assignees
Labels
agent-readyFully specified and briefed; eligible for autonomous pickup from the frontier.status: readyTriaged, unblocked, and fully specified; eligible to pick up.
Type
Fields
No fields configured for Task.
Activity
github-actions commentedon Oct 24, 2026
Proposed work class: work-class: scoped
Basis: automated intake triage; the lanes App applied this class.
Size: Small
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: none
Understood: prune-otel-store.sh applies its size cap per hot file, so several cc-*.json files can each stay under the cap while the hot tier as a whole exceeds the 1 GiB budget that provisioning checks. The fix is a total cap across all hot files, with the oldest lines compacted to cold first, plus tests and a retention doc update. The done-when items are all checkable in a lane run. The choice between a new total knob and changing the existing one is left to the implementer, and the retention doc must state the choice. No duplicates found among the open issues. Related: #6637.
Automated triage, applied by the lanes App.
kyle-sexton commentedon Oct 25, 2026
Released for re-triage under the owner's 2026-10-24 rule: an issue stops for a person only for an intent or vision question, a security call, a host or attended run, or spend outside prepaid credit. The hold label came off and intake triage runs again now; it re-applies a hold, with a numbered question, when one of those applies.
To hold this issue again, add
needs-human(orstatus: needs-decision) and say why in a comment.melodic-automation-lanes commentedon Oct 25, 2026
The token broker refused the work-resolve-issue run that
agent-readystarted because the lanes kill switch was on, so it did no work. work-unblock removed and addedagent-readyback to start a fresh run. A kill-switch refusal is no fault in this issue or the lanes, so it never counts against later re-fires; after limits.limit-stops-per-issue of them since a person last addedagent-readyor a run last reported, work-unblock waits longer before each one, up to 24 hours.