Skip to content

ci(mutation): drop pull_request trigger, weekly schedule only#41

Merged
williaby merged 2 commits into
mainfrom
chore/mutation-pr-trigger-cleanup
Jun 10, 2026
Merged

ci(mutation): drop pull_request trigger, weekly schedule only#41
williaby merged 2 commits into
mainfrom
chore/mutation-pr-trigger-cleanup

Conversation

@williaby

Copy link
Copy Markdown
Contributor

Removes the pull_request: trigger and normalizes the fail-under-threshold expression, enforcing manifest check CI-053. Mutation testing is wall-clock expensive (60-minute typical timeout); weekly drift detection covers the regression-spotting need without gating PR merges.

Generated with Claude Code

Mutation testing is wall-clock expensive (60-minute typical timeout per
run). Wiring it as a PR check inflates merge latency and gates merges on
flaky long-running signal that the weekly cron already covers. The
previous fail-under-threshold expression also silently blocked merges.

Changes:
- Remove pull_request: trigger and concurrency PR-scope
- Remove pull-requests: write permission (no longer posts PR comments)
- Normalize fail-under-threshold to opt-in via workflow_dispatch input
- Add fail_under_threshold workflow_dispatch input (default false)
- Update header to document the policy and reference CI-053

Enforced fleet-wide by manifest check CI-053.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 21, 2026 04:08
@coderabbitai

coderabbitai Bot commented May 21, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@williaby, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 26 minutes and 37 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 9f8dffe9-50db-42e8-ad2c-45f97a70bd87

📥 Commits

Reviewing files that changed from the base of the PR and between 5f35042 and e96183a.

📒 Files selected for processing (1)
  • .github/workflows/mutation-testing.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/mutation-pr-trigger-cleanup

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov

codecov Bot commented May 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts the repository’s mutation testing GitHub Actions workflow to run only on a weekly schedule (plus manual dispatch), avoiding expensive per-PR mutation runs while still providing drift/regression visibility.

Changes:

  • Removed the pull_request trigger and PR-commenting behavior to avoid gating PRs with a typically long-running job.
  • Added a workflow_dispatch input to optionally fail the run when the mutation score is under the threshold.
  • Simplified concurrency grouping to be branch-based (since PR context no longer applies).

Comment on lines +28 to +29
default: 'false'
type: string
@williaby williaby added the skip-changelog PR intentionally omits a CHANGELOG entry label Jun 10, 2026
@williaby williaby enabled auto-merge (squash) June 10, 2026 02:37
@sonarqubecloud

Copy link
Copy Markdown

@williaby williaby merged commit 698bcba into main Jun 10, 2026
33 of 36 checks passed
@williaby williaby deleted the chore/mutation-pr-trigger-cleanup branch June 10, 2026 02:38
williaby added a commit that referenced this pull request Jun 10, 2026
Re-resolve against current main (#36/#41/#37 landed after the first sync):
- mutation-testing.yml, scorecard.yml: take main's versions (preserve the
  already-merged #41/#36 changes; #40's per-job permission tightening on
  those two files is dropped to avoid reverting merged work).
- CHANGELOG.md: keep both the Security (this PR) and Documentation (main) sections.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog PR intentionally omits a CHANGELOG entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants