From c9db42dcd8e6b5f1bfbdd54c203eea70cce6932d Mon Sep 17 00:00:00 2001 From: Zoltan Kochan Date: Tue, 16 Jun 2026 23:55:15 +0200 Subject: [PATCH] chore: add product labels in CodeRabbit (#12459) Mirror the three product labels (product: pnpm, product: pacquet, product: pnpr) from the Qodo config into CodeRabbit, auto-applied based on which stack the diff touches. Enables auto_apply_labels so the labels are attached to the PR rather than only suggested. --- .coderabbit.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.coderabbit.yaml b/.coderabbit.yaml index 61b32d5ad5..b729dd4fde 100644 --- a/.coderabbit.yaml +++ b/.coderabbit.yaml @@ -4,3 +4,13 @@ reviews: - path: "**/*" instructions: | Apply the "AI Review Guidance" section in AGENTS.md. Security vulnerabilities are the first review priority; performance regressions in pnpm, pacquet, and pnpr are the second priority. Surface only issues tied to changed code, and explain the exploit path, impact, or hot path affected. + # Actually attach the chosen labels to the PR, not just suggest them in the walkthrough. + auto_apply_labels: true + # Custom labels assigned based on which product the diff touches. More than one may apply to a single PR. + labeling_instructions: + - label: "product: pnpm" + instructions: "Apply when changes affect the TypeScript pnpm CLI (any code outside pacquet/ and pnpr/)." + - label: "product: pacquet" + instructions: "Apply when changes affect pacquet, the Rust port of the pnpm CLI (the pacquet/ directory)." + - label: "product: pnpr" + instructions: "Apply when changes affect pnpr, the pnpm registry server (the pnpr/ directory and pacquet/crates/pnpr-* crates)."