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-11-22 16:17:38 +00:00
2026-10-12 14:13:47 +01:00
2026-06-23 17:26:15 +01:00
2026-03-18 16:06:30 +00:00
2026-11-22 14:18:29 +00:00
2026-11-22 05:38:33 +00:00
2026-11-22 17:03:21 +00:00
2026-11-11 15:00:07 +00:00
2026-11-11 14:46:12 +00:00
2026-04-22 17:25:58 +01:00
2026-11-05 23:40:17 +00:00
2026-10-23 18:02:39 +01:00
2026-11-05 18:22:58 +00:00
2026-10-23 20:46:39 +01:00
2026-11-11 15:00:07 +00:00
2026-11-11 15:00:07 +00:00
2026-11-11 15:00:07 +00:00
2026-03-18 16:06:30 +00:00
2026-10-15 11:42:25 +01:00
2026-09-01 12:17:00 +01:00
2026-11-01 14:50:35 +00:00
2026-11-21 07:25:45 +00:00
2026-08-28 11:35:41 +01:00
2026-11-01 04:27:59 +00:00
2026-09-06 17:17:36 +01:00
2026-09-06 15:12:07 +01:00
2026-11-04 11:17:14 +00:00
2026-11-04 11:17:14 +00:00
2026-11-21 12:34:51 +00:00
2026-09-08 07:00:33 +01:00
2026-09-08 08:42:45 +01:00
2026-09-06 04:22:09 +01:00
2026-09-06 10:19:46 +01:00
2026-09-08 12:54:21 +01:00
2026-09-21 07:23:24 +01:00
2026-11-17 20:11:48 +00:00
2026-10-29 00:11:10 +00:00
2026-08-29 22:41:04 +01:00
2026-10-08 17:22:29 +01:00
2026-09-10 06:44:37 +01:00
2026-11-17 20:11:48 +00:00
2026-09-06 04:22:09 +01:00
2026-10-08 00:17:08 +01:00
2026-11-17 20:11:48 +00:00
2026-10-23 21:03:01 +01:00
2026-09-07 16:39:11 +01:00
2026-09-08 21:59:40 +01:00
2026-09-08 23:29:31 +01:00
2026-03-26 12:26:55 +00:00
2026-10-14 04:13:00 +01:00
2026-11-01 23:07:58 +00:00
2026-11-18 16:33:57 +00:00
2026-11-21 08:35:29 +00:00
2026-11-20 22:11:25 +00:00
2026-03-24 15:49:29 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-10-10 19:00:17 +01:00
2026-03-18 16:06:30 +00:00
2026-11-15 04:37:44 +00:00
2026-03-18 16:06:30 +00:00
2026-10-24 14:31:21 +01:00
2026-11-18 07:08:31 +00:00
2026-05-12 00:30:43 +01:00
2026-11-05 18:22:58 +00:00
2026-08-27 17:54:10 +01:00
2026-03-24 15:39:55 +00:00
2026-10-25 19:47:30 +00:00
2026-11-11 15:00:07 +00:00
2026-09-06 22:11:03 +01:00
2026-10-09 22:25:34 +01:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-06-23 17:26:15 +01:00
2026-10-24 20:43:52 +01:00
2026-07-27 11:58:05 +01:00
2026-10-23 00:15:04 +01:00
2026-11-09 06:45:16 +00:00
2026-10-29 15:08:42 +00:00
2026-09-10 06:44:37 +01:00
2026-10-08 09:56:53 +01:00
2026-08-31 22:11:38 +01:00
2026-09-08 10:32:49 +01:00
2026-09-08 08:23:44 +01:00
2026-09-08 08:23:44 +01:00
2026-11-08 13:10:03 +00:00
2026-11-21 02:04:40 +00:00
2026-11-11 15:00:07 +00:00
2026-08-30 05:11:55 +01:00
2026-11-17 16:40:12 +00:00
2026-11-17 12:59:31 +00:00
2026-11-22 16:17:38 +00:00
2026-10-13 05:34:03 +01:00
2026-11-18 13:46:59 +00:00
2026-10-25 04:00:03 +00:00
2026-09-01 16:11:04 +01:00
2026-11-21 02:50:17 +00:00
2026-11-07 00:17:09 +00:00
2026-09-01 16:11:04 +01:00
2026-10-04 03:00:30 +01:00
2026-10-04 04:57:17 +01:00
2026-08-29 23:48:28 +01:00
2026-08-29 02:59:47 +01:00
2026-11-05 18:22:58 +00:00
2026-10-26 14:57:25 +00:00
2026-11-20 16:53:02 +00:00
2026-08-31 01:50:48 +01:00
2026-09-09 01:34:22 +01:00
2026-09-19 21:24:38 +01:00
2026-09-07 16:47:55 +01:00
2026-03-19 10:18:45 +00:00
2026-05-01 21:36:28 +01:00
2026-11-06 14:02:04 +00:00
2026-07-29 20:09:23 +01:00
2026-11-11 14:46:12 +00:00
2026-08-30 01:51:58 +01:00
2026-04-23 23:09:10 +01:00
2026-04-11 13:50:00 +01:00
2026-04-15 12:23:57 +01:00
2026-11-21 12:14:28 +00:00
2026-09-01 10:43:35 +01:00
2026-11-07 11:00:38 +00:00
2026-08-12 17:07:12 +01:00
2026-11-16 22:02:35 +00:00
2026-11-05 18:22:58 +00:00
2026-11-05 18:22:58 +00:00
2026-10-14 05:15:15 +01:00
2026-09-02 02:52:13 +01:00
2026-09-01 01:02:17 +01:00
2026-10-29 15:08:42 +00:00
2026-10-26 17:32:06 +00:00
2026-03-18 16:06:30 +00:00
2026-11-07 11:00:38 +00:00
2026-11-07 00:17:09 +00:00
2026-08-29 19:59:04 +01:00
2026-03-28 21:32:11 +00:00
2026-10-17 21:51:08 +01:00
2026-10-29 18:24:03 +00:00
2026-10-12 00:10:22 +01:00
2026-08-23 15:09:32 +01:00
2026-09-28 16:42:46 +01:00
2026-10-15 11:42:25 +01:00
2026-09-02 02:28:14 +01:00
2026-10-26 20:52:58 +00:00
2026-08-31 04:55:15 +01:00
2026-11-03 21:03:27 +00:00
2026-11-05 19:30:24 +00:00
2026-09-05 15:43:23 +01:00
2026-10-26 06:00:47 +00:00
2026-09-04 01:04:30 +01:00
2026-10-26 06:00:47 +00:00
2026-09-01 16:54:07 +01:00