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