Skip to content

docs: name the three surfaces a PR's feedback can sit on - #337

Merged
CybotTM merged 2 commits into
mainfrom
docs/three-comment-surfaces
Sep 20, 2026
Merged

CybotTM merged 2 commits into
mainfrom
docs/three-comment-surfaces

Conversation

@CybotTM

@CybotTM CybotTM commented Sep 20, 2026

Copy link
Copy Markdown
Member

Merging this adds a subsection to references/pull-request-workflow.md naming the three API surfaces a pull request's feedback can sit on, so a reader stops concluding "no comments" from one empty query. It sits in "Reviewing a PR: Read the Standing Review State First", above the subagent-anchor subsection.

The reference already documents issues/$PR/comments, pulls/$PR/reviews and pulls/$PR/comments in separate places, each for its own purpose. It never says that reading a pull request's feedback means querying all three. A maintainer can write a whole review — prose plus suggestion blocks — into the review body rather than onto a diff line, and then the two obvious queries both return an empty list.

Observed on TYPO3-Documentation/TYPO3CMS-Reference-CoreApi#6992 on 2026-09-18: issue comments 0, review comments 0, one COMMENTED review carrying two suggestion blocks.

The subsection also states the two consequences for the reply. The committable-suggestion control belongs to a line comment on the Files-changed tab, quoted from GitHub's own "Commenting on a pull request" page, so a suggestion block typed into a review body is ordinary fenced code and "I committed your suggestion" mis-states what happened. The body is not a thread either, so the answer is a pull request comment citing the commit SHA.

Two commits: the subsection, then a follow-up that replaced the unsourced "no apply button" assertion with GitHub's documented placement rule and a link to it.

Tests: pre-commit ran markdownlint-cli2 and the repo's other hooks on both commits; all passed.

Assisted by claude-code:claude-opus-5 — Session

Reading the comments on a pull request is three API calls, and the reference
documented each endpoint separately without stating that all three have to be
read. A maintainer can put a whole review, `suggestion` blocks included, into
the review body instead of onto a diff line. Both other queries then return an
empty list, so "there are no comments" is reported while a full review waits.

Observed on TYPO3-Documentation/TYPO3CMS-Reference-CoreApi#6992: issue comments
0, review comments 0, one COMMENTED review carrying two suggestions.

The new subsection also states the two consequences for the reply: a suggestion
in a review body has no apply button, and the body is not a thread, so the
answer is a PR comment citing the commit SHA.

Assisted-by: claude-code:claude-opus-5
Agent-Session: https://claude.ai/code/session_01NnQTMiCugD4XCP1kptR2BE
Agent-Host: 0493f0
Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
@coderabbitai

coderabbitai Bot commented Sep 20, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

Warning

Review limit reached

Next included review available in 57 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: e0892551-68a7-43f0-9cdd-162c5a9a3100

📥 Commits

Reviewing files that changed from the base of the PR and between 02322c9 and e00a415.

📒 Files selected for processing (1)
  • skills/git-workflow/references/pull-request-workflow.md

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 48cb7999-9ebd-4c6f-987e-31e331749678

📥 Commits

Reviewing files that changed from the base of the PR and between c2fc37f and 02322c9.

📒 Files selected for processing (1)
  • skills/git-workflow/references/pull-request-workflow.md

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

Adds a subsection to the PR review workflow documentation. It explains that issue comments, reviews, and review comments require separate API queries. It also documents that suggestions in review bodies do not provide an “Apply suggestion” button and that review bodies are not threads, so responses should cite the resolving commit in a PR comment.

Priority: ⬇️ Low

Change: Other

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly and concisely describes the main documentation change: identifying the three surfaces where pull request feedback can appear.
Description check ✅ Passed The description directly explains the documentation change, its purpose, the three API surfaces, the suggestion behavior, and the validation performed.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
✨ Simplify code
  • Commit to this branch
  • Create a new PR

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

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions github-actions Bot added documentation Improvements or additions to documentation skill labels Sep 20, 2026
@CybotTM
CybotTM marked this pull request as ready for review September 20, 2026 09:39
Copilot AI lite review requested due to automatic review settings September 20, 2026 09:39

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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@CybotTM
CybotTM marked this pull request as draft September 20, 2026 09:41
The paragraph asserted that a suggestion block in a review body carries no
apply button without naming a source. GitHub documents the control as part of
a line comment on the Files-changed tab, so the sentence now quotes that
instruction and links the page instead of stating the consequence bare.

Assisted-by: claude-code:claude-opus-5
Agent-Session: https://claude.ai/code/session_01NnQTMiCugD4XCP1kptR2BE
Agent-Host: 0493f0
Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
@CybotTM
CybotTM marked this pull request as ready for review September 20, 2026 09:41
@sonarqubecloud

Copy link
Copy Markdown

@CybotTM

CybotTM commented Sep 20, 2026

Copy link
Copy Markdown
Member Author

Self-review: e00a415

The bot review this pull request demands is unsatisfiable (Copilot quota wall or repeated bot failures on this head). The diff on this head was reviewed by the PR author; this comment is the on-the-record attestation the merge gate reads back. It stops matching on the next push.

@CybotTM
CybotTM merged commit 05429b0 into main Sep 20, 2026
24 checks passed
@CybotTM
CybotTM deleted the docs/three-comment-surfaces branch September 20, 2026 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation skill

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants