Skip to content

[Draft] 3008.x: rename nightly-stress-test.yml to run-stress-test.yml, add branch input - #70088

Closed
charzl wants to merge 1 commit into
3008.xfrom
feature/run-stress-test-3008x
Closed

[Draft] 3008.x: rename nightly-stress-test.yml to run-stress-test.yml, add branch input#70088
charzl wants to merge 1 commit into
3008.xfrom
feature/run-stress-test-3008x

Conversation

@charzl

@charzl charzl commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

Part of VCOPS-100029 (run a stress test against a specific PR/branch on demand). Companion to #70087 (master), which adds a nightly-stress-test.yml dispatcher on master that fires this branch's own copy of the (renamed) workflow nightly via workflow_dispatch --ref 3008.x, matching the --ref matrix.branch pattern already used by run-nightly.yml's trigger-branch-nightly-builds job.

  • Renamed nightly-stress-test.yml -> run-stress-test.yml (drops the dead schedule: trigger -- GitHub only honors schedule: off the repo's default branch, so it never fired on this branch anyway).
  • Added a required branch input (default 3008.x), used to checkout the actual code under test -- lets this be invoked against an arbitrary branch/PR, not just this one.
  • Kept this branch's own enable_metrics / worker_threads inputs and Configure salt-master step as-is (not merged/aligned with master's simpler copy -- intentionally left divergent per-branch).
  • Branch-qualified the Docker cache key, uploaded artifact name, and stress-snapshots run dir with inputs.branch, matching master's copy.

Test plan

Drops the schedule: trigger (dead on this non-default branch anyway --
GitHub only honors schedule off the repo's default branch) and adds a
required branch input (default 3008.x) so this can be invoked with
--ref 3008.x from the dispatcher in saltstack/salt's nightly-stress-test.yml
(VCOPS-100029's nightly coverage) as well as manually against any branch/
PR diff. Keeps this branch's own enable_metrics/worker_threads inputs
and Configure salt-master step as-is.

Branch-qualifies the Docker cache key, artifact name, and
stress-snapshots run dir with inputs.branch, matching the same pattern
on master's copy of this file.
@charzl
charzl requested a review from a team as a code owner August 19, 2026 05:10
@charzl charzl changed the title 3008.x: rename nightly-stress-test.yml to run-stress-test.yml, add branch input [Draft] 3008.x: rename nightly-stress-test.yml to run-stress-test.yml, add branch input Aug 19, 2026
@charzl

charzl commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator Author

Closing — went with Option A (single source of truth on master, dispatched via --ref master + inputs.branch) instead of per-branch copies. 3008.x's enable_metrics/worker_threads inputs have been folded into master's run-stress-test.yml as universal opt-in inputs instead (see #70087), so this branch doesn't need its own copy of the file.

@charzl charzl closed this Aug 19, 2026
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