Skip to content

[infra] Add change-type review guides with runtime/ template#911

Open
weiqingy wants to merge 1 commit into
apache:mainfrom
weiqingy:review-guides-runtime
Open

[infra] Add change-type review guides with runtime/ template#911
weiqingy wants to merge 1 commit into
apache:mainfrom
weiqingy:review-guides-runtime

Conversation

@weiqingy

Copy link
Copy Markdown
Collaborator

Linked issue: #894

Purpose of change

Item 2 of #894, in the shape agreed on the issue: split the worked examples into a per-change-type structure rather than a single appendix, so code_review.md stays a thin index and the detailed guidance for a change type loads only when an agent touches that kind of change.

This first PR establishes the template:

The remaining change types (api/, Python-Java bridge, dist/dependency, docs-only) are listed as planned and will follow one small PR each once this shape is settled, so the template can be reviewed before the rest are filled in. The examples come from actual human reviews per the issue discussion, and each links the specific review comment.

Tests

Not applicable — documentation only, no logic.

Ran ./tools/check-license.sh with the change: RAT passes, confirming review-guides/ is correctly excluded (a review-guide file has no place for a license header, matching the existing AGENTS.md and code_review.md exemptions).

API

No. No code or public API change.

Documentation

  • doc-included

Add a change-type review guide index to code_review.md, and the first
per-type guide as a template: runtime/ state and recovery. Each guide
narrows the full review passes to the concerns that matter most for one
change type and links examples from past reviews, so the detail loads on
demand and the main guide stays concise.

The runtime/ guide draws its two examples from real review threads
(apache#874, apache#880). Remaining change types are listed as planned and will
follow one small PR each once this shape is settled.

Exempt review-guides/ from Apache RAT, matching the existing AGENTS.md
and code_review.md exemptions.
@github-actions github-actions Bot added doc-included Your PR already contains the necessary documentation updates. fixVersion/0.4.0 priority/major Default priority of the PR or issue. labels Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-included Your PR already contains the necessary documentation updates. fixVersion/0.4.0 priority/major Default priority of the PR or issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant