feat(soak): add 7-day soak harness (engine.soak.toml, runner, snapshots, runbook)#171
Open
lgahdl wants to merge 2 commits into
Open
feat(soak): add 7-day soak harness (engine.soak.toml, runner, snapshots, runbook)#171lgahdl wants to merge 2 commits into
lgahdl wants to merge 2 commits into
Conversation
…ts, runbook) Adds the tooling gap that was blocking #65/#66 grant evidence: - engine.soak.toml: soak-tuned config (info log level, separate state_dir) - scripts/soak-run.sh: launches engine + hourly metrics snapshot loop - scripts/soak-finish.sh: graceful shutdown, stops snapshot loop, final metrics - docs/operations/soak-runbook.md: operator guide with evidence artifact map M1 (24h), M2 (48h), and M4 (7-day) evidence artifacts fall out of the hourly snapshot loop automatically. Closes nullislabs#122 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add '# shellcheck shell=bash' + file-level SC2034 disable to lib.sh (constants are used by callers that source the file; shellcheck cannot follow the source chain without explicit directives) - Replace ls glob with find in soak-finish.sh snapshot count (SC2012) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
engine.soak.toml— soak-tuned config:infolog level,data/soakstate dir, same 5 modules as e2escripts/soak-run.sh— launches engine + hourly metrics snapshot loop in the background; warns if logrotate unavailablescripts/soak-finish.sh— stops snapshot loop, graceful SIGINT, captures final metrics, prints artifact summaryscripts/lib.sh— extended withSOAK_STATE_FILE,SOAK_REPORTS_DIR,render_soak_config, and soak state helpersdocs/operations/soak-runbook.md— operator guide: pre-flight checklist, start/stop/monitor commands, evidence artifact table (M1/M2/M4), troubleshootingCloses #122
Test plan
bash -nsyntax check onsoak-run.sh,soak-finish.sh,lib.sh— cleanshellcheckon all three scripts — clean (zero warnings)