Update static doc-to-source smoke checks after merging Proxmox Backups
staleness onto current main:
- Bind test_pbs_docs.py to ProxmoxBackupServersTable's
`pollStale: isPBSServerPollStale(server)` call and the shared
`isPBSServerPollStale` PBS source-status check in
proxmoxBackupStaleness.ts instead of the removed inline expression.
- Update test_watchdog_help_docs.py for the `ctx` argument added to
`describeInstancesForScheduler(ctx)` in #5358 on main so script smoke
shard 1/2 passes on current main.
Contract-Neutral: script smoke test token alignment only with no runtime, API, or subsystem contract delta
Change-source: pulse-maintainer
Document three already-landed monitoring and identity behaviours across
four unclaimed in-app Help guides and their mirrored public copies, with
source-bound Python regression tests:
- docs/METRICS_HISTORY.md and docs/UNIFIED_RESOURCES.md (+ mirrors):
document Proxmox VE 9.3 persistent guest identity (uid, rtime) and
cluster-id handling (#5161): chronological sibling-node History
splicing across live migrations, pre-9.3 canonical ID continuity on
first uid observation, distinct UID-based canonical IDs and withheld
sibling History when a VMID is reused, and cluster-id guards against
auto-merging namesake clusters or standalone nodes.
- docs/PBS.md (+ mirror): document native PBS node-status alert
evaluation (#5139) in a separate native pbs series isolated from
linked host agents and namesake hosts, percentage-point CPU threshold
comparison (#5133), missing-observation handling on node-status read
failure, and immediate clearing of stale metric alerts when PBS is
offline or unhealthy.
- docs/MAIL_GATEWAY.md (+ mirror): document PMG startup-outage offline
and unhealthy projection, scheduler-health and staleness error
recording, automatic background reconnect with context-bound
authentication, and intentional skipping of paused connections (#5200).
- scripts/tests/test_navigation_help_docs.py,
scripts/tests/test_pbs_docs.py, and scripts/tests/test_pmg_docs.py:
bind each documented behaviour directly to live Go runtime sources.
Contract-Neutral: Documentation, mirrored in-app Help, and Python doc-regression test alignment for already-landed runtime behaviour with no runtime, API, schema, or subsystem contract changes.
Change-source: pulse-maintainer
Update the canonical and mirrored in-app Help guides for Availability,
TrueNAS, Proxmox Backup Server, and Proxmox Mail Gateway to match the
poll lifecycle, pause isolation, cancellation, and refresh-deadline
behaviour landed in #5214, #5215, and #5217:
- Availability: document deletion cleanup of scheduler health, retry,
failure, dead-letter, and staleness state; discarded cancelled local
probes and in-flight results after pause/edit/delete/reassignment;
and fresh external-probe grace windows when resuming a paused check.
- TrueNAS: document PULSE_TRUENAS_POLL_TIMEOUT (45s default) whole-
refresh deadline, truncation prevention on timeout or cancellation,
and fail-closed invalid config edits vs preserved cached records on
valid edits.
- PBS and PMG: document that paused polls never fabricate poll successes
or clear prior failures, mid-poll PBS timeouts stop remaining reads
without publishing truncated datastores, and authoritative empty or
excluded PBS datastore discovery clears removed unified storage rows.
Add source-bound regression tests across test_watchdog_help_docs.py,
test_truenas_docs.py, test_pbs_docs.py, and test_pmg_docs.py.
Contract-Neutral: Documentation and mirrored in-app Help alignment with source-bound doc tests; no runtime or subsystem contract change.
Change-source: pulse-maintainer
Document the landed stale-reading and unread-capacity indicators across
three shipped in-app Help guides and bind each guide to its live TSX
component with Python regression tests:
- docs/AVAILABILITY.md (+ public mirror): explain External watchdog
status badges from AlertDeadManDestinationSection.tsx (#5149, #5171),
including Heartbeat healthy vs No recent heartbeat, Status read
overdue (60s), Status unavailable, Delivery failing, Monitoring
stalled, and Last interruption (clean restart vs unexpected stop).
- docs/MAIL_GATEWAY.md (+ public mirror): explain Readings stale in
ProxmoxMailGatewayTable.tsx and ProxmoxMailGatewayDrawer.tsx (#5176),
including Degraded filter movement, retained counts, drawer notice,
and offline/alert severity precedence.
- docs/PBS.md (+ public mirror): explain PBS data stale and unread
datastore capacity (Unavailable/Unknown) in
ProxmoxBackupServersTable.tsx (#5162), including retained capacity,
Last reading/Last forecast qualifiers, and suppressed fill forecasts.
Contract-Neutral: Documentation and Python doc-regression test alignment for already-landed frontend status presentations; no runtime, API, schema, or subsystem contract changes.
Change-source: pulse-maintainer
Replace documentation assertions tied to the previous one-line parser with an inert exact-source parser fixture. Copied agent and PBS recipes must preserve the supplied private path and profile without putting its contents in argv or output. Keep the downstream private-reader assertion and add controls that reject dropped or rewritten paths and a missing isolation boundary. This reconciles both returned smoke-shard failures without reverting the empty-path refusal.
Contract-Neutral: test-only handoff proof preserves the existing credential, trust, profile and lifecycle contracts
Change-source: pulse-maintainer
Use a 50 ms server poll in the six owned documentation HTTP fixtures, instead of Python’s default 500 ms. Preserve every request, transport and cleanup deadline, response, assertion and adverse control. Check real idle and exceptional teardown for all seven listeners.
Contract-Neutral: Test fixture scheduling and lifecycle assertions only; no product, frontend, documentation, access or deployment contract change.
Change-source: pulse-maintainer
Correct the inherited PBS-via-PVE badge assumption using the production source presentation and inventory read states. Preserve the existing help anchor, distinguish PVE files from guest snapshots, and bind guidance regressions to actual source labels.
Change-source: pulse-maintainer
Replace the unconditional direct-connection fix with existing-source, evaluation and identity checks. Preserve backups, credentials and deployment state while collecting bounded evidence, and select the existing PBS recipe suite in docs-only CI.
Change-source: pulse-maintainer
Execute the actual API helper and PBS private-file/download handoffs, keeping their response-privacy assertions separate from shared credential-transport fixtures. Verify one-shot requests, exact methods and JSON, retained private responses and failure exits, TLS and preparation. Match the temperature cleanup test to its current non-clobbering download, without changing any guide.
Contract-Neutral: Repair connected documentation fixtures only; no guide, mirror, runtime, API, authentication, dependency or permission contract changes.
Change-source: pulse-maintainer
The existing drawer fetches all metrics without a metric query field. Explain metrics-object and single-metric points responses so readers do not wait for an absent CPU request or mistake missing CPU and measured zero for the same result.
Contract-Neutral: Clarify existing History diagnostics and protect mirrored documentation; no runtime, API, identity, access, retention or response-shape change.
Change-source: pulse-maintainer
CodeQL on PRs 2361 and 2362 flags the fixture's implicit protocol floor. Require TLS 1.2 explicitly and test that same context; retain trusted, untrusted and wrong-host certificate controls without changing product TLS or documentation.
Contract-Neutral: Synthetic TLS test fixture only; no runtime or subsystem contract delta.
Change-source: pulse-maintainer
Use existing Unix and Windows token-file installers, verified HTTPS downloads and inspection before execution across setup, retarget, profile and cleanup examples. Exercise private files, all profile arguments, rejected TLS and failed downloads with synthetic guest-local fixtures.
Contract-Neutral: Documentation and executable documentation tests only; installer behaviour, privileges and runtime contracts are unchanged.
Change-source: pulse-maintainer
Prefer read-only API access, grant Audit to both PBS identities, keep tokens in private files and verify TLS before sending them. Exercise the documented recipes with synthetic tokens, HTTP failures and certificate rejection controls.
Contract-Neutral: Documentation and synthetic recipe checks only; no runtime API, installer, PBS identity or permission contract changes.
Change-source: pulse-maintainer