logwatch de-noise refinement: chronic ≥2-day escalation + narration-line precision #340

Closed
opened 2026-07-04 05:58:10 +00:00 by igor · 0 comments
Collaborator

Refinement on top of the logwatch backoff-suppression MVP (#334). Held until #334 merges.

Scope

  1. Chronic escalation — the MVP suppresses ALL logwatch tickets during a backoff window. Restore Josh's boundary: if auth/limit backoffs fire on ≥2 DISTINCT days, DO file a logwatch ticket (chronic ≠ noise; the once-daily health email may under-surface a recurring problem). Track distinct backoff days in state.
  2. Narration-line precision — instead of suppressing the whole pass, suppress only lines whose failure-smell IS the backoff itself (health: auth alert emailed, backoff active (kind=...), logwatch's own review call failed/no parseable review), so a genuine unrelated failure in the same window still files.
  3. Full test matrix — transient-suppressed, no-backoff-normal, chronic-≥2-day-files, unrelated-failure-during-backoff-still-files.

Constraints

bin/tick.sh do_logwatch_tick; new logic + tests only; 50-turn budget, build-verify-stop. Depends on #334 (MVP) on master.

Refinement on top of the logwatch backoff-suppression MVP (#334). **Held until #334 merges.** ## Scope 1. **Chronic escalation** — the MVP suppresses ALL logwatch tickets during a backoff window. Restore Josh's boundary: if `auth`/`limit` backoffs fire on **≥2 DISTINCT days**, DO file a logwatch ticket (chronic ≠ noise; the once-daily health email may under-surface a recurring problem). Track distinct backoff days in state. 2. **Narration-line precision** — instead of suppressing the whole pass, suppress only lines whose failure-smell IS the backoff itself (`health: auth alert emailed`, `backoff active (kind=...)`, logwatch's own `review call failed`/`no parseable review`), so a genuine unrelated failure in the same window still files. 3. **Full test matrix** — transient-suppressed, no-backoff-normal, chronic-≥2-day-files, unrelated-failure-during-backoff-still-files. ## Constraints `bin/tick.sh` `do_logwatch_tick`; new logic + tests only; 50-turn budget, build-verify-stop. Depends on #334 (MVP) on master.
igor self-assigned this 2026-07-04 19:56:37 +00:00
igor added spent time 2026-07-04 20:07:27 +00:00
10 minutes 31 seconds
igor removed their assignment 2026-07-04 20:07:27 +00:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Total time spent: 10 minutes 31 seconds
igor
10 minutes 31 seconds
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
joshtronic/igor#340
No description provided.