Files
Pulse/internal/api
pulse-triage[bot] 712d1a24e6 Record PVE startup failures and enforce first-poll health authority
Proxmox VE (PVE) client initialization and startup reconnect previously
omitted scheduler-health and staleness error recording on failure and
marked newly constructed or recreated PVE clients healthy before the first
connectivity poll succeeded. As a result, PVE connections that failed at
startup (401/403 authentication errors, unreachable hosts, TLS fingerprint
refusals, or invalid URLs) stayed indefinitely Pending ("awaiting first
poll") in Settings -> Infrastructure without triggering connection-degraded
alerts, while unpolled token and cluster clients reported connected in
GetConnectionStatuses() prior to any poll.

Record PVE startup and reconnect construction failures through
publishPVEStartupFailure (populating pollStatusMap, breaker state,
stalenessTracker, and ConnectionHealth=false), unwrap transport and TLS
*url.Error causes from proxmox.NewClientWithContext's "authentication
failed:" wrapper via pveStartupFailureError so unreachable or TLS-failed
hosts surface as Unreachable rather than Unauthorized, and wait for the
first completed poll before marking PVE clients healthy.

Change-source: pulse-maintainer
2026-11-26 20:27:59 +00:00
..
2026-10-11 22:20:25 +01:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-08-31 19:47:01 +01:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-04-26 17:26:16 +01:00
2026-01-22 00:30:15 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-09-01 01:02:17 +01:00

Internal API Package

This directory contains the API server implementation for Pulse.

Important Note About frontend-modern/

The frontend-modern/ subdirectory that appears here is:

  • AUTO-GENERATED during builds
  • NOT the source code - just a build artifact
  • IN .gitignore - never committed
  • REQUIRED BY GO - The embed directive needs it here

Frontend Development Location

👉 Edit frontend files at: ${PULSE_REPOS_DIR}/pulse/frontend-modern/src/

Why This Structure?

Go's //go:embed directive has limitations:

  1. Cannot use ../ paths to access parent directories
  2. Cannot follow symbolic links
  3. Must embed files within the Go module

This is a known Go limitation and our structure works around it.