Repository navigation
fix(wall): info alerts no longer drive the verdict or fill the list - #1641
Merged
Merged
Conversation
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>
There was a problem hiding this comment.
🟢 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
The office wall (
stacks/sensitive/wall/wall.js) now drives its verdict and alert list fromcriticalandwarningalerts only. Firinginfoalerts 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/alertsare unchanged.Why
The two
HostBatteryTempNotMeasuredalerts (onoracleandprometheus) areinfoby 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 treatinfoas something to act on. The Glance Estate panel already counts onlywarningandcritical. No issue; the changelog entry for 2026-11-22 records it.Blast radius
The wall page on
heimdall, served by Caddy ontrinity. Nothing else. If this is wrong, the wall shows the wrong verdict; alert delivery is untouched.secrets/*.sops.yamlVerification
make validatepasses: not run locally. Ranpython 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).nodeis not installed here, sowall.jswas not syntax-checked locally. CI covers the rest.trinity.stacks/sensitive/README.md(The wall page) anddocs/changelog.md.🤖 Generated with Claude Code