Skip to content

Logs: say when a quiet finding resolves on its own - #297

Merged
nambok merged 1 commit into
mainfrom
logs/quiet-findings
Nov 3, 2026
Merged

nambok merged 1 commit into
mainfrom
logs/quiet-findings

Conversation

@nambok

@nambok nambok commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

Makes the quiet state of a log finding obvious. Pairs with CoderHelm/coderhelm-platform#439, which auto-resolves quiet open or acknowledged findings after a quiet period based on how often the pattern occurred.

Changes

  • LogFinding gains quiet_days, resolves_at, resolved_at and resolved_reason.
  • New and acknowledged findings read "Quiet for N days. Resolves on its own unless seen again." in the row and in a Quiet block in the detail.
  • Findings the analyzer closed read "Resolved on its own (no new lines for N days)." and the row is dimmed.
  • Fixed and ignored findings show the severity chip in a neutral tone; they already sort after open ones.
  • Mark as new is unchanged.

Verification

  • npx tsc --noEmit and npm run lint pass.
  • E2E_PORT=3671 npx playwright test e2e/logs.spec.ts: 16 passed, including a new test for the quiet and resolved wording, the order, and Mark as new on the open finding.

An open or acknowledged finding now reads "Quiet for N days. Resolves on
its own <date> unless seen again", and one the analyzer closed reads
"Resolved on its own <date>". Resolved and ignored findings show a dimmed
severity and sort after open ones. Mark as new stays.
@nambok
nambok merged commit 3ce4221 into main Nov 3, 2026
10 checks passed
@nambok
nambok deleted the logs/quiet-findings branch November 3, 2026 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant