[PR #1447] [MERGED] ci: Dottore pull-request reviews through the Marinara-Engine workflow #1467

Closed
opened 2026-10-21 05:11:47 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1447
Author: @Promansis
Created: 10/18/2026
Status: ✅ Merged
Merged: 10/19/2026
Merged by: @SpicyMarinara

Base: staging ← Head: dottore-upstream


📝 Commits (7)

  • 8b81f17 ci: Dottore pull-request reviewer, on request, through the Marinara-Engine workflow
  • b38518b ci(dottore): refresh the dispatcher copies: fork PR lookup by head branch, write access for /dottore autofix
  • 51c957b ci(dottore): refresh the approval dispatcher copy: encoded fork head filter
  • 251ab4a ci(dottore): refresh the dispatcher copies: markers from the header, full review on retarget
  • 6b72cda Merge branch 'staging' into dottore-upstream
  • cb3ce08 ci(dottore): pin the wrapper to the merged Pasta-Devs/Marinara-Engine reviewer
  • 16670f0 Merge branch 'staging' into dottore-upstream

📊 Changes

5 files changed (+540 additions, -0 deletions)

View changed files

➕ .github/dottore-review/rules.json (+139 -0)
➕ .github/workflows/dottore-review-approve.yml (+72 -0)
➕ .github/workflows/dottore-review-auto.yml (+96 -0)
➕ .github/workflows/dottore-review-command.yml (+176 -0)
➕ .github/workflows/dottore-review.yml (+57 -0)

📄 Description

Linked issue

Closes #1446

Why this change

  • Marinara-Agents pull requests get the same Dottore review as Marinara-Engine (Pasta-Devs/Marinara-Engine#7776), on request only, beside CodeRabbit. The reviewer itself lives in Marinara-Engine; this repository keeps only what is its own.

What changed

  • .github/workflows/dottore-review.yml: a wrapper that calls the Engine reviewer pinned by commit with this repository's inputs and secrets. The pin is Pasta-Devs/Marinara-Engine/.github/workflows/dottore-review.yml@e10a92638b337c10a4a88059a1ab2306cf075876, the merge commit of Pasta-Devs/Marinara-Engine#7776 on Engine staging (no later Engine staging commit changes the Dottore files).
  • .github/workflows/dottore-review-command.yml, dottore-review-auto.yml, dottore-review-approve.yml: byte copies of the Engine dispatchers at that same commit.
  • .github/dottore-review/rules.json: this repository's review rules (package boundaries, catalog, versioning), read from the pull request's base branch.

Setting it up (maintainer)

  • Right after merging, disable the Dottore Review Auto Dispatch workflow under Actions, as in Marinara-Engine, and leave DOTTORE_AUTO_REVIEW unset: reviews start only from a /dottore comment.
  • The same DOTTORE_SMALL_* / DOTTORE_LARGE_* variables and DOTTORE_*_API_KEY secrets as Marinara-Engine, plus DOTTORE_BASE_REFS=staging. DOTTORE_APP_ID / DOTTORE_APP_PRIVATE_KEY only if repairs should push, with the App installed here too.

Validation

  • pnpm check passes locally
  • Read and followed CONTRIBUTING.md

Run by the author's agent:

  • The four workflows parse; the wrapper and dispatchers are the ones the Promansis fork ran (Promansis/Marinara-Agents#48 and #49 reviewed Viable).

Run for the repin:

  • cmp of the three dispatcher workflows against git show e10a92638b337c10a4a88059a1ab2306cf075876:.github/workflows/<file> in Marinara-Engine: identical.
  • git log e10a92638b337c10a4a88059a1ab2306cf075876..origin/staging -- .github/workflows .github/dottore-review in Marinara-Engine: no commits.
  • The Engine reusable workflow at the pin declares the same workflow_call inputs and secrets the wrapper passes.
  • ruby -ryaml -e 'YAML.load_file(...)' on all four dottore-review*.yml workflows: all parse.
  • python3 -c "import json; json.load(open('.github/dottore-review/rules.json'))": parses.

Manual verification notes

  • Manually verify: with the settings in place, comment /dottore on an open pull request into staging and confirm the walkthrough and the Dottore Review status appear.
  • Manually verify in the Actions run of that /dottore comment that the called workflow resolves to Pasta-Devs/Marinara-Engine@e10a92638b337c10a4a88059a1ab2306cf075876.

Summary by CodeRabbit

  • New Features
    • Added automated review support for eligible pull requests, including reviews triggered by pull request activity and completed checks.
    • Added /dottore commands to request a review, run a full review, or request autofixes. Authorized contributors can also request approval reviews.
    • Added an autofix option to Dottore walkthrough comments, available to contributors with sufficient repository permissions.
    • Added review guidance for repository workflows and package areas.

🔄 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-Agents/pull/1447 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 10/18/2026 **Status:** ✅ Merged **Merged:** 10/19/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `dottore-upstream` --- ### 📝 Commits (7) - [`8b81f17`](https://github.com/Pasta-Devs/Marinara-Agents/commit/8b81f175aac136b84d87d86b5f0aa0f88e410b3e) ci: Dottore pull-request reviewer, on request, through the Marinara-Engine workflow - [`b38518b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/b38518b2cbac1da4f6cfdd0336777603ecb94e39) ci(dottore): refresh the dispatcher copies: fork PR lookup by head branch, write access for /dottore autofix - [`51c957b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/51c957b2c0ee85cc1b39a40c1d44efc8a99e09c1) ci(dottore): refresh the approval dispatcher copy: encoded fork head filter - [`251ab4a`](https://github.com/Pasta-Devs/Marinara-Agents/commit/251ab4a1c666b9be4ad9cf5467afdd10e0f74506) ci(dottore): refresh the dispatcher copies: markers from the header, full review on retarget - [`6b72cda`](https://github.com/Pasta-Devs/Marinara-Agents/commit/6b72cdac3a4b0ef21f8f11714bda6981d7bc4b22) Merge branch 'staging' into dottore-upstream - [`cb3ce08`](https://github.com/Pasta-Devs/Marinara-Agents/commit/cb3ce08539868b9c4eaf0d665be13e0b8cb95dfc) ci(dottore): pin the wrapper to the merged Pasta-Devs/Marinara-Engine reviewer - [`16670f0`](https://github.com/Pasta-Devs/Marinara-Agents/commit/16670f011ff315d2a7a4e3667fc41b92e040c518) Merge branch 'staging' into dottore-upstream ### 📊 Changes **5 files changed** (+540 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.github/dottore-review/rules.json` (+139 -0) ➕ `.github/workflows/dottore-review-approve.yml` (+72 -0) ➕ `.github/workflows/dottore-review-auto.yml` (+96 -0) ➕ `.github/workflows/dottore-review-command.yml` (+176 -0) ➕ `.github/workflows/dottore-review.yml` (+57 -0) </details> ### 📄 Description ## Linked issue Closes #1446 ## Why this change - Marinara-Agents pull requests get the same Dottore review as Marinara-Engine (Pasta-Devs/Marinara-Engine#7776), on request only, beside CodeRabbit. The reviewer itself lives in Marinara-Engine; this repository keeps only what is its own. ## What changed - `.github/workflows/dottore-review.yml`: a wrapper that calls the Engine reviewer pinned by commit with this repository's inputs and secrets. The pin is `Pasta-Devs/Marinara-Engine/.github/workflows/dottore-review.yml@e10a92638b337c10a4a88059a1ab2306cf075876`, the merge commit of Pasta-Devs/Marinara-Engine#7776 on Engine `staging` (no later Engine `staging` commit changes the Dottore files). - `.github/workflows/dottore-review-command.yml`, `dottore-review-auto.yml`, `dottore-review-approve.yml`: byte copies of the Engine dispatchers at that same commit. - `.github/dottore-review/rules.json`: this repository's review rules (package boundaries, catalog, versioning), read from the pull request's base branch. ### Setting it up (maintainer) - Right after merging, disable the **Dottore Review Auto Dispatch** workflow under Actions, as in Marinara-Engine, and leave `DOTTORE_AUTO_REVIEW` unset: reviews start only from a `/dottore` comment. - The same `DOTTORE_SMALL_*` / `DOTTORE_LARGE_*` variables and `DOTTORE_*_API_KEY` secrets as Marinara-Engine, plus `DOTTORE_BASE_REFS=staging`. `DOTTORE_APP_ID` / `DOTTORE_APP_PRIVATE_KEY` only if repairs should push, with the App installed here too. ## Validation - [ ] `pnpm check` passes locally - [ ] Read and followed `CONTRIBUTING.md` Run by the author's agent: - The four workflows parse; the wrapper and dispatchers are the ones the Promansis fork ran (Promansis/Marinara-Agents#48 and #49 reviewed Viable). Run for the repin: - `cmp` of the three dispatcher workflows against `git show e10a92638b337c10a4a88059a1ab2306cf075876:.github/workflows/<file>` in Marinara-Engine: identical. - `git log e10a92638b337c10a4a88059a1ab2306cf075876..origin/staging -- .github/workflows .github/dottore-review` in Marinara-Engine: no commits. - The Engine reusable workflow at the pin declares the same `workflow_call` inputs and secrets the wrapper passes. - `ruby -ryaml -e 'YAML.load_file(...)'` on all four `dottore-review*.yml` workflows: all parse. - `python3 -c "import json; json.load(open('.github/dottore-review/rules.json'))"`: parses. ### Manual verification notes - Manually verify: with the settings in place, comment `/dottore` on an open pull request into `staging` and confirm the walkthrough and the `Dottore Review` status appear. - Manually verify in the Actions run of that `/dottore` comment that the called workflow resolves to `Pasta-Devs/Marinara-Engine@e10a92638b337c10a4a88059a1ab2306cf075876`. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added automated review support for eligible pull requests, including reviews triggered by pull request activity and completed checks. * Added `/dottore` commands to request a review, run a full review, or request autofixes. Authorized contributors can also request approval reviews. * Added an autofix option to Dottore walkthrough comments, available to contributors with sufficient repository permissions. * Added review guidance for repository workflows and package areas. <!-- 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-21 05:11:47 +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-Agents#1467
No description provided.