Display filter for diff severity #2
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
#1 Severity levels for run comparisons
bjoern/bizzfed-activitypub-tester
Reference
bjoern/bizzfed-activitypub-tester#2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hide diffs below a configurable severity threshold in the terminal / TUI output
Goal
The comparison output (
aptester rundiff section,aptester compare,aptester report, and the TUI Compare screen) always shows all detecteddiffs, including low-signal
infofindings (e.g. metric drift, build hashchanges). Users want to hide findings below a threshold in the display,
independent of the notification threshold (
severity.min_notification_severity,which only filters ntfy/webhook messages).
This plan adds a display-only severity threshold that filters which diffs
are rendered, while keeping the full diff list in the stored JSON result file.
Scope decisions (confirmed)
reporting.min_display_severity(defaultnull= show all).rundiff table (runner.py→print_diffs)aptester compareandaptester report(CLI)run.diffs) is never filtered; only the rendering.explaining that changes were suppressed, instead of "No changes detected."
severity.pyand is reused bynotifier.py,reporter.py, andtui.py(removes duplicated rank logic).Steps
reporting.min_display_severitytoReportingConfig.severity.filter_diffs_by_severity()shared helper.print_diffs()(+ suppressed-note message).notifier.py.runner.py,cli.py(compare/report),tui.pyCompare screen.config/default.sample.yaml,config/default.yaml,docs/04-severity-guide.md.CHANGELOG.md.ruff,mypy,pytest.