Skip to content

fix: handle healthcheck exit during soak process probes - #7

Merged
bbik52 merged 1 commit into
mainfrom
feature/soak-proc-races
Nov 19, 2026
Merged

bbik52 merged 1 commit into
mainfrom
feature/soak-proc-races

Conversation

@bbik52

@bbik52 bbik52 commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The 72-hour soak stopped after 27.12 hours because a PHP healthcheck exited between reading its process name and stat file. The probe had already emitted a partial record and returned an empty-detail failure. A burst of real extension healthchecks reproduced that path on iteration 17.

Buffer each process record before publishing it and omit processes that exit during collection. Keep live-process read errors fatal, with PID and field diagnostics, and retain the existing worker identity continuity gate. Add deterministic regression tests and an incident report with the retained partial-duration observations.

Validation

  • Local make check-soak passes, including 33 tests, shell syntax and Compose config.
  • The old probe fails the deterministic process-teardown regression.
  • On the VPS, 500 corrected probes under concurrent real PHP healthchecks parsed successfully with one persistent worker identity.
  • Full RR/agent/Pyroscope pilot on SHA 2fabb7d passed, with empty spool after drain.
  • Negative control rejected a replaced PHP worker with invalid status and nonzero exit.
  • GitHub Checks pass.

The interrupted run remains invalid. Its artifacts are retained. A new continuous experiment is prepared at 10 RPS, sample rate 0.1 and the same product source pins.

@bbik52
bbik52 marked this pull request as ready for review November 19, 2026 08:36
@bbik52
bbik52 merged commit 934791c into main Nov 19, 2026
1 check passed
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