Align Physical Disk, Plans, and VMware API Help with runtime

Update unclaimed in-app Help guides, their shipped public mirrors, and
source-bound regression tests to match landed Pulse runtime behaviour:

- docs/monitoring/METRICS_DATA_FLOW.md, docs/VM_DISK_MONITORING.md, and
  docs/ZFS_MONITORING.md (+ mirrors): align with physical-disk
  stale-reading cues from #5333 (20146aa2de) across Storage tables,
  Physical Disks & SMART cards, linked pool member details, guest
  physical disks, and DiskDrawerOverview (amber Stale verdict for clear
  stale disks, inline Stale data cue preserving Replace Now / Needs
  Attention, muted last-known temperatures and SSD life without live
  Running Hot, and deferred temperature/SMART history charts until live
  reporting recovers).
- docs/PULSE_PRO.md (+ mirror): align the Paid Feature Proof Map,
  Feature Matrix, Pro plan summary, and Feature Status API keys with
  pkg/licensing/features.go and self_hosted_feature_catalog.go by adding
  FeatureExternalProbe (external_probe, Pro/Cloud remote availability
  probes while local checks stay free in Community) and marking
  FeatureUnlimited as MSP/Enterprise capacity policy (Y*) rather than a
  TierCloud default.
- docs/API.md (+ mirror): document the live VMware vSphere connection
  management routes (/api/vmware/connections, /test, /{id}/test,
  /preview, /{id}/preview, and PULSE_FEATURE_VMWARE=false 404
  vmware_disabled) from internal/api/router_routes_registration.go and
  internal/api/vmware_handlers.go, and complete GET /api/resources
  source and type query values (truenas, vmware/vmware-vsphere,
  availability, docker-host, network-endpoint, network-share).
- scripts/tests/test_alerting_outage_help_docs.py and
  scripts/tests/test_public_docs_claims.py: bind each updated guide and
  shipped mirror directly to live Go and TypeScript source.

Contract-Neutral: Documentation, shipped in-app Help mirrors, and source-bound Python doc tests aligned with already-landed runtime behaviour without changing API contracts, polling, alerting, telemetry, or UI source.
Change-source: pulse-maintainer
This commit is contained in:
pulse-triage[bot]
2026-11-28 02:10:17 +00:00
parent c1e83a4680
commit b46b02f3bb
11 changed files with 202 additions and 16 deletions

View File

