Skip to content

feat(notify): limit heartbeat pings to specific notification URLs - #601

Merged
Starosdev merged 6 commits into
developfrom
feature/SCR-521-heartbeat-url-filter
Jun 9, 2026
Merged

Starosdev merged 6 commits into
developfrom
feature/SCR-521-heartbeat-url-filter

Conversation

@Starosdev

Copy link
Copy Markdown
Owner

Summary

  • Adds heartbeat_enabled field to notify_urls table (DB default true — existing URLs unaffected)
  • Heartbeat monitor now filters to only heartbeat-enabled URLs; other notification types (alerts, missed ping) unchanged
  • New PATCH /api/settings/notify-urls/:id endpoint to toggle the flag per URL
  • Frontend: per-URL mat-slide-toggle in the notification URL table and in the add-URL form (default off for new URLs)

Closes #521

Test Plan

  • Add a notification URL (e.g. Slack), verify heartbeat toggle defaults to off
  • Enable heartbeat on a healthchecks.io URL, verify heartbeat pings reach it but not the Slack URL
  • Disable heartbeat on existing URL (was true after migration), verify it no longer receives heartbeat pings
  • Config/env-sourced URLs show disabled toggle (read-only)
  • PATCH /api/settings/notify-urls/:id returns 404 for non-existent ID
  • All backend tests pass: go test ./webapp/backend/...

@Starosdev
Starosdev merged commit 8f59d18 into develop Jun 9, 2026
15 checks passed
Starosdev added a commit that referenced this pull request Jun 11, 2026
…tbeat URL filter (#602)

## Summary

- Add navigation visibility settings to show/hide ZFS Pools, MDADM RAID,
Btrfs, Workload links (#588)
- Group MDADM and Workload dashboard pages by host (#579)
- Add contextual help links pointing to docs throughout settings and
dashboard (#492)
- Fix Consumer Drive Profiles hint learn more link styling (#492)
- Add per-URL heartbeat toggle for notification URLs (#601)
- Backend migration adds navigation visibility settings with env var
support (`SCRUTINY_WEB_NAVIGATION_SHOW_*`)

## Linked Issues

Closes #588
Closes #579
Closes #492

## Test plan

- [x] `go vet ./...` passes
- [x] Frontend ESLint passes (`npm run lint`)
- [x] Frontend production build passes
- [x] CI passing on develop branch
- [x] Navigation visibility toggles tested on dev environment
(http://192.168.1.33:8680) — confirmed by issue reporter @thecodygriffin
- [x] Tested on `develop-omnibus` Docker image

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Starosdev pushed a commit that referenced this pull request Jun 11, 2026
## [1.63.0](v1.62.4...v1.63.0) (2026-06-11)

### Features

* **ui:** navigation visibility, host grouping, contextual help, heartbeat URL filter ([#602](#602)) ([f99c3ff](f99c3ff)), closes [#588](#588) [#579](#579) [#492](#492) [#492](#492) [#601](#601) [#588](#588) [#579](#579) [#492](#492)
@Starosdev
Starosdev deleted the feature/SCR-521-heartbeat-url-filter branch June 20, 2026 01:01
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