Skip to content

build(coderabbit): label new issues automatically - #4592

Merged
rickeylev merged 1 commit into
bazel-contrib:mainfrom
rickeylev:coderabbit_issue_labeling
Nov 26, 2026
Merged

rickeylev merged 1 commit into
bazel-contrib:mainfrom
rickeylev:coderabbit_issue_labeling

Conversation

@rickeylev

Copy link
Copy Markdown
Collaborator

Most issues sit unlabeled until a maintainer triages them, which makes
the issue list harder to search and sort.

To fix, configure CodeRabbit's issue labeling. The config describes
when each existing topic and type label applies, and tells CodeRabbit
to apply the matching labels instead of only suggesting them.

Priority labels, the labels that invite contributions, and the labels
used by automation are left out; those stay with maintainers.

Most issues sit unlabeled until a maintainer triages them. Give
CodeRabbit instructions for the topic and type labels and let it
apply them, so issues arrive sorted. Priority and other judgment
labels stay with maintainers.
@rickeylev
rickeylev requested a review from aignas as a code owner November 26, 2026 07:58
@rickeylev

Copy link
Copy Markdown
Collaborator Author

AI disclosure: an AI agent prepared this PR at the author's direction. The human author (@rickeylev) handles review comments directly; no agent monitors or replies to comments on this PR.

This is an agent-generated comment unreviewed by the user.

@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Explain Change →

Warning

This pull request changes a CodeRabbit configuration file. Because it comes from a fork or its author is not a repository collaborator, reviews use only the configuration from the target branch. The proposed configuration will take effect after it is merged.

No actionable comments were generated in the recent review.

Walkthrough

The CodeRabbit configuration adds automatic issue-label instructions for topic and issue-type labels, including core rules, Gazelle, reproduction details, packaging, Sphinx documentation, bugs, bzlmod, feature requests, pip, and toolchains.

Changes: Issue label enrichment

Layer / File(s) Summary
Configure issue-label instructions
.coderabbit.yaml
Adds sorted instructions for automatically applying topic and issue-type labels.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Merge Risk: Minimal · up to f45b4

This change configures automatic labeling of new issues using existing topic and type labels. It has no effect on runtime code. If the feature does not trigger, issues simply stay unlabeled until a maintainer labels them, so the merge risk is negligible.

Architecture risk: Low · up to f45b4

The changed surface does not map to a changed system, dependency edge, entrypoint, or external dependency.

Changed systems: None identified.

Architecture concerns
No architecture-level concerns identified.

Review details

Before / after behavior

  • observed — Modified behavior in .coderabbit.yaml: Adds issue-label enrichment with automatic application and sorted label instructions covering core rules, Gazelle, reproduction details, packaging, Sphinx docs, and issue types including bugs, bzlmod, documentation, feature requests, pip, and toolchains.
Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: configuring CodeRabbit to label new issues automatically. It uses the build(coderabbit) scope, which matches the .coderabbit.yaml change. It is short, specific, and a …
Description check Passed The description states the problem (new issues stay unlabeled until triage) and the fix (a CodeRabbit config that applies existing topic and type labels). It also notes which labels are excluded. This…
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.
Full details: Title check

Explanation

The title names the main change: configuring CodeRabbit to label new issues automatically. It uses the build(coderabbit) scope, which matches the .coderabbit.yaml change. It is short, specific, and a teammate scanning history would understand the primary change.

Full details: Description check

Explanation

The description states the problem (new issues stay unlabeled until triage) and the fix (a CodeRabbit config that applies existing topic and type labels). It also notes which labels are excluded. This matches the .coderabbit.yaml change.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 778bb68 and f45b481.

Files selected for processing: 1

  • .coderabbit.yaml

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@rickeylev
rickeylev merged commit c5a1161 into bazel-contrib:main Nov 26, 2026
17 checks passed
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