@@ -361,8 +361,8 @@ For small memory or disk readings, see
[Proxmox and PBS capacity percentages](#proxmox-and-pbs-capacity-percentages).
Query params:
- `type`: comma-separated list (e.g., `agent`, `vm`, `system-container`, `app-container`, `docker-service`, `storage`, `pbs`, `pmg`, `k8s-cluster`, `k8s-node`, `pod`, `k8s-deployment`, `physical_disk`, `ceph`)
- `source`: comma-separated list (e.g., `proxmox`, `agent`, `docker`, `pbs`, `pmg`, `kubernetes`)
- `type`: comma-separated list (e.g., `agent`, `docker-host`, `vm`, `system-container`, `app-container`, `docker-service`, `storage`, `pbs`, `pmg`, `network-endpoint`, `network-share`, `k8s-cluster`, `k8s-node`, `pod`, `k8s-deployment`, `physical_disk`, `ceph`)
- `source`: comma-separated list (e.g., `proxmox`, `agent`, `docker`, `pbs`, `pmg`, `kubernetes`, `truenas`, `vmware` or `vmware-vsphere`, `availability`)
- `excludeSource`: comma-separated list of sources that must not be present on a matching resource
- `status`: comma-separated list (`online`, `offline`, `warning`, `unknown`)
- `parent`: parent resource ID
@@ -2401,6 +2401,23 @@ TrueNAS resources (pools, datasets, disks, ZFS snapshots, replication tasks, ale
---
## VMware vSphere (Early Access)
VMware vCenter connection management endpoints for adding, testing, previewing, updating, and removing vCenter connections. When VMware integration is explicitly disabled via `PULSE_FEATURE_VMWARE=false`, these routes return `404` (`vmware_disabled`).
### Connection Management (Admin)
- `GET /api/vmware/connections` (admin, `settings:read`) - List configured vCenter connections with secrets redacted plus `poll` and `observed` runtime status summaries.
- `POST /api/vmware/connections` (admin, `settings:write`) - Add a new vCenter connection. Returns `201` with the redacted connection, `400` `validation_error`, or `403` `mock_mode_enabled` in mock mode.
- `PUT /api/vmware/connections/{id}` (admin, `settings:write`) - Update a saved vCenter connection using a private JSON file. Unchanged masked passwords are preserved from the stored record, so never send a masked placeholder as a new secret. Returns `200` with the redacted connection, `400` `validation_error`, `404` `vmware_not_found`, or `403` `mock_mode_enabled` in mock mode.
- `DELETE /api/vmware/connections/{id}` (admin, `settings:write`) - Remove a configured vCenter connection. Returns `404` `vmware_not_found` for an unknown ID or `403` `mock_mode_enabled` in mock mode.
- `POST /api/vmware/connections/test` (admin, `settings:write`) - Test a draft vCenter connection before saving. Returns host, VM, datastore, and network counts, `viRelease`, and any `degraded` or `issues` enrichment diagnostics, or `400` (`vmware_invalid_config` or `vmware_connection_failed`) on failure.
- `POST /api/vmware/connections/{id}/test` (admin, `settings:write`) - Live-test a saved vCenter connection with its stored credentials. An optional JSON body overrides fields for this test only without saving. When called without override fields, the test updates the connection's runtime test status summary on the VMware poller. Returns `404` (`vmware_not_found`) for an unknown ID and `400` (`vmware_invalid_config` or `vmware_connection_failed`) on failure.
- `POST /api/vmware/connections/preview` and `POST /api/vmware/connections/{id}/preview` (admin, `settings:write`) - Project the canonical monitored-system impact of adding or editing a vCenter connection without persisting changes.
VMware vSphere resources (ESXi hosts, VMs, datastores, networks, health signals, and activity) are surfaced through the unified `/api/resources` endpoint with `source=vmware` (or its `source=vmware-vsphere` alias).
---
## 📱 Relay / Pulse Mobile (retiring 31 March 2027)
End-to-end encrypted relay protocol for mobile connectivity.

View File

@@ -139,7 +139,7 @@ surface upgrade prompts unless the user deliberately enters a commercial path.
| Existing Pulse Mobile pairing and push continue until 31 March 2027; Relay does not provide remote access to the web UI. | `pkg/licensing/features.go` retains `relay`, `mobile_app`, and `push_notifications` for compatible paid payloads; relay onboarding/settings routes remain license-gated. These keys do not make Relay a plan to buy. | `pkg/licensing/features_test.go`, `pkg/licensing/entitlement_payload_test.go`, `internal/api/relay_sso_license_gating_test.go`, and `frontend-modern/src/components/Settings/__tests__/RelaySettingsPanel.runtime.test.tsx`. |
| Pro includes Patrol issue investigation and verified fix actions. | `internal/api/ai_handlers.go` gates alert-triggered analysis behind `ai_alerts` and fix/autonomy behavior behind `ai_autofix`; `internal/ai/service.go` enforces the same capabilities in service-level paths. | `pkg/licensing/features_test.go`, `internal/api/router_routes_ai_execute_stream_test.go`, `internal/api/ai_intelligence_handlers_remediation_more_test.go`, and `frontend-modern/src/pages/__tests__/AIIntelligence.test.tsx`. |
| Metric history is free on every plan. | `pkg/licensing/features.go` includes `long_term_metrics` in Community; `internal/api/router.go` (`handleMetricsHistory`) and `internal/api/availability_history_handlers.go` serve every supported range without a plan check; storage retention alone decides how far back data goes. | `pkg/licensing/upgrade_retirement_test.go`, `internal/api/router_version_tenant_metrics_test.go` (`TestHandleMetricsHistory_EveryPlanServesEveryRange`), and `frontend-modern/src/components/shared/__tests__/useHistoryChartState.test.tsx`. |
| Pro includes business/admin extras: RBAC, audit logging, reporting, and agent profiles. | Router and settings gates use `rbac`, `audit_logging`, `advanced_reporting`, and `agent_profiles`; audit capture is SQLite-backed in `pkg/server/server.go` and `pkg/audit/sqlite_factory.go`, while query/export remains license-gated. | `internal/api/security_regression_test.go`, `internal/api/rbac_lifecycle_test.go`, `pkg/reporting/catalog_test.go`, and `frontend-modern/src/components/Settings/__tests__/settingsNavigation.integration.test.tsx`. |
| Pro includes business/admin extras: RBAC, audit logging, reporting, agent profiles, and remote external probes. | Router and settings gates use `rbac`, `audit_logging`, `advanced_reporting`, `agent_profiles`, and `external_probe`. Audit capture is SQLite-backed in `pkg/server/server.go` and `pkg/audit/sqlite_factory.go`, while query/export remains license-gated. | `internal/api/security_regression_test.go`, `internal/api/rbac_lifecycle_test.go`, `pkg/reporting/catalog_test.go`, `pkg/licensing/upgrade_test.go`, `internal/api/contract_test.go`, and `frontend-modern/src/components/Settings/__tests__/settingsNavigation.integration.test.tsx`. |
## Feature Matrix
@@ -167,10 +167,11 @@ keys and old 14-day limit remain in code without changing that policy.
| `FeatureRBAC` | `rbac` | Role-Based Access Control (RBAC) | N | N | Y | Y | Custom-role and manual user-assignment administration is gated via `RequireLicenseFeature(..., rbac, ...)`. |
| `FeatureAuditLogging` | `audit_logging` | Audit Logging | N | N | Y | Y | API route gating for audit query, verify, and export endpoints. |
| `FeatureAdvancedReporting` | `advanced_reporting` | PDF/CSV Reporting | N | N | Y | Y | API route gating via `RequireLicenseFeature(..., advanced_reporting, ...)`. |
| `FeatureExternalProbe` | `external_probe` | External Probes | N | N | Y | Y | Remote availability-check observation locations on connected agents. Local server checks remain included in Community. |
| `FeatureLongTermMetrics` | `long_term_metrics` | Metric History | Y | Y | Y | Y | Compatibility key. Metric history is not plan-limited; storage retention settings decide how far back it goes. |
| `FeatureMultiUser` | `multi_user` | Multi-User Mode | N | N | N | Y* | Enterprise/custom only. |
| `FeatureMultiTenant` | `multi_tenant` | Multi-Tenant Mode | N | N | N | Y* | Requires both `PULSE_MULTI_TENANT_ENABLED=true` and the `multi_tenant` capability for non-default orgs. |
| `FeatureUnlimited` | `unlimited` | Hosted Capacity Policy | N | N | N | Y | Hosted/enterprise capacity policy only; not a self-hosted core monitoring gate. |
| `FeatureUnlimited` | `unlimited` | Hosted Capacity Policy | N | N | N | Y* | MSP and Enterprise capacity policy marker in `pkg/licensing/features.go`. Not part of `TierCloud` defaults or a self-hosted core monitoring gate. |
| `FeatureWhiteLabel` | `white_label` | White-Label Report Branding | N | N | N | Y* | Gates custom report branding. Provider defaults and per-client overrides render only when this entitlement is active. |
## Patrol Modes
@@ -204,6 +205,7 @@ Patrol mode decides how far Pulse can go after Patrol finds something that needs
- Patrol handles safe fixes through Patrol mode.
- Centralized agent profiles.
- RBAC, audit logging, and advanced reporting.
- External availability-check probes from connected remote agents (`external_probe`). Local checks on the Pulse server stay free in Community.
- Existing Pulse Mobile pairing and push notifications until 31 March 2027.
### Legacy Pro+
@@ -273,7 +275,7 @@ not a public issue containing account evidence.
You can inspect active feature gates via:
- `GET /api/license/features` (authenticated)
This returns a feature map including keys like `relay`, `ai_alerts`, `ai_autofix`, `agent_profiles`, and `multi_tenant` so you can conditionally enable paid workflows safely.
This returns a feature map including keys like `relay`, `ai_alerts`, `ai_autofix`, `agent_profiles`, `external_probe`, and `multi_tenant` so you can conditionally enable paid workflows safely.
## Deep Dives

View File

@@ -415,6 +415,15 @@ working Machines view does not prove that the QEMU-only path recovered. Use
[existing Machines readings](#use-existing-machines-readings-without-changing-the-guest)
only with those distinctions, without installing another agent.
Linked physical disks shown in a guest drawer follow the same freshness rules
when their host agent or Proxmox source stops updating. Clear stale disks switch
from **Healthy** to an amber **Stale** verdict, while **Replace Now** and
**Needs Attention** disks keep their fault verdict beside an inline amber
**Stale data** cue. Retained temperatures stay muted as last-known values
without triggering live **Running Hot**, and opening the disk drawer displays an
inline stale-readings warning and defers temperature and SMART history charts
until live reporting recovers.
Use normally collected observations and the guest's established filesystem
view for capacity decisions. Do not run Diagnostics, guest-agent probes,
a backup or a restart to turn an unknown reading into a number. Do not bypass a

View File

@@ -105,8 +105,12 @@ match.
- **Pool health disagrees:** compare the same pool's native health and device
errors with Pulse's reading and last successful collection time. A retained
value is not proof of a fresh read; missing health is **unknown**, not
`ONLINE`. Keep established native ZFS health checks meanwhile. Do not scrub,
export/import, clear errors or replace a device just to investigate a display.
`ONLINE`. When a linked physical disk's host agent or Proxmox source goes
stale, pool member details keep its retained temperature muted as a last-known
reading without triggering live **Running Hot**, and clear the stale cue
automatically once live reporting resumes. Keep established native ZFS health
checks meanwhile. Do not scrub, export/import, clear errors or replace a
device just to investigate a display.
If server logs are needed, use the
[bounded Pulse log reader](TROUBLESHOOTING.md#inspect-notification-logs) for your

View File

@@ -6,7 +6,7 @@ polling or storage. Keep the same connection, resource and metric in each view.
| Where you see it | Where the readings come from |
| --- | --- |
| **Bars** and live status rows across platform tables | The latest resource state delivered to the page, not a query for stored points. When a provider or agent stops updating, cached rows across Proxmox (including Ceph and replication), Docker (including images, storage, networks, Compose, Swarm, and Active Alerts), TrueNAS (including protection and Health Alerts), Kubernetes (including inventory, record drawers, and Active Alerts), and VMware (including Health Signals and Activity) show an amber **Stale data** cue and expanded-drawer notice while preserving worse Offline, Degraded, or alert severity states. Keep any stale, last-known, or unavailable indication with the value. |
| **Bars** and live status rows across platform tables | The latest resource state delivered to the page, not a query for stored points. When a provider or agent stops updating, cached rows across Proxmox (including Ceph and replication), Docker (including images, storage, networks, Compose, Swarm, and Active Alerts), TrueNAS (including protection and Health Alerts), Kubernetes (including inventory, record drawers, and Active Alerts), VMware (including Health Signals and Activity), and Physical Disks (Storage tables, **Physical Disks & SMART** cards, linked pool and guest physical disks, and disk drawers) show an amber **Stale data** cue (or amber **Stale** verdict for clear stale disks) and expanded-drawer notice while preserving worse Offline, Degraded, Replace Now, Needs Attention, or alert severity states. Stale physical disk temperatures and SSD life stay muted as last known without triggering live **Running Hot**, and temperature or SMART history charts defer until live reporting recovers. Keep any stale, last-known, or unavailable indication with the value. |
| **Trends** in a workload or Proxmox node table | A separate server chart read. Workload summaries use `/api/charts/workloads` and node summaries use `/api/charts/infrastructure`. Some row previews read history for just that resource. The browser can retain an earlier result for the same selection while it refreshes. |
| **Overview** charts in a resource drawer (or **History** on older layouts) | A read of `/api/metrics-store/history` for the selected resource and range. Check the chart's source label and observation time. A current or recent-only fallback is not stored coverage, and an empty range is not measured zero. |

View File

@@ -361,8 +361,8 @@ For small memory or disk readings, see
[Proxmox and PBS capacity percentages](#proxmox-and-pbs-capacity-percentages).
Query params:
- `type`: comma-separated list (e.g., `agent`, `vm`, `system-container`, `app-container`, `docker-service`, `storage`, `pbs`, `pmg`, `k8s-cluster`, `k8s-node`, `pod`, `k8s-deployment`, `physical_disk`, `ceph`)
- `source`: comma-separated list (e.g., `proxmox`, `agent`, `docker`, `pbs`, `pmg`, `kubernetes`)
- `type`: comma-separated list (e.g., `agent`, `docker-host`, `vm`, `system-container`, `app-container`, `docker-service`, `storage`, `pbs`, `pmg`, `network-endpoint`, `network-share`, `k8s-cluster`, `k8s-node`, `pod`, `k8s-deployment`, `physical_disk`, `ceph`)
- `source`: comma-separated list (e.g., `proxmox`, `agent`, `docker`, `pbs`, `pmg`, `kubernetes`, `truenas`, `vmware` or `vmware-vsphere`, `availability`)
- `excludeSource`: comma-separated list of sources that must not be present on a matching resource
- `status`: comma-separated list (`online`, `offline`, `warning`, `unknown`)
- `parent`: parent resource ID
@@ -2401,6 +2401,23 @@ TrueNAS resources (pools, datasets, disks, ZFS snapshots, replication tasks, ale
---
## VMware vSphere (Early Access)
VMware vCenter connection management endpoints for adding, testing, previewing, updating, and removing vCenter connections. When VMware integration is explicitly disabled via `PULSE_FEATURE_VMWARE=false`, these routes return `404` (`vmware_disabled`).
### Connection Management (Admin)
- `GET /api/vmware/connections` (admin, `settings:read`) - List configured vCenter connections with secrets redacted plus `poll` and `observed` runtime status summaries.
- `POST /api/vmware/connections` (admin, `settings:write`) - Add a new vCenter connection. Returns `201` with the redacted connection, `400` `validation_error`, or `403` `mock_mode_enabled` in mock mode.
- `PUT /api/vmware/connections/{id}` (admin, `settings:write`) - Update a saved vCenter connection using a private JSON file. Unchanged masked passwords are preserved from the stored record, so never send a masked placeholder as a new secret. Returns `200` with the redacted connection, `400` `validation_error`, `404` `vmware_not_found`, or `403` `mock_mode_enabled` in mock mode.
- `DELETE /api/vmware/connections/{id}` (admin, `settings:write`) - Remove a configured vCenter connection. Returns `404` `vmware_not_found` for an unknown ID or `403` `mock_mode_enabled` in mock mode.
- `POST /api/vmware/connections/test` (admin, `settings:write`) - Test a draft vCenter connection before saving. Returns host, VM, datastore, and network counts, `viRelease`, and any `degraded` or `issues` enrichment diagnostics, or `400` (`vmware_invalid_config` or `vmware_connection_failed`) on failure.
- `POST /api/vmware/connections/{id}/test` (admin, `settings:write`) - Live-test a saved vCenter connection with its stored credentials. An optional JSON body overrides fields for this test only without saving. When called without override fields, the test updates the connection's runtime test status summary on the VMware poller. Returns `404` (`vmware_not_found`) for an unknown ID and `400` (`vmware_invalid_config` or `vmware_connection_failed`) on failure.
- `POST /api/vmware/connections/preview` and `POST /api/vmware/connections/{id}/preview` (admin, `settings:write`) - Project the canonical monitored-system impact of adding or editing a vCenter connection without persisting changes.
VMware vSphere resources (ESXi hosts, VMs, datastores, networks, health signals, and activity) are surfaced through the unified `/api/resources` endpoint with `source=vmware` (or its `source=vmware-vsphere` alias).
---
## 📱 Relay / Pulse Mobile (retiring 31 March 2027)
End-to-end encrypted relay protocol for mobile connectivity.

View File

@@ -139,7 +139,7 @@ surface upgrade prompts unless the user deliberately enters a commercial path.
| Existing Pulse Mobile pairing and push continue until 31 March 2027; Relay does not provide remote access to the web UI. | `pkg/licensing/features.go` retains `relay`, `mobile_app`, and `push_notifications` for compatible paid payloads; relay onboarding/settings routes remain license-gated. These keys do not make Relay a plan to buy. | `pkg/licensing/features_test.go`, `pkg/licensing/entitlement_payload_test.go`, `internal/api/relay_sso_license_gating_test.go`, and `frontend-modern/src/components/Settings/__tests__/RelaySettingsPanel.runtime.test.tsx`. |
| Pro includes Patrol issue investigation and verified fix actions. | `internal/api/ai_handlers.go` gates alert-triggered analysis behind `ai_alerts` and fix/autonomy behavior behind `ai_autofix`; `internal/ai/service.go` enforces the same capabilities in service-level paths. | `pkg/licensing/features_test.go`, `internal/api/router_routes_ai_execute_stream_test.go`, `internal/api/ai_intelligence_handlers_remediation_more_test.go`, and `frontend-modern/src/pages/__tests__/AIIntelligence.test.tsx`. |
| Metric history is free on every plan. | `pkg/licensing/features.go` includes `long_term_metrics` in Community; `internal/api/router.go` (`handleMetricsHistory`) and `internal/api/availability_history_handlers.go` serve every supported range without a plan check; storage retention alone decides how far back data goes. | `pkg/licensing/upgrade_retirement_test.go`, `internal/api/router_version_tenant_metrics_test.go` (`TestHandleMetricsHistory_EveryPlanServesEveryRange`), and `frontend-modern/src/components/shared/__tests__/useHistoryChartState.test.tsx`. |
| Pro includes business/admin extras: RBAC, audit logging, reporting, and agent profiles. | Router and settings gates use `rbac`, `audit_logging`, `advanced_reporting`, and `agent_profiles`; audit capture is SQLite-backed in `pkg/server/server.go` and `pkg/audit/sqlite_factory.go`, while query/export remains license-gated. | `internal/api/security_regression_test.go`, `internal/api/rbac_lifecycle_test.go`, `pkg/reporting/catalog_test.go`, and `frontend-modern/src/components/Settings/__tests__/settingsNavigation.integration.test.tsx`. |
| Pro includes business/admin extras: RBAC, audit logging, reporting, agent profiles, and remote external probes. | Router and settings gates use `rbac`, `audit_logging`, `advanced_reporting`, `agent_profiles`, and `external_probe`. Audit capture is SQLite-backed in `pkg/server/server.go` and `pkg/audit/sqlite_factory.go`, while query/export remains license-gated. | `internal/api/security_regression_test.go`, `internal/api/rbac_lifecycle_test.go`, `pkg/reporting/catalog_test.go`, `pkg/licensing/upgrade_test.go`, `internal/api/contract_test.go`, and `frontend-modern/src/components/Settings/__tests__/settingsNavigation.integration.test.tsx`. |
## Feature Matrix
@@ -167,10 +167,11 @@ keys and old 14-day limit remain in code without changing that policy.
| `FeatureRBAC` | `rbac` | Role-Based Access Control (RBAC) | N | N | Y | Y | Custom-role and manual user-assignment administration is gated via `RequireLicenseFeature(..., rbac, ...)`. |
| `FeatureAuditLogging` | `audit_logging` | Audit Logging | N | N | Y | Y | API route gating for audit query, verify, and export endpoints. |
| `FeatureAdvancedReporting` | `advanced_reporting` | PDF/CSV Reporting | N | N | Y | Y | API route gating via `RequireLicenseFeature(..., advanced_reporting, ...)`. |
| `FeatureExternalProbe` | `external_probe` | External Probes | N | N | Y | Y | Remote availability-check observation locations on connected agents. Local server checks remain included in Community. |
| `FeatureLongTermMetrics` | `long_term_metrics` | Metric History | Y | Y | Y | Y | Compatibility key. Metric history is not plan-limited; storage retention settings decide how far back it goes. |
| `FeatureMultiUser` | `multi_user` | Multi-User Mode | N | N | N | Y* | Enterprise/custom only. |
| `FeatureMultiTenant` | `multi_tenant` | Multi-Tenant Mode | N | N | N | Y* | Requires both `PULSE_MULTI_TENANT_ENABLED=true` and the `multi_tenant` capability for non-default orgs. |
| `FeatureUnlimited` | `unlimited` | Hosted Capacity Policy | N | N | N | Y | Hosted/enterprise capacity policy only; not a self-hosted core monitoring gate. |
| `FeatureUnlimited` | `unlimited` | Hosted Capacity Policy | N | N | N | Y* | MSP and Enterprise capacity policy marker in `pkg/licensing/features.go`. Not part of `TierCloud` defaults or a self-hosted core monitoring gate. |
| `FeatureWhiteLabel` | `white_label` | White-Label Report Branding | N | N | N | Y* | Gates custom report branding. Provider defaults and per-client overrides render only when this entitlement is active. |
## Patrol Modes
@@ -204,6 +205,7 @@ Patrol mode decides how far Pulse can go after Patrol finds something that needs
- Patrol handles safe fixes through Patrol mode.
- Centralized agent profiles.
- RBAC, audit logging, and advanced reporting.
- External availability-check probes from connected remote agents (`external_probe`). Local checks on the Pulse server stay free in Community.
- Existing Pulse Mobile pairing and push notifications until 31 March 2027.
### Legacy Pro+
@@ -273,7 +275,7 @@ not a public issue containing account evidence.
You can inspect active feature gates via:
- `GET /api/license/features` (authenticated)
This returns a feature map including keys like `relay`, `ai_alerts`, `ai_autofix`, `agent_profiles`, and `multi_tenant` so you can conditionally enable paid workflows safely.
This returns a feature map including keys like `relay`, `ai_alerts`, `ai_autofix`, `agent_profiles`, `external_probe`, and `multi_tenant` so you can conditionally enable paid workflows safely.
## Deep Dives

View File

@@ -415,6 +415,15 @@ working Machines view does not prove that the QEMU-only path recovered. Use
[existing Machines readings](#use-existing-machines-readings-without-changing-the-guest)
only with those distinctions, without installing another agent.
Linked physical disks shown in a guest drawer follow the same freshness rules
when their host agent or Proxmox source stops updating. Clear stale disks switch
from **Healthy** to an amber **Stale** verdict, while **Replace Now** and
**Needs Attention** disks keep their fault verdict beside an inline amber
**Stale data** cue. Retained temperatures stay muted as last-known values
without triggering live **Running Hot**, and opening the disk drawer displays an
inline stale-readings warning and defers temperature and SMART history charts
until live reporting recovers.
Use normally collected observations and the guest's established filesystem
view for capacity decisions. Do not run Diagnostics, guest-agent probes,
a backup or a restart to turn an unknown reading into a number. Do not bypass a

View File

@@ -105,8 +105,12 @@ match.
- **Pool health disagrees:** compare the same pool's native health and device
errors with Pulse's reading and last successful collection time. A retained
value is not proof of a fresh read; missing health is **unknown**, not
`ONLINE`. Keep established native ZFS health checks meanwhile. Do not scrub,
export/import, clear errors or replace a device just to investigate a display.
`ONLINE`. When a linked physical disk's host agent or Proxmox source goes
stale, pool member details keep its retained temperature muted as a last-known
reading without triggering live **Running Hot**, and clear the stale cue
automatically once live reporting resumes. Keep established native ZFS health
checks meanwhile. Do not scrub, export/import, clear errors or replace a
device just to investigate a display.
If server logs are needed, use the
[bounded Pulse log reader](TROUBLESHOOTING.md#inspect-notification-logs) for your

View File

@@ -439,11 +439,65 @@ class AlertingOutageHelpDocsTest(unittest.TestCase):
"TrueNAS (including protection and Health Alerts)",
"Kubernetes (including inventory, record drawers, and Active Alerts)",
"VMware (including Health Signals and Activity)",
"amber **Stale data** cue and expanded-drawer notice while preserving worse Offline, Degraded, or alert severity states",
"Physical Disks (Storage tables, **Physical Disks & SMART** cards, linked pool and guest physical disks, and disk drawers)",
"amber **Stale data** cue (or amber **Stale** verdict for clear stale disks) and expanded-drawer notice while preserving worse Offline, Degraded, Replace Now, Needs Attention, or alert severity states",
"Stale physical disk temperatures and SSD life stay muted as last known without triggering live **Running Hot**, and temperature or SMART history charts defer until live reporting recovers.",
):
with self.subTest(flow_phrase=phrase):
self.assertIn(phrase, flow_doc)
def test_vm_disk_and_zfs_help_align_with_physical_disk_stale_reading_cues(
self,
) -> None:
guest_disks_src = (
ROOT / "frontend-modern/src/components/Workloads/GuestPhysicalDisks.tsx"
).read_text(encoding="utf-8")
pool_detail_src = (
ROOT
/ "frontend-modern/src/features/storageBackups/storagePoolDetailPresentation.ts"
).read_text(encoding="utf-8")
disk_drawer_src = (
ROOT / "frontend-modern/src/components/Storage/DiskDrawerOverview.tsx"
).read_text(encoding="utf-8")
disk_pres_src = (
ROOT / "frontend-modern/src/features/storageBackups/diskPresentation.ts"
).read_text(encoding="utf-8")
self.assertIn("data-disk-stale-cue", guest_disks_src)
self.assertIn("getPhysicalDiskStaleDetail", guest_disks_src)
self.assertIn("extractPhysicalDiskFreshness", pool_detail_src)
self.assertIn("getPhysicalDiskStaleDetail", pool_detail_src)
self.assertIn('data-testid="disk-drawer-stale-notice"', disk_drawer_src)
self.assertIn("label: 'Stale'", disk_pres_src)
self.assertIn("Replace Now", disk_pres_src)
self.assertIn("Needs Attention", disk_pres_src)
vm_doc = (ROOT / "docs/VM_DISK_MONITORING.md").read_text(encoding="utf-8")
vm_mirror = (
ROOT / "frontend-modern/public/docs/VM_DISK_MONITORING.md"
).read_text(encoding="utf-8")
self.assertEqual(vm_doc, vm_mirror)
vm_norm = " ".join(vm_doc.split())
for phrase in (
"Linked physical disks shown in a guest drawer follow the same freshness rules when their host agent or Proxmox source stops updating.",
"Clear stale disks switch from **Healthy** to an amber **Stale** verdict, while **Replace Now** and **Needs Attention** disks keep their fault verdict beside an inline amber **Stale data** cue.",
"Retained temperatures stay muted as last-known values without triggering live **Running Hot**, and opening the disk drawer displays an inline stale-readings warning and defers temperature and SMART history charts until live reporting recovers.",
):
with self.subTest(doc="VM_DISK_MONITORING.md", phrase=phrase):
self.assertIn(phrase, vm_norm)
zfs_doc = (ROOT / "docs/ZFS_MONITORING.md").read_text(encoding="utf-8")
zfs_mirror = (
ROOT / "frontend-modern/public/docs/ZFS_MONITORING.md"
).read_text(encoding="utf-8")
self.assertEqual(zfs_doc, zfs_mirror)
zfs_norm = " ".join(zfs_doc.split())
for phrase in (
"When a linked physical disk's host agent or Proxmox source goes stale, pool member details keep its retained temperature muted as a last-known reading without triggering live **Running Hot**, and clear the stale cue automatically once live reporting resumes.",
):
with self.subTest(doc="ZFS_MONITORING.md", phrase=phrase):
self.assertIn(phrase, zfs_norm)
if __name__ == "__main__":
unittest.main()

View File

@@ -670,6 +670,74 @@ class AIAutonomyHelpDocsTest(unittest.TestCase):
with self.subTest(phrase=phrase):
self.assertIn(phrase, norm)
def test_pulse_pro_and_api_docs_match_external_probe_entitlement_and_vmware_routes(
self,
) -> None:
features_go = (ROOT / "pkg/licensing/features.go").read_text(encoding="utf-8")
catalog_go = (ROOT / "pkg/licensing/self_hosted_feature_catalog.go").read_text(
encoding="utf-8"
)
resources_go = (ROOT / "internal/api/resourceapi/resources.go").read_text(
encoding="utf-8"
)
routes_go = (ROOT / "internal/api/router_routes_registration.go").read_text(
encoding="utf-8"
)
vmware_go = (ROOT / "internal/api/vmware_handlers.go").read_text(encoding="utf-8")
self.assertIn('FeatureExternalProbe = "external_probe"', features_go)
self.assertIn("FeatureExternalProbe,", features_go)
self.assertIn("TierCloud: proFeatures,", features_go)
self.assertIn('DisplayName: "External Probes"', catalog_go)
self.assertIn('case "vmware", "vmware-vsphere":', resources_go)
self.assertIn('case "truenas":', resources_go)
self.assertIn('case "availability":', resources_go)
self.assertIn('r.mux.HandleFunc("/api/vmware/connections"', routes_go)
self.assertIn('r.mux.HandleFunc("/api/vmware/connections/test"', routes_go)
self.assertIn('r.mux.HandleFunc("/api/vmware/connections/preview"', routes_go)
self.assertIn('"vmware_disabled"', vmware_go)
self.assertIn('"vmware_not_found"', vmware_go)
self.assertIn('"vmware_invalid_config"', vmware_go)
self.assertIn('"vmware_connection_failed"', vmware_go)
pro_doc = (ROOT / "docs/PULSE_PRO.md").read_text(encoding="utf-8")
pro_mirror = (ROOT / "frontend-modern/public/docs/PULSE_PRO.md").read_text(
encoding="utf-8"
)
self.assertEqual(pro_doc, pro_mirror)
pro_norm = " ".join(pro_doc.split())
for phrase in (
"| `FeatureExternalProbe` | `external_probe` | External Probes | N | N | Y | Y |",
"Remote availability-check observation locations on connected agents. Local server checks remain included in Community.",
"| `FeatureUnlimited` | `unlimited` | Hosted Capacity Policy | N | N | N | Y* |",
"External availability-check probes from connected remote agents (`external_probe`).",
"`external_probe`, and `multi_tenant`",
):
with self.subTest(doc="PULSE_PRO.md", phrase=phrase):
self.assertIn(phrase, pro_norm)
api_doc = (ROOT / "docs/API.md").read_text(encoding="utf-8")
api_mirror = (ROOT / "frontend-modern/public/docs/API.md").read_text(
encoding="utf-8"
)
self.assertEqual(api_doc, api_mirror)
api_norm = " ".join(api_doc.split())
for phrase in (
"`truenas`, `vmware` or `vmware-vsphere`, `availability`",
"## VMware vSphere (Early Access)",
"`PULSE_FEATURE_VMWARE=false`, these routes return `404` (`vmware_disabled`)",
"`GET /api/vmware/connections` (admin, `settings:read`)",
"`POST /api/vmware/connections` (admin, `settings:write`)",
"`PUT /api/vmware/connections/{id}` (admin, `settings:write`)",
"`DELETE /api/vmware/connections/{id}` (admin, `settings:write`)",
"`POST /api/vmware/connections/test` (admin, `settings:write`)",
"`POST /api/vmware/connections/{id}/test` (admin, `settings:write`)",
"`POST /api/vmware/connections/preview` and `POST /api/vmware/connections/{id}/preview` (admin, `settings:write`)",
"`source=vmware` (or its `source=vmware-vsphere` alias)",
):
with self.subTest(doc="API.md", phrase=phrase):
self.assertIn(phrase, api_norm)
if __name__ == "__main__":
unittest.main()