mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8242] [MERGED] fix(dottore): withhold draft reviews and honor Ready state #8202
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#8202
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/8242
Author: @SpicyMarinara
Created: 10/24/2026
Status: ✅ Merged
Merged: 10/24/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/dottore-ready-only📝 Commits (2)
a675026docs(dottore): define ready-only review contractc8c372dfix(dottore): review only live Ready pull requests📊 Changes
7 files changed (+435 additions, -46 deletions)
View changed files
📝
.github/dottore-review/README.md(+22 -0)📝
.github/dottore-review/dottore_review.py(+123 -19)📝
.github/workflows/dottore-review-auto.yml(+2 -2)📝
.github/workflows/dottore-review-command.yml(+12 -2)📝
.github/workflows/dottore-review.yml(+60 -20)📝
scripts/regressions/dottore-auto-dispatch.regression.mjs(+2 -3)➕
scripts/regressions/dottore-readiness.regression.mjs(+214 -0)📄 Description
Linked issue
Closes #8241
Implementation owner: @SpicyMarinara / Codex. Shared-runtime counterpart for Marinara-Agents #1644; separate from #8238's finding-quality work.
Why this change
Dottore must examine only open PRs marked Ready, including manual requests and a PR converted back to Draft during examination. A Ready PR must start examination while CI is pending. The previous approval-waiting comment incorrectly suggested that CI blocked review itself.
What changed
OPENstate and an explicit false draft flag before admission, every model attempt and each GitHub review mutation. Missing API evidence fails closed. Draft, closed and merged PRs produce no new review checkpoint or viable verdict./dottore approveasks for an approval-waiting comment.Validation
pnpm checkpassed, including lint/type checks and production builds. Focused regressions passed: 12 readiness cases; 26 actual Bash automatic-dispatch cases plus 16 trusted-resolver cases; existing stream-progress and check-result regressions. Changed workflow YAML and embedded Bash syntax checks passed. Independent review's PR-read permission finding was fixed and rechecked.Local CodeRabbit completed a substantive review of all seven final files with zero findings. Hosted CI and Dottore results are tracked separately.
/dottorerequest does not post an approval-waiting notice, while/dottore approvereports unmet merge gates.Activation and limits
This targets staging. Marinara-Agents must pin the actual reviewed Engine merge before its shared runtime changes. Default-branch dispatcher copies and reviews targeting main remain on the normal release path.
Readiness during a stream is checked at most once every 15 seconds when SDK events arrive. An already-started silent request can wait for its existing network allowance; an already-running repair CLI can finish locally. Publication and pushing recheck state, and a sent request cannot be undone.
Hosted checks and Dottore remain merge gates. Recent real requests to the configured LinkAPI Sonnet 5.5 route failed with HTTP 400; a postmerge empty-diff verdict on another PR does not establish provider recovery.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.