Summary
The Mute warnings button on the Health pages toggles a section's entry in dismissed_healthchecks, which drives two different consumers with different scopes. As a result, muting a warning-severity section has a visible effect (a bell-off icon in the sidebar via HealthLayout.tsx:164), but muting an error-severity section additionally drops it from the top-nav error banner (via getHealthErrors in DeploymentBannerView.tsx:424, which gates on severity === "error" && !dismissed).
The label "Mute warnings" describes the sidebar behavior well, but users muting a section while it is at error severity are silently dropping an outage indicator from the top-nav. This is pre-existing behavior (not introduced by #27554), and #27554 explicitly kept the "Mute warnings" wording per the requester.
Options
- Rename or re-scope the mute so it only affects warning-severity sections, and give error-severity sections a separate, deliberately loud path.
- Restrict
getHealthErrors so muting no longer suppresses error-severity sections in the top-nav; keep muting purely a sidebar/UI-noise concern.
- Change the label to something like "Mute this section" plus a tooltip that discloses both effects.
- Accept as-is and document the behavior.
Context
Filed by Coder Agents on behalf of @tracyjohnsonux.
Summary
The Mute warnings button on the Health pages toggles a section's entry in
dismissed_healthchecks, which drives two different consumers with different scopes. As a result, muting a warning-severity section has a visible effect (a bell-off icon in the sidebar viaHealthLayout.tsx:164), but muting an error-severity section additionally drops it from the top-nav error banner (viagetHealthErrorsinDeploymentBannerView.tsx:424, which gates onseverity === "error" && !dismissed).The label "Mute warnings" describes the sidebar behavior well, but users muting a section while it is at error severity are silently dropping an outage indicator from the top-nav. This is pre-existing behavior (not introduced by #27554), and #27554 explicitly kept the "Mute warnings" wording per the requester.
Options
getHealthErrorsso muting no longer suppresses error-severity sections in the top-nav; keep muting purely a sidebar/UI-noise concern.Context
site/src/pages/HealthPage/MuteWarningsButton.tsx.dismissed_healthchecks:site/src/modules/dashboard/DeploymentBanner/DeploymentBannerView.tsx(top-nav error banner).site/src/pages/HealthPage/HealthLayout.tsx(bell-off icon in sidebar).Filed by Coder Agents on behalf of @tracyjohnsonux.