Skip to content

fix(wall): info alerts no longer drive the verdict or fill the list - #1641

Merged
Gerrrt merged 1 commit into
mainfrom
fix/wall-info-alerts
Nov 22, 2026
Merged

Gerrrt merged 1 commit into
mainfrom
fix/wall-info-alerts

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Nov 22, 2026

Copy link
Copy Markdown
Owner

What changed

The office wall (stacks/sensitive/wall/wall.js) now drives its verdict and alert list from critical and warning alerts only. Firing info alerts leave "All quiet" standing (with the backup and patch lines as before) and are counted on one muted line under it, e.g. "2 info recorded". Watchdog handling, the broken states and Caddy's /api/q/alerts are unchanged.

Why

The two HostBatteryTempNotMeasured alerts (on oracle and prometheus) are info by design ("recorded, never notified") and resolve only when a pack with a working thermistor is fitted. The wall counted every alert except Watchdog, so it said "2 alerts firing" in amber forever and "All quiet" could never show. The alert is right, and the wall was wrong to treat info as something to act on. The Glance Estate panel already counts only warning and critical. No issue; the changelog entry for 2026-11-22 records it.

Blast radius

The wall page on heimdall, served by Caddy on trinity. Nothing else. If this is wrong, the wall shows the wrong verdict; alert delivery is untouched.

  • No change to network segmentation or firewall rules
  • No new port published to a VLAN that could not already reach the service
  • No credential added outside secrets/*.sops.yaml

Verification

  • make validate passes: not run locally. Ran python scripts/check_docs.py (docs OK) and ./scripts/lint.sh (lint passed, yamllint and ruff from local binaries). Skipped, not run: markdownlint-cli2, shellcheck, actionlint, zizmor, packer (2), tofu (3), editorconfig-checker (no docker daemon) and ansible-lint (no pipx). node is not installed here, so wall.js was not syntax-checked locally. CI covers the rest.
  • Deployed to the lab and confirmed working: the user's step, on trinity.
  • Docs updated: stacks/sensitive/README.md (The wall page) and docs/changelog.md.

🤖 Generated with Claude Code

The wall counted every firing alert but Watchdog, so the two permanent
HostBatteryTempNotMeasured info alerts held it at "2 alerts firing" in
amber. It now counts only critical and warning, as Alertmanager delivers,
and shows info alerts as one muted line under "All quiet".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 22, 2026 19:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are recorded for the office wall’s informational-alert handling change.

No open issues 🎉

What changed in this PR

The office wall now excludes info alerts from its verdict and alert list, allowing “All quiet” to appear when only informational alerts are firing.

Changes:

  • Counts informational alerts on a muted line beneath “All quiet”.
  • Preserves Watchdog checks, broken states, and backup and patch summaries.
  • Documents the behavior and records the fix in the changelog.
File Description
stacks/​sensitive/​wall/​wall.js Filters out info alerts and adds their count to the quiet state.
stacks/​sensitive/​README.md Explains informational-alert handling and revised quiet-state text.
docs/​changelog.md Records the wall fix and its motivation.

Review effort: Balanced

@Gerrrt
Gerrrt merged commit 3c97138 into main Nov 22, 2026
10 checks passed
@Gerrrt
Gerrrt deleted the fix/wall-info-alerts branch November 22, 2026 20:27
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.

2 participants