[PR #1883] [MERGED] Show Bunny review as a PR check #5337

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

📋 Pull Request Information

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

Base: refactor ← Head: workflow/bunny-check-status


📝 Commits (1)

  • e387f3f Add Bunny review check status

📊 Changes

1 file changed (+57 additions, -0 deletions)

View changed files

📝 .github/workflows/bunny-review.yml (+57 -0)

📄 Description

Linked issue

N/A

Why this change

  • The trusted Bunny reviewer now runs through workflow_dispatch on refactor, so the actual review workflow is attached to the trusted branch SHA rather than the pull request head SHA.
  • GitHub therefore shows the safe dispatcher in the PR Checks section, but not the real reviewer status.
  • Adding a custom check run on the PR head makes Bunny's actual review state visible in the PR rollup without changing the safe dispatcher architecture.

What changed

  • Grant the trusted Bunny worker checks: write.
  • Create a Bunny Review check run on the PR head SHA once the worker has resolved and checked out the PR head.
  • Complete that check with success or failure at the end of the trusted review job, linking back to the trusted workflow run.

Refactor impact

Primary owner:

  • GitHub workflow/review automation

Impact areas reviewed:

  • .github/workflows/bunny-review.yml
  • Existing pull_request_target dispatcher and /bunny-review command bootstrap remain on main unchanged.

Boundary notes:

  • No product, engine, React feature, shared API, Rust, or remote-runtime behavior changed.
  • The trusted reviewer still runs from refactor via workflow_dispatch; this only publishes check status for the PR head SHA.

Pressure points touched:

  • None

Validation

  • Matching validation command passes locally (for example pnpm typecheck, pnpm build, pnpm check:architecture, pnpm check:docs, or full pnpm check when warranted)
  • Full pnpm check passes before PR push/handoff
  • Human/manual validation completed by contributor or reviewer

Manual verification notes

  • Ran pnpm check:docs; it checked 46 docs and repo guidance files.
  • Parsed .github/workflows/bunny-review.yml with Python/YAML successfully.
  • Verified on origin PR 42 that a dispatched trusted Bunny run created a Bunny Review check on the PR head SHA and completed it successfully.

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:

  • This is GitHub workflow status plumbing, not an app feature.

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


🔄 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/1883 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 6/2/2026 **Status:** ✅ Merged **Merged:** 6/2/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `refactor` ← **Head:** `workflow/bunny-check-status` --- ### 📝 Commits (1) - [`e387f3f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e387f3ff4173c6557fc37c3c4f8c646b0ca158dd) Add Bunny review check status ### 📊 Changes **1 file changed** (+57 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/bunny-review.yml` (+57 -0) </details> ### 📄 Description ## Linked issue N/A ## Why this change - The trusted Bunny reviewer now runs through `workflow_dispatch` on `refactor`, so the actual review workflow is attached to the trusted branch SHA rather than the pull request head SHA. - GitHub therefore shows the safe dispatcher in the PR Checks section, but not the real reviewer status. - Adding a custom check run on the PR head makes Bunny's actual review state visible in the PR rollup without changing the safe dispatcher architecture. ## What changed - Grant the trusted Bunny worker `checks: write`. - Create a `Bunny Review` check run on the PR head SHA once the worker has resolved and checked out the PR head. - Complete that check with success or failure at the end of the trusted review job, linking back to the trusted workflow run. ## Refactor impact Primary owner: - GitHub workflow/review automation Impact areas reviewed: - `.github/workflows/bunny-review.yml` - Existing `pull_request_target` dispatcher and `/bunny-review` command bootstrap remain on `main` unchanged. Boundary notes: - No product, engine, React feature, shared API, Rust, or remote-runtime behavior changed. - The trusted reviewer still runs from `refactor` via `workflow_dispatch`; this only publishes check status for the PR head SHA. Pressure points touched: - None ## Validation - [x] Matching validation command passes locally (for example `pnpm typecheck`, `pnpm build`, `pnpm check:architecture`, `pnpm check:docs`, or full `pnpm check` when warranted) - [ ] Full `pnpm check` passes before PR push/handoff - [x] Human/manual validation completed by contributor or reviewer ### Manual verification notes - Ran `pnpm check:docs`; it checked 46 docs and repo guidance files. - Parsed `.github/workflows/bunny-review.yml` with Python/YAML successfully. - Verified on origin PR 42 that a dispatched trusted Bunny run created a `Bunny Review` check on the PR head SHA and completed it successfully. ## 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. - [x] 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: - This is GitHub workflow status plumbing, not an app feature. ## Docs and release impact - [x] No docs changes needed - [ ] Updated `README.md` - [ ] Updated `CONTRIBUTING.md` - [ ] Updated `docs/developer/` - [ ] Updated repo skills or `AGENTS.md` - [x] Confirmed this PR does not restore old staging/package-workspace/release claims ## UI evidence N/A --- <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:22 +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#5337
No description provided.