Skip to content

ci(stress): drop per-main-push trigger; run nightly + on-demand only#135

Merged
phall1 merged 1 commit into
mainfrom
phux-ci-stress-gating
Jun 17, 2026
Merged

ci(stress): drop per-main-push trigger; run nightly + on-demand only#135
phall1 merged 1 commit into
mainfrom
phux-ci-stress-gating

Conversation

@phall1

@phall1 phall1 commented Jun 17, 2026

Copy link
Copy Markdown
Owner

Saves the bulk of our GitHub Actions minutes.

The cut

The stress lane ran on every push to main — 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 the push: [main] trigger.

It now runs:

  • nightly (cron, environment-drift coverage) — unchanged
  • workflow_dispatch (manual) — unchanged
  • 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 a superseded PR-label run; scheduled runs are never cancelled.

Already in place (no change needed)

  • ci.yml already has concurrency: { group: …${{ github.ref }}, cancel-in-progress: pull_request } — cancels superseded PR runs, deliberately lets main runs finish.
  • ci.yml already skips docs-only diffs (detect docs-only).

So this PR is just the one high-leverage change. stress was 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

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>
@phall1 phall1 merged commit f4b1460 into main Jun 17, 2026
3 checks passed
@phall1 phall1 deleted the phux-ci-stress-gating branch June 17, 2026 04:31
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