Skip to content

test: add periodic soak resource sampling - #245

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
improve/periodic-soak-resource-evidence-20260906
Sep 6, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
improve/periodic-soak-resource-evidence-20260906

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • Add an independently scheduled resource sampler to the host soak runner.
  • Record aggregate Box-process RSS bytes and open-file counts in addition to existing lifecycle, socket, mount, and disk counters.
  • Stop the sampler before final evidence capture so no late sample races with summary verification.
  • Document the new cadence and update the soak coverage limitation.

Validation

  • bash -n scripts/host-integration-smoke.sh
  • Invalid cadence argument rejects with exit code 2.
  • One real Apple Silicon/HVF host matrix with a 1-second cadence: 198 seconds, 160 periodic samples, complete nine-column rows, and verify-soak-evidence.sh passed.
  • scripts/host-integration-smoke.sh --pure had already passed on the merge base.

The sampler is host-wide by design and does not expose command lines, environment values, or Dify secrets. Per-service Dify attribution remains a separate benchmark concern.

@ZhiXiao-Lin
ZhiXiao-Lin merged commit 8a6559a into main Sep 6, 2026
14 checks 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