Skip to content

autofix skill: 'Do not post per-issue replies' defeats thread resolution on ruleset-protected repos #21

Description

@Sumit1993

The autofix skill's Key Notes instruct: "Do not post per-issue replies - Keep the workflow summary-comment only."

This guidance conflicts with CodeRabbit's own review flow on repos using GitHub rulesets with required_review_thread_resolution:

  1. A top-level PR summary comment never resolves the review threads CodeRabbit opened.
  2. The PR then stays unmergeable (green CI, mergeStateStatus: BLOCKED) until every thread is resolved.
  3. An agent following the skill can't fix this without bypassing the review gate (self-resolving via the resolveReviewThread GraphQL mutation — which defeats the point of the rule).

The mechanism that works WITH CodeRabbit: reply in-thread to the root comment (POST /repos/{o}/{r}/pulls/{pr}/comments/{id}/replies) with @coderabbitai <fix summary>. Please verify and resolve. — CodeRabbit verifies against the pushed commit and resolves its own thread in ~1-5 min. Observed end-to-end 2026-07-12 on an OSS repo: top-level comments left 3 green PRs blocked ~45 min; in-thread replies got every thread verified-and-resolved.

Suggested change: replace the "no per-issue replies" note with: post fix confirmations as in-thread replies to the root comment (mentioning @coderabbitai, asking to verify and resolve), keep the summary comment as an addition, and never self-resolve threads via the API. Happy to PR this if useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions