mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1925] [MERGED] Fix Bunny review CI state handling #5350
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5350
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1925
Author: @Promansis
Created: 6/2/2026
Status: ✅ Merged
Merged: 6/2/2026
Merged by: @Promansis
Base:
refactor← Head:fix/bunny-review-ci📝 Commits (5)
d86f260Fix remote storage write guard parity062f4e5Merge remote-tracking branch 'upstream/refactor' into resolve-pr-1906eeadc7fFix Bunny review CI state handlingcf9b9d3Refine Bunny review metadata labels711aa59Allow Bunny review on draft PRs📊 Changes
5 files changed (+318 additions, -188 deletions)
View changed files
📝
.github/bunny-review/bunny_review.py(+170 -54)📝
.github/workflows/bunny-review-auto.yml(+2 -3)📝
.github/workflows/bunny-review.yml(+28 -40)📝
src-tauri/src/commands/storage/commands/entities.rs(+2 -7)📝
src-tauri/src/http_dispatch.rs(+116 -84)📄 Description
Summary
Fixes Bunny Review CI state handling, PR status reporting, and draft PR coverage.
Bunny Reviewcommit status on the PR head instead of relying on a custom check-runCommittoHead, and includes a subject onBasewhen resolvablerefactorWhy
The previous workflow could stamp the latest PR SHA while reviewing an older checkout, advance incremental state after failed model runs, and fail to show Bunny as a PR-head status/check. Draft PRs were also skipped by the auto-dispatch gate, which meant Bunny would not run until the PR became ready for review.
Validation
Local:
python3 -m py_compile .github/bunny-review/bunny_review.py.github/bunny-review/bunny_review.pynode scripts/check-workflow-names.mjsgit diff --checkLive fork test PRs targeting
Promansis:fix/bunny-review-ci:Bunny Reviewstatus context appears on the PR head and clean full review completesHead/Baselabels and base subjectNITPICKrefactorUpstream note
The code and workflow are repository-agnostic, but automatic dispatch still depends on upstream Actions token policy. If upstream has read-only workflow tokens, the
pull_request_targetdispatcher can still be blocked fromgh workflow rununtil upstream allows write tokens or uses an app/PAT-backed dispatch path.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.