Update Help guides (with byte-for-byte in-app mirrors in
frontend-modern/public/docs/) and add source-bound doc regression tests:
- Scheduler and Alerting Help (docs/ALERTING.md, docs/API.md,
docs/api/SCHEDULER_HEALTH.md, docs/monitoring/ADAPTIVE_POLLING.md,
docs/monitoring/PROMETHEUS_METRICS.md,
docs/operations/ADAPTIVE_POLLING_ROLLOUT.md,
scripts/tests/test_watchdog_help_docs.py): document the shared worker
execution-boundary fence landed in #5379 so operators know both local
per-monitor workers and the POLL_TASK_WORKERS process dispatcher skip
provider setup for claims retired after dequeue or slot admission while
preserving any explicit replacement's own due time.
- Server update, teardown, and agent-capabilities API Help (docs/API.md,
docs/AUTO_UPDATE.md, scripts/tests/test_api_reference_routes.py):
document POST /api/updates/rollback, GET /api/updates/release-notes and
its asset route, POST /api/auto-unregister, GET /api/agent/capabilities,
and the exact scopes, body limits, cache headers, and status codes of
the update API routes.
- Security registration Help CI repair (SECURITY.md,
frontend-modern/public/docs/SECURITY.md,
scripts/tests/test_security_docs.py): move the command-enabled install
token agent:exec ceiling note out of the two-item Auto-Registration
Security bullet list into a standalone paragraph so
registrationSecurityGuide.test.ts passes again on main after #5383, and
guard the two-bullet list shape in Python doc tests.
Contract-Neutral: Documentation, shipped in-app Help mirrors, and doc verification tests aligned with already-landed runtime behavior; no runtime, API, schema, or UI contract changes.
Change-source: pulse-maintainer
Document the retired waiting-claim release behaviour landed in #5368
across unclaimed operator Help guides and bind it to internal/monitoring
source:
- docs/monitoring/PROMETHEUS_METRICS.md, docs/monitoring/ADAPTIVE_POLLING.md,
docs/api/SCHEDULER_HEALTH.md, docs/operations/ADAPTIVE_POLLING_ROLLOUT.md,
docs/ALERTING.md (with mirrored frontend-modern/public/docs/ALERTING.md),
and docs/API.md (with mirrored frontend-modern/public/docs/API.md):
document that under POLL_TASK_WORKERS a confirmed target removal releases
a claim still waiting in stage="waiting_for_slot" without starting
provider setup or changing the concurrency cap so another due target can
run, preserving any explicit replacement's own due time while leaving
already-admitted stage="running" polls to keep their claim until they
return.
- scripts/tests/test_watchdog_help_docs.py,
scripts/tests/test_scheduler_polling_docs.py, and
scripts/tests/test_scheduler_health_api_help_docs.py: bind the updated
Help prose to acquireClaim, watchClaimRetirement, canStartClaim,
claimRetired, and retirement channel close in poll_task_workers.go and
task_queue.go while preserving the docs-only CI allowlist.
Contract-Neutral: Documentation, mirrored in-app Help, and doc-consistency tests only with no runtime, API, polling, alert, or subsystem contract change.
Change-source: pulse-maintainer
Document recently landed monitoring-progress and stale-telemetry behaviour
across unclaimed operator Help guides and repair the main-branch doc test
drift introduced after #5358 merged over #5360:
- docs/UNIFIED_RESOURCES.md (and mirrored frontend-modern/public/docs/UNIFIED_RESOURCES.md):
document the backend health envelope on Resource, Machines (/standalone/machines)
stale Pulse Agent telemetry cues, banner, expanded notice, search, and fallbacks
from #5361 (keeping preview-only standaloneVms out of stable Help), supported
GET /api/resources sort fields, and GET /api/resources/{id} full detail payloads.
- docs/VM_DISK_MONITORING.md (and mirrored frontend-modern/public/docs/VM_DISK_MONITORING.md):
explain Machines stale-telemetry indicators under "Use existing Machines readings
without changing the guest" so operators inspecting an agent host during paused
QEMU guest-agent reads can spot stale agent telemetry immediately.
- docs/api/SCHEDULER_HEALTH.md: document single-catalog Availability health roster
reporting including remote-only checks (#5357) and retired poll-planner
cancellation between provider roster/cadence reads (#5358).
- scripts/tests/test_navigation_help_docs.py and scripts/tests/test_watchdog_help_docs.py:
update the broken monitor_polling_schedule.go token assertion from #5358
(describeInstancesForScheduler(ctx)) and bind the updated Help prose to live
frontend and Go sources while preserving the docs-only CI allowlist.
Contract-Neutral: Documentation and doc-regression test alignment only; no API, schema, route, or runtime contract change.
Change-source: pulse-maintainer
Document recent monitoring-progress runtime fixes across unclaimed operator
Help guides and bind them to internal/monitoring source:
- docs/ALERTING.md (and mirrored frontend-modern/public/docs/ALERTING.md): add
pulse_scheduler_poll_planning_age_seconds under "Warn when expected polls
stop succeeding" (#5348), note that stage="running" stays visible during
panic recovery logging after releasing a queue claim (#5344), and document
retired-monitor poll-plan abandonment (#5351).
- docs/monitoring/PROMETHEUS_METRICS.md and docs/api/SCHEDULER_HEALTH.md:
clarify panic-recovery logging visibility after releasing a queue claim
(#5344) and retired-monitor poll-plan abandonment (#5351).
- scripts/tests/test_watchdog_help_docs.py: add source-bound regression checks
against monitor_polling_schedule.go, poll_work_progress.go, and
poll_task_workers.go while preserving the docs-only CI allowlist.
Contract-Neutral: Documentation and doc-regression test alignment only; no API, schema, or runtime contract change.
Change-source: pulse-maintainer
Update public and mirrored in-app Help across FAQ, ZFS monitoring, TrueNAS,
Prometheus metrics, and Scheduler Health, with source-bound regression tests
in scripts/tests/test_public_docs_claims.py:
- Document Storage Pools staleness (#5346) in docs/FAQ.md,
docs/ZFS_MONITORING.md, docs/TRUENAS.md, and their mirrored copies under
frontend-modern/public/docs/: clear stale pools switch to amber Stale
(leaving Status: Healthy for Status: Needs attention and Status: Warning,
sorting ahead of fresh healthy pools, and grouping under stale), severe
states and alert headlines stay visible with an inline Stale data cue and
retained usage bars, search matches stale labels and source errors, and
expanded drawers surface the stale State reason under Worth checking while
deferring inline Capacity History as last known.
- Document unfinished poll-planning visibility (#5348) and panic-recovery
logging under the running claimed-poll stage (#5344) in
docs/monitoring/PROMETHEUS_METRICS.md and docs/api/SCHEDULER_HEALTH.md so
operators know to inspect pulse_scheduler_poll_planning_age_seconds when
queue and claimed-poll overdue gauges stay zero while poll counters stall.
- Bind both Help updates directly to the frontend Storage Pool presentation
and backend poll-work progress sources in
scripts/tests/test_public_docs_claims.py.
Contract-Neutral: Documentation, mirrored in-app Help, and documentation consistency tests only; no runtime, API, polling, alert, telemetry, or UI code contract changes.
Change-source: pulse-maintainer
Compute scheduler priority and health scores from the owning monitor's recorded success, not from the process-wide Prometheus series. Score each health row from the same timestamp it reports so a same-named connection cannot mask a stale poll.
Change-source: pulse-maintainer
Document landed runtime and UI behavior across unclaimed in-app Help guides:
- API.md and docs/api/SCHEDULER_HEALTH.md: document Proxmox VE startup and
reconnect failure recording, first-poll health authority in /api/connections
and /api/monitoring/scheduler/health (#5210), TrueNAS and VMware shutdown
cancellation handling and in-flight provider fencing (#5219), GET
/api/updates/plan readiness check IDs, and the top-level Availability page
(/availability) with DNS probe coverage.
- AUTO_UPDATE.md: document Upgrade checks in Settings -> System -> Updates
and the Container data persistence warning for ephemeral Docker /data
storage (including backup export, volume mount guidance, and
PULSE_SUPPRESS_EPHEMERAL_DATA_WARNING=true).
- PULSE_PRO.md: align the licence recovery navigation path to
Settings -> System -> Plans & Billing.
Sync the mirrored frontend-modern/public/docs copies and add source-bound
regression tests in test_scheduler_health_api_help_docs.py,
test_update_recovery_docs.py, and test_license_recovery_docs.py.
Contract-Neutral: Documentation and doc-regression test alignment with already landed runtime and UI behavior; no API, schema, or runtime contract delta.
Change-source: pulse-maintainer
Expand the Scheduler Health section in docs/API.md and its shipped
frontend-modern/public/docs/API.md mirror so operators clicking through
from GET /api/state/summary in in-app Help can read updatedAt, enabled,
queue counts and oldestOverdueSeconds, pollStatus partial-read errors,
breaker retryAt, dead-letter recovery clearing, deleted availability
check retirement and the scope boundary separating scheduled polling
from agent reports, WebSocket delivery and alert evaluation. Note
deleted availability-check retirement in docs/api/SCHEDULER_HEALTH.md
and verify fields, routes and shipped Help links against live Go structs.
Refs: #5089
Contract-Neutral: Documents existing GET /api/monitoring/scheduler/health fields, retirement behaviour and read-only diagnostic boundaries with no runtime, API, collection or release changes.
Change-source: pulse-maintainer
Retire the connection's terminal record and its gauge when a later scheduled result succeeds. Keep a partial-read error visible and leave other failures, breaker admission and polling cadence alone. A recorded dead-letter retry time is not an active-queue deadline.
Refs #5089.
Change-source: pulse-maintainer
A poll due within seconds and a poll left waiting past its scheduled time can have identical queue counts. Report the oldest queued age in the existing tenant-scoped snapshot and its saved-snapshot queries. Keep future retries, claimed polls, and dead letters out of the age and preserve measured zero separately from older responses.
Change-source: pulse-maintainer
The comparison of two scheduler snapshots drops the saved breaker and dead-letter timing. Show that context beside each connection without counting timing changes or an expired deadline as a finished poll.
Contract-Neutral: Only the scheduler guide and its existing recipe test change. Scheduler Health, polling, retry and alert behaviour are unchanged.
Change-source: pulse-maintainer
The old data-flow guide described client-side sampling and a fixed memory/store cutoff. Show operators which view to check when a chart and a fresh reading disagree, and link that distinction from the scheduler poll comparison.
Contract-Neutral: Repository-only documentation of existing chart sources and poll diagnostics; no runtime, shipped Help, API contract, or release-control change.
Change-source: pulse-maintainer
Join the two saved snapshots by connection key so an operator can spot which outcomes changed without matching two lists. Preserve partial reads and one-sided rows, and refuse ambiguous input instead of presenting an empty or healthy result.
Contract-Neutral: Changes a repository-only comparison of existing scheduler fields. No API, runtime, alert or rendered Help contract changes.
Change-source: pulse-maintainer
The saved-snapshot query only checks consecutive full failures. A reached connection can record an outstanding partial read with zero consecutive failures. Preserve the whole-failure rows, show both poll and error times with the error category, and leave raw errors and addresses in the private snapshot.
Contract-Neutral: Updates a repository-only read of existing scheduler fields. No runtime, API, alert or rendered Help contract changes.
Change-source: pulse-maintainer
Give operators a bounded result when the read is refused, unavailable, or incomplete. Keep the response and credential private and accept only one valid snapshot from HTTP 200. Explain what the due-soon count measures.
Contract-Neutral: Documents and exercises the existing read-only scheduler response. No runtime, access, API or in-app Help changes.
Change-source: pulse-maintainer
Treat enabled as the adaptive timing flag, not a test of whether polling
is running. Add a local comparison of recorded results that distinguishes
completed polls, continuing errors and no new result without sharing the
raw snapshot or restarting Pulse.
Refs: #5089
Contract-Neutral: Documents existing poll and scheduler-health behavior without changing scheduling, response fields, access, or alert evaluation.
Change-source: pulse-maintainer
Audited the customer-facing docs against the code: about 5,200 concrete
claims (env vars, endpoints, flags, defaults, ports, UI labels), plus every
environment variable the code reads. Each discrepancy was re-verified
against the source before editing, and every edit was reviewed again.
What users would have hit following the old text:
- UI paths and labels that no longer exist (Settings > Relay, Platform
connections, Access Control, SSO Providers, Create Organization) and
Patrol mode names (now Ask first, Safe auto-fix, Autopilot).
- Wrong values and behaviour: LOG_MAX_AGE=0 does not disable cleanup,
Patrol evidence budget is 10 calls and 12 turns, ALLOW_UNPROTECTED_EXPORT
covers private networks too, PULSE_AUDIT_ASYNC defaults on.
- Agent install: install.sh ignores PULSE_ENABLE_KUBERNETES and
PULSE_ENABLE_PROXMOX, rejects --disable-auto-update, and the token
fallback lives in the state directory.
- API: audit endpoints answer 402 on Community, onboarding QR is GET,
type=container is rejected, several routes need admin plus a scope.
- HTTP_REDIRECT_PORT was not documented anywhere.
Docs are mirrored under frontend-modern/public/docs, so each change is
applied to both copies. The tests that pinned the old wording (including
three that asserted claims the code contradicts) are updated alongside.
Contract-Neutral: Customer docs corrected to match shipped behaviour; no runtime, API or contract change.
Use one bounded, authenticated snapshot and local queries instead of secret-bearing argv and repeated requests. Preserve configuration precedence and rollback state, and judge successful polls rather than a universal queue-depth threshold. Exercise copied commands with HTTP, transport, schema and credential controls.
Contract-Neutral: Documentation and copied-command tests only; scheduler runtime and API contracts are unchanged.
Change-source: pulse-maintainer
- Major updates to README.md and docs/README.md for Pulse v5
- Added technical deep-dives for Pulse Pro (docs/PULSE_PRO.md) and AI Patrol (docs/AI.md)
- Updated Prometheus metrics documentation and Helm schema for metrics separation
- Refreshed security, installation, and deployment documentation for unified agent models
- Cleaned up legacy summary files
Add detailed API reference and update rollout playbook:
**New: docs/api/SCHEDULER_HEALTH.md**
- Complete endpoint reference for /api/monitoring/scheduler/health
- Request/response structure with field descriptions
- Enhanced "instances" array documentation
- Example responses showing all states (healthy, transient, DLQ)
- Useful jq queries for troubleshooting:
- Find instances with errors
- List DLQ entries
- Show open circuit breakers
- Sort by failure streaks
- Migration guide (legacy → new fields)
- Troubleshooting examples with real scenarios
**Updated: docs/operations/ADAPTIVE_POLLING_ROLLOUT.md**
- Enhanced "Accessing Scheduler Health API" section (§6)
- Added examples using new instances[] array
- Updated queries to use pollStatus, breaker, deadLetter fields
- Practical jq commands for operators
**Key Documentation Features:**
- Complete JSON schema with examples
- All new fields documented with types and descriptions
- Real-world troubleshooting scenarios
- Copy-paste ready jq queries
- Migration path for existing integrations
- Backward compatibility notes
Operators can now:
- Find error messages without log digging
- Understand circuit breaker states
- Track DLQ entries with full context
- Diagnose issues using single API call
Part of Phase 2 follow-up - enhanced observability