[PR #7348] [MERGED] chore(coderabbit): review against the repository's own rules #7692

Closed
opened 2026-10-24 04:06:35 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7348
Author: @SpicyMarinara
Created: 10/9/2026
Status: ✅ Merged
Merged: 10/9/2026
Merged by: @SpicyMarinara

Base: staging ← Head: chore/coderabbit-paid-features


📝 Commits (5)

  • 84e50a1 chore(coderabbit): review against the repository's own rules
  • 35ea0f5 Merge origin/staging into chore/coderabbit-paid-features
  • 6d952fa Merge origin/staging into chore/coderabbit-paid-features
  • ba045ff Move the CHANGELOG entry away from other open PRs
  • 1977eae chore(coderabbit): cover generate.routes.ts, allow token definitions, check changed UI text

📊 Changes

3 files changed (+121 additions, -0 deletions)

View changed files

📝 .coderabbit.yaml (+119 -0)
📝 CHANGELOG.md (+1 -0)
📝 CONTRIBUTING.md (+1 -0)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #7347

Why this change

  • Pasta-Devs now has a paid CodeRabbit seat (Advanced plan, 10 reviews per hour), but .coderabbit.yaml only set the review profile. Reviews didn't know the repository's own rules, so maintainers kept catching the same problems by hand: hard-coded colours, UI text missing from en.json, console calls in server code, missing changelog entries and loosened tests.
  • The docstring-coverage pre-merge check warned on almost every PR, although the repository doesn't use docstring coverage.

What changed

  • Guidelines: CodeRabbit reads AGENTS.md, CONTRIBUTING.md, packages/client/.instructions.md and .github/agents/chai-workflow.md as review criteria.
  • Path instructions for client UI (theme colours, steady accent, en.json keys, plain copy, no unasked rewording, shared windows, mobile), other locale files, server (Pino logger, debug prompt logging, admin-secret protection, SSRF, storage format), prompt assembly, regressions and e2e (no weakened assertions, CodeQL rule), docs (docs-i18n follow-ups), CHANGELOG.md and version files.
  • Pre-merge checks, all warning so nothing new blocks a merge:
    • Theme colours only
    • Localized UI text
    • Server logs via Pino
    • Changelog entry
    • Existing tests not weakened
    • Conventional Commits title requirement
    • Docstring coverage: off
  • Finishing touches:
    • Recipes contributors can run: @coderabbitai run changelog, @coderabbitai run localize, @coderabbitai run theme colours.
    • Enabled: autofix, fix failing CI, resolve merge conflicts and simplify.
    • Off: unit-test and docstring generation. The repository keeps regressions in scripts/regressions/ and no unit test files.
  • Knowledge: Pasta-Devs/Marinara-Agents is linked as review context. Issue enrichment and issue planning are on, and so is early_access.
  • tone_instructions: concise, plain, failure scenario first, no praise or linter nits.
  • One CONTRIBUTING bullet and one CHANGELOG entry tell contributors about the recipes.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Manually verify that CodeRabbit's walkthrough on this PR shows no configuration error.
  • Manually verify that the next PR's walkthrough lists the five custom pre-merge checks and no docstring-coverage warning.
  • Manually verify that @coderabbitai run changelog on a test PR pushes a changelog entry only.

Agent-run checks: the new .coderabbit.yaml validates against https://coderabbit.ai/integrations/schema.v2.json (ajv 8, js-yaml). Prettier passes on .coderabbit.yaml and CHANGELOG.md. No code changed, so pnpm check was not rerun.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

Nothing under docs/ changed, so no translation follow-up is needed.

UI evidence (if applicable)

None: configuration only.

Summary by CodeRabbit

  • Documentation
    • Updated contribution guidance with pull request commands for changelog entries, localization, theme colors, and merge-conflict resolution.
    • Added a reminder to review command-generated changes before requesting review.
  • Chores
    • Added repository-convention checks for localized UI text, theme colors, server logging, changelog entries, and existing test assertions.
  • Changelog
    • Added an Unreleased entry covering the new review checks and pull request commands.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/7348 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/9/2026 **Status:** ✅ Merged **Merged:** 10/9/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `chore/coderabbit-paid-features` --- ### 📝 Commits (5) - [`84e50a1`](https://github.com/Pasta-Devs/Marinara-Engine/commit/84e50a1e993d0b9cd9f6934c5f2d8a6fbcbef109) chore(coderabbit): review against the repository's own rules - [`35ea0f5`](https://github.com/Pasta-Devs/Marinara-Engine/commit/35ea0f52619cb7b236b7ae27d7ce515472755434) Merge origin/staging into chore/coderabbit-paid-features - [`6d952fa`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6d952fa8715bbf59413384201593a4ce8e905fe0) Merge origin/staging into chore/coderabbit-paid-features - [`ba045ff`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ba045ff1e3cbd69fee4740158aaaa2ef8a2bfe60) Move the CHANGELOG entry away from other open PRs - [`1977eae`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1977eaebffcd8adf9a894b28ea0ca11423147a85) chore(coderabbit): cover generate.routes.ts, allow token definitions, check changed UI text ### 📊 Changes **3 files changed** (+121 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.coderabbit.yaml` (+119 -0) 📝 `CHANGELOG.md` (+1 -0) 📝 `CONTRIBUTING.md` (+1 -0) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. <!-- See CONTRIBUTING.md § Branches. --> ## Linked issue Closes #7347 ## Why this change - Pasta-Devs now has a paid CodeRabbit seat (Advanced plan, 10 reviews per hour), but `.coderabbit.yaml` only set the review profile. Reviews didn't know the repository's own rules, so maintainers kept catching the same problems by hand: hard-coded colours, UI text missing from `en.json`, `console` calls in server code, missing changelog entries and loosened tests. - The docstring-coverage pre-merge check warned on almost every PR, although the repository doesn't use docstring coverage. ## What changed - **Guidelines:** CodeRabbit reads `AGENTS.md`, `CONTRIBUTING.md`, `packages/client/.instructions.md` and `.github/agents/chai-workflow.md` as review criteria. - **Path instructions** for client UI (theme colours, steady accent, `en.json` keys, plain copy, no unasked rewording, shared windows, mobile), other locale files, server (Pino logger, debug prompt logging, admin-secret protection, SSRF, storage format), prompt assembly, regressions and e2e (no weakened assertions, CodeQL rule), docs (docs-i18n follow-ups), `CHANGELOG.md` and version files. - **Pre-merge checks**, all `warning` so nothing new blocks a merge: - Theme colours only - Localized UI text - Server logs via Pino - Changelog entry - Existing tests not weakened - Conventional Commits title requirement - Docstring coverage: off - **Finishing touches:** - Recipes contributors can run: `@coderabbitai run changelog`, `@coderabbitai run localize`, `@coderabbitai run theme colours`. - Enabled: autofix, fix failing CI, resolve merge conflicts and simplify. - Off: unit-test and docstring generation. The repository keeps regressions in `scripts/regressions/` and no unit test files. - **Knowledge:** Pasta-Devs/Marinara-Agents is linked as review context. Issue enrichment and issue planning are on, and so is `early_access`. - `tone_instructions`: concise, plain, failure scenario first, no praise or linter nits. - One CONTRIBUTING bullet and one CHANGELOG entry tell contributors about the recipes. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Manually verify that CodeRabbit's walkthrough on this PR shows no configuration error. - Manually verify that the next PR's walkthrough lists the five custom pre-merge checks and no docstring-coverage warning. - Manually verify that `@coderabbitai run changelog` on a test PR pushes a changelog entry only. Agent-run checks: the new `.coderabbit.yaml` validates against `https://coderabbit.ai/integrations/schema.v2.json` (ajv 8, js-yaml). Prettier passes on `.coderabbit.yaml` and `CHANGELOG.md`. No code changed, so `pnpm check` was not rerun. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) Nothing under `docs/` changed, so no translation follow-up is needed. ## UI evidence (if applicable) None: configuration only. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Updated contribution guidance with pull request commands for changelog entries, localization, theme colors, and merge-conflict resolution. * Added a reminder to review command-generated changes before requesting review. * **Chores** * Added repository-convention checks for localized UI text, theme colors, server logging, changelog entries, and existing test assertions. * **Changelog** * Added an Unreleased entry covering the new review checks and pull request commands. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-24 04:06:35 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#7692
No description provided.