Skip to content

[Fix] Mutation warnings appear twice after drafts become ready - #1645

Draft
zoomote[bot] wants to merge 1 commit into
mainfrom
fix/skip-draft-mutation-runs
Draft

zoomote[bot] wants to merge 1 commit into
mainfrom
fix/skip-draft-mutation-runs

Conversation

@zoomote

@zoomote zoomote Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

​Created by Roomote. Follow up by mentioning @roomote, in the web UI, or in Discord.

What changed

Changed-code mutation testing now skips pull-request jobs while the PR is a draft. It starts when the PR becomes ready and continues to run for reviewable opens, new commits, reopens, and merge-queue checks.

Focused workflow tests model the draft-open to ready transition and preserve the supported reviewable event paths.

Why this change was made

PR #1644 showed GitHub retaining annotations from both the draft-open run and the ready-for-review run for the same head SHA. Within-run warning deduplication cannot remove annotations belonging to an earlier workflow run.

Impact

Draft PR creation no longer emits mutation annotations that GitHub can display again beside the ready-for-review results. Mutation enforcement remains unchanged once a PR is reviewable and in the merge queue.

@coderabbitai

coderabbitai Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • coderabbit-review-active

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 25c61ba5-08d6-45e1-a233-c4a2fd25afcd

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

@github-actions

github-actions Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Review status

This PR was opened by an automated account. A human maintainer must verify the change intent, provenance, and validation before merging.

Current step: Mark the PR ready. Required CI must pass before CodeRabbit starts.

Review-state labels are managed by this workflow; do not edit them manually.

@codecov

codecov Bot commented Sep 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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