ci(stress): drop per-main-push trigger; run nightly + on-demand only#135
Merged
Conversation
The stress lane ran on every push to `main` — a ~13-25 min ubuntu run per merge, the single biggest GitHub Actions-minute sink, for a post-merge signal the nightly run already covers. Remove the `push: [main]` trigger. It now runs: nightly (environment drift), `workflow_dispatch` (manual), and opt-in per-PR via a `stress` label (a job-level `if` filters to that label so other label events spin up no runner). Concurrency now cancels superseded PR-label runs; scheduled runs are never cancelled. (ci.yml already cancels superseded PR runs and skips docs-only diffs, so no change needed there.) Co-Authored-By: Claude Opus 4.8 (1M context) <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.
Saves the bulk of our GitHub Actions minutes.
The cut
The
stresslane ran on every push tomain— a ~13–25 min ubuntu run per merge (CPU-starvation-sensitive single-thread soak), for a post-merge signal the nightly run already provides. This removes thepush: [main]trigger.It now runs:
cron, environment-drift coverage) — unchangedworkflow_dispatch(manual) — unchangedstresslabel — a job-leveliffilters to that label, so other label events spin up no runnerConcurrency now cancels a superseded PR-label run; scheduled runs are never cancelled.
Already in place (no change needed)
ci.ymlalready hasconcurrency: { group: …${{ github.ref }}, cancel-in-progress: pull_request }— cancels superseded PR runs, deliberately letsmainruns finish.ci.ymlalready skips docs-only diffs (detect docs-only).So this PR is just the one high-leverage change.
stresswas never a required PR check (it didn't run on PRs), so dropping the main-push trigger doesn't affect merge gating.🤖 Generated with Claude Code