Skip to content

feat(workloads): wire chaos workload params through WorkloadConfig.Params#77

Merged
mrhillsman merged 2 commits into
mainfrom
fix/wire-chaos-params-62
May 23, 2026
Merged

feat(workloads): wire chaos workload params through WorkloadConfig.Params#77
mrhillsman merged 2 commits into
mainfrom
fix/wire-chaos-params-62

Conversation

@mrhillsman

@mrhillsman mrhillsman commented May 23, 2026

Copy link
Copy Markdown
Contributor

Read mount, fill-percent, fill-sleep, release-sleep (chaos-disk), latency-ms, packet-loss-percent (chaos-network), and signal, interval, min-pid (chaos-process) from Config.Params with documented defaults, mirroring the tps workload pattern. Convert hardcoded script constants and systemd units to format-string templates. Remove ChaosNetworkWorkload Latency/PacketLoss struct fields in favor of param accessors.

Add tests for default values, full custom overrides, and partial param maps across all three chaos workloads.

Create config.yaml.example configuration file with inline documentation.

Resolves #62 and #63

…rams

Read mount, fill-percent, fill-sleep, release-sleep (chaos-disk),
latency-ms, packet-loss-percent (chaos-network), and signal, interval,
min-pid (chaos-process) from Config.Params with documented defaults,
mirroring the tps workload pattern. Convert hardcoded script constants
and systemd units to format-string templates. Remove ChaosNetworkWorkload
Latency/PacketLoss struct fields in favor of param accessors.

Add tests for default values, full custom overrides, and partial param
maps across all three chaos workloads.

Signed-off-by: Melvin Hillsman <mhillsma@redhat.com>
Complete annotated example covering every global setting, SSH field,
audit option, and all nine workloads with their per-workload params.
Each key includes its default value, equivalent env var, and CLI flag.

Signed-off-by: Melvin Hillsman <mhillsma@redhat.com>
@exe-prow-github-app
exe-prow-github-app Bot requested a review from OchiengEd May 23, 2026 01:10
@exe-prow-github-app

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mrhillsman

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@exe-prow-github-app exe-prow-github-app Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 23, 2026
@mrhillsman
mrhillsman merged commit 806e190 into main May 23, 2026
3 of 4 checks passed
@mrhillsman
mrhillsman removed the request for review from OchiengEd May 23, 2026 02:24
@mrhillsman
mrhillsman deleted the fix/wire-chaos-params-62 branch May 24, 2026 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Tech Debt]: Wire chaos workload params through WorkloadConfig.Params

1 participant