Skip to content

Drop nightly-stress-test.yml's own schedule and branch input on 3006.x - #70197

Open
charzl wants to merge 1 commit into
saltstack:3006.xfrom
charzl:feature/run-stress-test
Open

Drop nightly-stress-test.yml's own schedule and branch input on 3006.x#70197
charzl wants to merge 1 commit into
saltstack:3006.xfrom
charzl:feature/run-stress-test

Conversation

@charzl

@charzl charzl commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Removes nightly-stress-test.yml's own schedule: trigger on 3006.x -- run-nightly-stress.yml (master) becomes the sole cron owner and sole branch list, matching the existing nightly.yml/run-nightly.yml split elsewhere in this repo
  • Removes the branch workflow_dispatch input (previously required: true, no default); every place that read inputs.branch (checkout ref, Docker layer cache key, artifact name, stress-snapshots run path) now reads github.ref_name instead
  • No other behavior changes -- this stays a single file that does the actual Docker/stress-test work itself, same as before

Why

3006.x's schedule: never actually fires (GitHub only honors schedule: from the repository's default branch), so it was dead weight. Meanwhile the file already relied on the caller to pass -f branch=3006.x explicitly, which is redundant with --ref 3006.x -- both were always set to the same value by any real caller, so github.ref_name reads the same information without a second parameter that could drift out of sync.

Test plan

@charzl
charzl requested a review from a team as a code owner August 31, 2026 22:04
@charzl charzl changed the title Enable nightly stress test on 3006.x, matching master's dispatcher/worker split [draft]Enable nightly stress test on 3006.x, matching master's dispatcher/worker split Aug 31, 2026
charzl added a commit that referenced this pull request Aug 31, 2026
This PR's scope shrinks to just run-nightly-stress.yml's matrix
change. nightly-stress-test.yml's rewrite (dispatcher-loop removal,
schedule removal, SKIP_NIGHTLY_STRESS_TEST dedup) is being established
on 3006.x first (#70197) and will be ported to master and 3008.x as
separate, later changes -- not bundled into this PR.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@charzl charzl changed the title [draft]Enable nightly stress test on 3006.x, matching master's dispatcher/worker split Enable nightly stress test on 3006.x, matching master's dispatcher/worker split Aug 31, 2026
@charzl charzl changed the title Enable nightly stress test on 3006.x, matching master's dispatcher/worker split Drop nightly-stress-test.yml's own schedule and branch input on 3006.x Aug 31, 2026
run-nightly-stress.yml (master) now dispatches every branch's nightly
stress test explicitly via its matrix, so 3006.x's own schedule: was
redundant -- it never actually fired anyway, since GitHub only honors
schedule: from the repository's default branch. Drop it and let
run-nightly-stress.yml be the sole cron entry point and sole branch
list, matching the existing nightly.yml/run-nightly.yml split.

Also drop the branch workflow_dispatch input: every real caller
already passes --ref matching it, so github.ref_name reads the same
value without a second parameter that could drift out of sync.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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