Repository navigation
feat: add observed soak telemetry and validity gates - #2
Merged
Merged
Conversation
bbik52
marked this pull request as ready for review
November 17, 2026 18:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Run baseline, profiling warmup, delivery preflight, steady load, final drain and cooldown with one spool reader. Require explicit Tracewick and agent pins and verify installed runtime identity before traffic. Preserve the RoadRunner 256 MiB worker memory supervisor and invalidate worker recycling even when the container stays up.
Collect per-process RSS, anonymous memory, CPU, file descriptors and OS threads separately from cgroup memory and CPU. Record queue, delivery, writer diagnostics and k6 checkpoints in JSONL and export JSON, CSV and Markdown. Retain the legacy runner for historical reproductions. The fast CI job validates harness logic, shell syntax and Compose configuration.
Linux VPS validation
Ubuntu 26.04.1, Docker 29.1.3, Compose 2.40.3, cgroup v2 with systemd, 2 vCPU and 3.8 GiB RAM. RoadRunner 2025.1.15 with one worker, PHP 8.4.27, stack depth 48, 25 ms busy work and 10 ms sleep per request. Go agent was the only spool reader. The RR and agent containers used UID:GID
33:33with a shared spool owned by33:33. Separate container cgroup scopes confirmed resource attribution. Ports were published on loopback.e4835846fd0ba04b895ea81c0bb4a128da82e10355eb7bdb91cd4269a86bb0dd8ce22a243e5486b4a15f0d310ba6d5942e67b37d3c3c55dc1b3b810023f541b9d970db0524a1b2506b4df727e5e59998grafana/pyroscope:2.4.2grafana/k6:1.8.2make check-soakwith 16 regression tests, shell syntax and Compose config. PHP lint passed for the spool probe and RR fixture. GitHub Checks passed on the final revision.SIGKILLreplaced the PHP worker during steady load. The runner exited nonzero, retained the telemetry and marked the run invalid withapp: worker/process identity changed.Load calibration
180 s steady at sample rate 0.1 after a 20 s baseline and 30 s warmup. RPS is completed work iterations divided by the scheduled window. One health request is included in k6 HTTP metrics.
Use
RATE=10for the long run to leave headroom on the co-located host. At this rate the four measured containers used about 0.32 vCPU combined during the calibration sample span. The PHP worker RSS and anonymous memory stayed at 28.2 and 8.6 MiB respectively over the measured span. All calibration results are short observations.The runner saves interval telemetry during collection. A synthetic 17,280-row postprocessing replay based on the pilot schema used 653 MiB peak RSS on macOS. The VPS soak records Linux observer usage separately. k6 retains samples for full-window latency quantiles, so generator RSS and CPU must be interpreted separately.
The 72-hour result is pending. The pilot and controls establish harness behavior on this VPS. The short windows do not establish long-run resource stability or production readiness. See methodology and the runbook.