pulse-triage[bot] 1c8607abd0 Parallelize slow internal/api race subtests and speed up fixtures (#5366)
**Parallelize slow internal/api race subtests and speed up fixtures**

Backend tests (api-0..4) finished last on post-#5350 Pulse Build and
Test runs
(46109093360, ~1,726 runner-seconds across 5 shards), with the slowest
unclaimed
internal/api tests executing isolated subtest matrices sequentially,
seeding the
full default public demo estate where compact mock topologies suffice,
or
bypassing TestMain's PULSE_TEST_BCRYPT_COST via direct
bcrypt.DefaultCost calls.

- Parallelize isolated subtest matrices across 14 unclaimed internal/api
test
files (host_agent_credential_handoff_test.go,
agent_snapshot_authority_test.go,
  resource_read_authority_test.go, token_stream_lifetime_test.go,
  token_stream_shutdown_test.go, assistant_stream_lifetime_test.go,
  assistant_json_lifetime_test.go, agent_events_auth_test.go,
  reporting_boundary_test.go, docker_agents_report_size_test.go,
  security_setup_fixture_isolation_test.go, websocket_auth_test.go,
security_token_withdrawal_test.go, and log_stream_auth_test.go), lifting
shared
env/session setup out of per-subtest helpers, serializing only the
temporary
AI alert-analysis binder swap during router construction, and caching
read-only
  source file bytes once in reporting_boundary_test.go.
- Use the existing compact 2-node mock integration fixture
(newIntegrationServer)
for TestStateEndpointReturnsMockData, TestConfigNodesUsesMockTopology,
and
TestMockModeToggleEndpoint in router_integration_test.go, while
preserving
  newFleetIntegrationServer for multi-page recovery rollup/point tests.
- Route four test fixtures (change_password_session_admin_test.go,
oidc_only_admin_parity_test.go, platform_admin_session_parity_test.go,
and
security_status_capability_enforcement_test.go) through
pkg/auth.HashPassword
so they honor TestMain's PULSE_TEST_BCRYPT_COST instead of
bcrypt.DefaultCost.

Contract-Neutral: Test-only parallelization and fixture optimization
across 19 internal/api test files with zero production code, API
behavior, or assertion changes.

**Keep global-session-store internal/api subtests sequential**

NewRouter calls ensureSessionStore(cfg.DataPath), which replaces and
shuts
down the package-global session store whenever a router is built with a
new
data directory. Keep the six subtest suites that create or mutate
entries in
GetSessionStore() sequential while retaining parallel execution for all
token-only and router-free subtest matrices.

Contract-Neutral: Test-only adjustment reverting t.Parallel() on six
session-store subtest suites; zero production code or assertion changes.

**Keep 24 MiB blocked-write cancellation subtests sequential**

Each subtest in
TestUpdateStreamChainRequestCancellationInterruptsBlockedWrites
broadcasts a 24 MiB payload into a stalled socket; running all four
concurrently
under -race spikes memory pressure on 6 GiB guests without meaningful
runtime gain.
Keep those four subtests sequential while retaining parallel unit
subtests in
token_stream_shutdown_test.go.

Contract-Neutral: Test-only adjustment reverting t.Parallel() on one
4-subtest blocked-write test to avoid concurrent 24 MiB memory spikes
under -race.

**Restrict internal/api subtest parallelization to router-free tests**

NewRouter mutates three package-global singletons (ensureSessionStore,
ensureCSRFStore, and auth.SetManager), and newTestRouter cleanup calls
ShutdownRBAC which closes and clears the global RBAC manager. Remove
t.Parallel() from all subtest matrices that construct newTestRouter
instances while keeping the 11 strictly router-free / sequential-fixture
speedups intact.

Contract-Neutral: Test-only revert of t.Parallel() on
newTestRouter-based subtest matrices to keep package-global RBAC,
session, and CSRF singletons strictly serialized.

---
Fleet candidate `20261128T052019Z-delivery-trust` from the
`delivery-trust` lane. Reviewed tip
`69815679f46c571d6492d382884bb7ffb4170186` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-28 07:27:53 +00:00
2026-11-28 00:28:19 +00:00
2026-03-18 16:06:30 +00:00
2026-11-28 00:28:19 +00:00
2026-03-18 16:06:30 +00:00
2025-10-11 23:29:47 +00:00
2026-03-18 16:06:30 +00:00
2026-11-28 00:28:19 +00:00

Pulse

Pulse logo

Real-time Proxmox, Docker and Kubernetes monitoring that finds what needs attention.

GitHub Stars GitHub Release Docker Pulls License

Live demo · Documentation · Releases · Discussions

Pulse is a self-hosted monitoring and alerting dashboard for Proxmox, Docker, Kubernetes, TrueNAS, and Linux/Windows/macOS hosts. One lightweight server tracks health, backups, availability checks, and metric history, and alerts you when something needs attention.

Pulse Proxmox overview

Try the live demo (Proxmox, Docker, Kubernetes, Alerts). No sign-up required.

Inside Pulse

Built-in metric history

CPU, memory, disk, network I/O, and filesystem charts for every host, guest, and container without external databases.

Metric history and filesystem diagnostics

Backup coverage & PBS

Spot unprotected guests, stale backups, and failed sync jobs across Proxmox VE and Proxmox Backup Server.

Proxmox backup coverage and PBS datastores

Alerts & Availability

Thresholds plus Ping, TCP, UDP, HTTP(S), and TLS expiry checks via email, Discord, Slack, Telegram, ntfy, Gotify, Pushover, PagerDuty, or webhooks.

Active alerts and incident triage

Supported platforms

Zoomed-in views of Docker and Kubernetes monitoring in Pulse

Platform What Pulse monitors
Proxmox VE, PBS & PMG Nodes, VMs, LXCs, storage, backups, replication, Ceph, mail gateways
Docker & Podman Hosts, containers, Compose projects, Swarm services, image updates
Kubernetes Clusters, nodes, workloads, pods, services, storage, events
TrueNAS SCALE & CORE Pools, datasets, disks, snapshots, replication, apps, VMs
Linux, Windows & macOS Host health, filesystems, networking, temperatures, RAID, availability
More full-screen views: Docker and Podman, Kubernetes, and Pulse Patrol

Docker & Podman

Hosts, containers, Compose stacks, Swarm health, and image updates without mounting the Docker socket on Pulse.

Docker hosts and containers

Kubernetes

Multi-cluster health, degraded nodes, pods, deployments, storage, and events in one view.

Kubernetes clusters and workloads

Optional AI & MCP

Pulse Patrol runs scheduled checks with your own AI provider or local model. pulse-mcp lets Claude Code, Codex, or OpenCode ask what changed overnight.

Pulse Patrol attention inbox

Install

Single container or Linux service on port 7655 (swap the tag if a newer release is out). Runs as one Go binary with built-in SQLite history (no external database): recommended baseline is 1-2 vCPU, 1 GiB RAM, and 4 GiB disk (~55 MiB idle RAM, ~200-250 MiB on a typical homelab, amd64/arm64, see system requirements).

Docker

docker run -d \
  --name pulse \
  -p 7655:7655 \
  -v pulse_data:/data \
  -e PULSE_DEPLOYMENT_METHOD=docker_run \
  --restart unless-stopped \
  rcourtman/pulse:v6.9.0
Docker Compose
services:
  pulse:
    image: rcourtman/pulse:v6.9.0
    container_name: pulse
    ports:
      - "7655:7655"
    volumes:
      - pulse_data:/data
    environment:
      - PULSE_DEPLOYMENT_METHOD=docker_compose
    restart: unless-stopped
volumes:
  pulse_data:

Proxmox LXC or Linux

Signed installer: downloads, verifies against the pinned pulse-installer key, then runs:

export PULSE_VERSION=v6.9.0
curl -fsSLO "https://github.com/rcourtman/Pulse/releases/download/${PULSE_VERSION}/install.sh" &&
curl -fsSLO "https://github.com/rcourtman/Pulse/releases/download/${PULSE_VERSION}/install.sh.sshsig" &&
ssh-keygen -Y verify \
  -f <(printf '%s\n' 'pulse-installer namespaces="pulse-install" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMZd/DaH+BldzOkq1A8KVTcFk73nAyrE8aJOyf7i00jm pulse-installer') \
  -I pulse-installer \
  -n pulse-install \
  -s install.sh.sshsig < install.sh &&
bash install.sh --version "${PULSE_VERSION}"

Also available: Kubernetes with Helm · Full install guide.

First run

Open http://<your-ip>:7655, paste the one-time token from docker exec pulse /app/pulse bootstrap-token (Docker) or sudo pulse bootstrap-token (Linux), create your admin account, and add your first system under Settings → Infrastructure.

Do you need an agent?

Often not. Proxmox VE, PBS and PMG connect over their API with a read-only token, so no Pulse host agent is required. Install the unified agent from Settings → Infrastructure → Install on a host for Docker/Podman, Kubernetes, standalone machines, or SMART/temperature sensors. Command execution stays off by default (agent security model).

Note

Proxmox VM disk/memory queries use QEMU Guest Agent, which shares the channel used by freeze-enabled backups. Read the backup safety precaution before changing guest-agent settings during backups.

Editions

  • Community (free, MIT): full self-hosted monitoring (not gated by system or resource count), core SSO, update alerts, and Patrol with your own AI provider or local model.
  • Pro: Community plus Patrol investigation/fixes, centralized agent profiles, RBAC, audit logging, and reporting (capability reference · plans).
  • MSP: isolated per-client workspaces under one Pulse Account, with a 60-day free trial for two clients at Pulse for MSPs.

Important

GitHub releases and rcourtman/pulse are Community builds. Pro and legacy customers download from the Pulse download portal. Relay is no longer sold: existing subscribers keep Pro features at their current price, and paired phones keep working until 31 March 2027 (details).

Documentation

Community and support

Development & license

Go 1.26 + SolidJS/TypeScript (npm ci && npm --prefix frontend-modern ci && npm run dev, proxies :5173 → :7655). See CONTRIBUTING.md before opening changes (Pulse works issue-first).

Everything in this repository is MIT licensed, with no dual licensing and no source-available code. Pulse Pro is a separate commercial product at pulserelay.pro (Terms of Service).

Description
No description provided
Readme MIT 518 MiB
Languages
Go 61.2%
TypeScript 28.7%
Python 6.5%
JavaScript 1.7%
Shell 1.6%
Other 0.2%