Commit Graph

6 Commits

Author SHA1 Message Date
pulse-triage[bot]
72dc4f1f0d Require recent guest polls in the Proxmox memory watch
A complete startup roster and another dashboard message can outlive PVE polling. Bind fresh guest sightings to the end of RSS sampling and retain the observed counts without changing the RSS gate or PBS group coverage.

Change-source: pulse-maintainer
2026-11-22 03:10:57 +00:00
pulse-triage[bot]
4970f34255 Verify PBS snapshot traffic in the Proxmox memory watch
General PBS requests and a configured fixture count do not prove that the backup collector fetched snapshots. Require successful nonempty responses for all configured backup groups on each synthetic instance and datastore, and report observed coverage without treating served rows as displayed or retained.

Contract-Neutral: Synthetic memory-watch workload admission and CI evidence only; no Pulse runtime, release, or public API contract change.
Change-source: pulse-maintainer
2026-11-22 01:28:55 +00:00
pulse-triage[bot]
b164ee5001 Report process RSS high-water in memory comparisons
The final-third median misses transient growth and is not an LXC headroom test. Retain Linux VmHWM alongside each sample and report the final observation separately, without changing the existing steady-state gate or substituting sampled RSS for missing peak data.

Change-source: pulse-maintainer
2026-11-21 20:36:57 +00:00
pulse-triage[bot]
036e58c6da Require observed dashboard state traffic in the agent memory watch
The newly landed agent estate can accept every report while its WebSocket never connects or carries state. Require an initial state and a subsequent nonempty update on one connection, keep arbitrary frames distinct from verified state in the retained summary, and reassemble fragmented messages without counting ping/pong traffic. Exercise rejected, idle, heartbeat-only, welcome-only, missing-baseline and unusable-state dashboards while retaining accepted-report statistics.

Contract-Neutral: Diagnostic load-driver admission and evidence accuracy only; no runtime, frontend, auth, release qualification or performance threshold changes.
Change-source: pulse-maintainer
2026-11-09 20:13:39 +00:00
rcourtman
9efeab37d4 Measure an agent-fed Pulse in the nightly memory watch
The memory watch only runs mock mode, and mock mode drops pushed agent
reports and skips state broadcasts without a subscriber. It can never
reach the cost #2199 measured: every accepted report refreshes the
unified resource registry and broadcasts state to connected dashboards.

Add scripts/memory/agent_load.py, a stdlib-only driver that mints one
install token per synthetic Unified Agent through the dev admin bypass,
posts gzip host reports from 30 agents every 30s (6 also send Docker
reports with 40 containers each), and keeps one dashboard WebSocket
connected. It counts a report as failed after the agent's own 15s
timeout and fails the run when reports were not accepted, so a run that
missed the path cannot pass as a measurement. compare_release_memory.sh
takes PULSE_FOOTPRINT_ESTATE=agents to start a real, authenticated Pulse
under that load, and a new compare-agents job runs it nightly. It reports
without gating (PULSE_MEMORY_GATE=0) and the issue reporter does not read
it, so the new estate cannot open the memory watch issue.

Five-minute runs on pulse-dev, v6.7.0 against main: all 360 reports
accepted on both builds, 270 resources registered, and a CPU profile
showed HandleReport -> ApplyHostReport -> replaceRegistryLocked and the
websocket merge patch, the #2199 chain. Both builds used 5.7% of a core,
wrote about 6.5 GB/day, and answered host reports at a 50 ms median but
a 1.7-1.9 s p95 and 4 s maximum. Mock runs are unchanged apart from the
legacy key path, which keeps hosts with an installed Pulse from refusing
to start.
2026-11-09 18:38:52 +00:00
rcourtman
02d293d466 Report CPU and disk writes in the nightly memory watch
The memory watch compares resident memory with the last stable, but
#2199 (sustained CPU) and #1966 (tens of GB/day of writes) are the same
class of regression and nothing measured them. Sample CPU ticks from
/proc/<pid>/stat and storage and write-call bytes from /proc/<pid>/io
beside RSS, and report steady-state CPU and MiB/day over the existing
final-third window.

The new rates are reported, not gated: budgets need a measured noise
floor first. A 5-minute run of main against itself on pulse-dev gave
0.6% CPU on both builds and 472 vs 461 MiB/day of disk writes, so writes
vary about 2.5% between identical builds and write calls about 11%.
2026-11-09 17:36:56 +00:00