Skip to content

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

Open
williaby wants to merge 1 commit into
mainfrom
chore/mutation-pr-trigger-cleanup
Open

ci(mutation): drop pull_request trigger, weekly schedule only#41
williaby wants to merge 1 commit 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
Copy link
Copy Markdown

coderabbitai Bot commented May 21, 2026

Warning

Rate limit exceeded

@williaby has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 25 minutes and 24 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, 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 have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 70efc110-b74f-4546-8fda-a37f84e96535

📥 Commits

Reviewing files that changed from the base of the PR and between c0eb24a and 8ad6140.

📒 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.

@sonarqubecloud
Copy link
Copy Markdown

@codecov
Copy link
Copy Markdown

codecov Bot commented May 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown

Copilot AI left a comment

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
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.

2 participants