Skip to content

feat(memory-soak): ping a vps-mon heartbeat after each sample - #542

Merged
tieubao merged 3 commits into
developfrom
feat/soak-heartbeat
Nov 18, 2026
Merged

tieubao merged 3 commits into
developfrom
feat/soak-heartbeat

Conversation

@tieubao

@tieubao tieubao commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Label: live-signal (the monitor side is staged in tieubao/ops-toolkit#5816).

mini.hiddenbar-memory-soak (hourly LaunchAgent, runs scripts/memory-soak/sample from this checkout) has no monitor, so vps-mon discovery filed a catalog gap. Each completed sample now pings the mini.hiddenbar-memory-soak heartbeat through vps-mon bin/hb-ping. No URL file or a failed ping changes nothing. The end-date branch does not ping, so the heartbeat goes silent once the soak ends and is retired then (README and proof say so).

Proof: docs/verification/memory-soak-heartbeat.md (green run, negative control with the pre-change script goes RED).

After merge, on the Mini (lead): pull this checkout, then in the vps-mon checkout bin/provision-heartbeat --job mini.hiddenbar-memory-soak --interval 3600 --grace 7200 --stage-local-user tieubao (parked until the first ping). Retire at soak end, epoch 1796051986: bin/retire-heartbeat mini.hiddenbar-memory-soak.

A sample with footprint=NA measured nothing, so it no longer pings. test-heartbeat gains a fake running app (real footprint) and a stubbed-footprint case; README gets the heartbeat and retirement note.
@tieubao
tieubao marked this pull request as ready for review November 18, 2026 03:29
@tieubao
tieubao merged commit 6f7d94b into develop Nov 18, 2026
3 checks passed
@tieubao
tieubao deleted the feat/soak-heartbeat branch November 18, 2026 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant