[PR #1865] [MERGED] Add Bunny auto review dispatcher #5325

Closed
opened 2026-10-22 04:15:15 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1865
Author: @Promansis
Created: 6/1/2026
Status: ✅ Merged
Merged: 6/1/2026
Merged by: @Promansis

Base: refactor ← Head: feature/bunny-review-auto-dispatcher


📝 Commits (1)

  • b75ca6e Add Bunny auto review dispatcher

📊 Changes

2 files changed (+39 additions, -1 deletions)

View changed files

➕ .github/workflows/bunny-review-auto.yml (+38 -0)
📝 AGENTS.md (+1 -1)

📄 Description

Linked issue

Closes #

Why this change

  • Restores automatic Bunny Review for PRs without giving the heavyweight reviewer workflow a privileged pull_request_target execution path.
  • Avoids the fork-PR write-token failure from direct pull_request review posting by using a tiny trusted dispatcher that triggers the existing workflow_dispatch worker on refactor.

What changed

  • Added .github/workflows/bunny-review-auto.yml, a pull_request_target dispatcher for PR open/reopen/synchronize/ready events targeting refactor.
  • The dispatcher does not checkout code, install dependencies, run scripts, or inspect PR files. It only dispatches bunny-review.yml on the trusted refactor ref with PR metadata.
  • Updated AGENTS.md so the Bunny Review auto and slash-command dispatcher locations are in the repo map.

Refactor impact

Primary owner:

  • GitHub workflow automation.

Impact areas reviewed:

  • Bunny Review auto dispatch path.
  • Trusted workflow_dispatch reviewer path on refactor.
  • Professor Mari / agent repo map entry for Bunny Review.

Boundary notes:

  • No app source, engine, React feature, shared API, Tauri, storage, provider, or remote-runtime product boundary is touched.
  • The privileged pull_request_target workflow is intentionally dispatcher-only and must not execute PR-controlled code.

Pressure points touched:

  • GitHub Actions pull_request_target event handling and dispatch to bunny-review.yml.

Validation

  • Matching validation command passes locally (for example pnpm typecheck, pnpm build, pnpm check:architecture, pnpm check:docs, or full pnpm check when warranted)
  • pnpm check passes locally before PR push/handoff, including the unused-code check
  • pnpm typecheck passes locally
  • pnpm build passes locally
  • pnpm check:architecture passes locally
  • pnpm check:docs passes locally
  • cargo check --manifest-path src-tauri/Cargo.toml --workspace passes locally
  • Rust clippy/tests were run for Rust behavior changes
  • Browser or Tauri app manual verification completed
  • Browser screenshot/recording evidence added when UI/browser state is the claim
  • Remote runtime smoke checked when relevant

Manual verification notes

  • Agent ran git diff --check.
  • Agent ran pnpm check:docs.
  • Agent inspected the new workflow and confirmed it has no checkout/install/script execution of PR-controlled code.

Feature Discoverability

Check exactly one:

  • Updated src/features/shell/discovery/ because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool.
  • N/A because this PR is only a bugfix, refactor, test, docs, internal wiring, visual polish, copy edit, or compatibility fix and does not add a new thing users need to find.

Reason:

  • GitHub workflow automation only; no in-app user-discoverable behavior is added.

Docs and release impact

  • No docs changes needed
  • Updated README.md
  • Updated CONTRIBUTING.md
  • Updated docs/developer/
  • Updated repo skills or AGENTS.md
  • Confirmed this PR does not restore old staging/package-workspace/release claims

UI evidence

  • N/A. No app UI changes.

🔄 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/1865 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 6/1/2026 **Status:** ✅ Merged **Merged:** 6/1/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `refactor` ← **Head:** `feature/bunny-review-auto-dispatcher` --- ### 📝 Commits (1) - [`b75ca6e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b75ca6ec1612bf0e8496dee324a67a2d5f3359c8) Add Bunny auto review dispatcher ### 📊 Changes **2 files changed** (+39 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/bunny-review-auto.yml` (+38 -0) 📝 `AGENTS.md` (+1 -1) </details> ### 📄 Description <!-- Target branch: `refactor`. Change the base to `refactor` before submitting unless a maintainer explicitly asked for another base. --> <!-- Keep all checkboxes unchecked until a human has actually verified them. --> ## Linked issue Closes # ## Why this change - Restores automatic Bunny Review for PRs without giving the heavyweight reviewer workflow a privileged `pull_request_target` execution path. - Avoids the fork-PR write-token failure from direct `pull_request` review posting by using a tiny trusted dispatcher that triggers the existing `workflow_dispatch` worker on `refactor`. ## What changed - Added `.github/workflows/bunny-review-auto.yml`, a `pull_request_target` dispatcher for PR open/reopen/synchronize/ready events targeting `refactor`. - The dispatcher does not checkout code, install dependencies, run scripts, or inspect PR files. It only dispatches `bunny-review.yml` on the trusted `refactor` ref with PR metadata. - Updated `AGENTS.md` so the Bunny Review auto and slash-command dispatcher locations are in the repo map. ## Refactor impact Primary owner: - GitHub workflow automation. Impact areas reviewed: - Bunny Review auto dispatch path. - Trusted `workflow_dispatch` reviewer path on `refactor`. - Professor Mari / agent repo map entry for Bunny Review. Boundary notes: - No app source, engine, React feature, shared API, Tauri, storage, provider, or remote-runtime product boundary is touched. - The privileged `pull_request_target` workflow is intentionally dispatcher-only and must not execute PR-controlled code. Pressure points touched: - GitHub Actions `pull_request_target` event handling and dispatch to `bunny-review.yml`. ## Validation - [ ] Matching validation command passes locally (for example `pnpm typecheck`, `pnpm build`, `pnpm check:architecture`, `pnpm check:docs`, or full `pnpm check` when warranted) - [ ] `pnpm check` passes locally before PR push/handoff, including the unused-code check - [ ] `pnpm typecheck` passes locally - [ ] `pnpm build` passes locally - [ ] `pnpm check:architecture` passes locally - [ ] `pnpm check:docs` passes locally - [ ] `cargo check --manifest-path src-tauri/Cargo.toml --workspace` passes locally - [ ] Rust clippy/tests were run for Rust behavior changes - [ ] Browser or Tauri app manual verification completed - [ ] Browser screenshot/recording evidence added when UI/browser state is the claim - [ ] Remote runtime smoke checked when relevant ### Manual verification notes - Agent ran `git diff --check`. - Agent ran `pnpm check:docs`. - Agent inspected the new workflow and confirmed it has no checkout/install/script execution of PR-controlled code. ## Feature Discoverability Check exactly one: - [ ] Updated `src/features/shell/discovery/` because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool. - [ ] N/A because this PR is only a bugfix, refactor, test, docs, internal wiring, visual polish, copy edit, or compatibility fix and does not add a new thing users need to find. Reason: - GitHub workflow automation only; no in-app user-discoverable behavior is added. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated `README.md` - [ ] Updated `CONTRIBUTING.md` - [ ] Updated `docs/developer/` - [ ] Updated repo skills or `AGENTS.md` - [ ] Confirmed this PR does not restore old staging/package-workspace/release claims ## UI evidence - N/A. No app UI changes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:15:15 +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#5325
No description provided.