Files
Pulse/scripts
rcourtman 2f91b9bbd8 Land alerts refactor and standalone libvirt/XCP-ng VMs under Machines (#4906)
## Summary
Lands two verified commits onto `main` after resolving the merge with
`origin/main`:

1. **`48ac234269` — `refactor(alerts): retire dead layers, fix config
drift, dedupe tables`**
- Splits `internal/notifications/notifications.go` into focused modules
(`notification_config.go`, `email_delivery.go`, `apprise_delivery.go`,
`webhook_delivery.go`, `notification_dispatch.go`, `webhook_ssrf.go`),
porting `#4868` structured email branding (`SubjectPrefix`, `BrandName`,
`FooterNote`) cleanly into `notification_config.go` and
`email_delivery.go`.
- Consolidates platform alert tables into `PlatformAlertsTable.tsx` and
retires dead alert config fields.
- Browser proof:
`frontend-modern/browser-verification/fdb68765538c7f5c.json`.

2. **`2b78a6f874` — `feat(standalone): show agent libvirt and XCP-ng VMs
under Machines`**
- Parses optional `virsh --readonly domstats` balloon memory counters
(`available`/`usable`/`unused`) and projects standalone agent-reported
`libvirt` / `xcp-ng` VMs into a `VMs` tab under Machines
(`StandaloneVirtualMachinesTable.tsx`, host VM count pills,
`/standalone/vms?host=...`).
- Browser proof:
`frontend-modern/browser-verification/9b345049621d9e89.json`.

3. **Merge & browser verification receipt (`00613eb68b`, `0b7a1956d6`)**
- Cleanly merges `origin/main` (preserving email branding in split
notification modules and combining `PROXMOX_BACKUPS_INSPECTION_STATE`
with `STANDALONE_QUERY_PARAMS.host` in
`frontend-modern/src/routing/resourceLinks.ts`).
- Records fresh desktop (`1440x900`) and mobile (`390x844`) browser
verification receipt
`frontend-modern/browser-verification/f15057caa59aa6f3.json` for the
merged `resourceLinks.ts`.

## Verification
- Targeted Go tests: `internal/notifications`, `internal/api/alerting`,
`internal/alerts`, `internal/hostagent`, `internal/unifiedresources` —
all passed.
- Targeted Vitest suites: `resourceLinks.test.ts`,
`resourcePagePath.test.ts`, `StandaloneVirtualMachinesTable.test.tsx`,
`backupInventoryFocus.test.tsx` (4 files, 45 tests) — all passed.
- Frontend lint (all 10 checks) + `npm run type-check` — passed.
- `browser_verification_guard.py --base origin/main --commit HEAD` —
passed (`17/17` frontend files covered).
2026-11-22 18:21:10 +00:00
..
…
…
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
…
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-11-21 02:04:40 +00:00
2026-03-18 16:06:30 +00:00