mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8142] [MERGED] fix(dottore): start every finder at once and carry unjudged candidates #8125
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#8125
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/8142
Author: @Promansis
Created: 10/23/2026
Status: ✅ Merged
Merged: 10/23/2026
Merged by: @Promansis
Base:
staging← Head:fix(review)/8141-dottore-large-reviews📝 Commits (4)
873f518fix(dottore): start every finder at once and carry unjudged candidates8bdb469fix(dottore): rank carried candidates by severity and keep their repair88976d4fix(dottore): keep the unjudged marker within its budget952895cMerge branch 'staging' into fix(review)/8141-dottore-large-reviews📊 Changes
3 files changed (+286 additions, -37 deletions)
View changed files
📝
.github/dottore-review/README.md(+11 -5)📝
.github/dottore-review/dottore_review.py(+159 -30)📝
scripts/regressions/dottore-stream-progress.regression.mjs(+116 -2)📄 Description
Linked issue
Closes #8141
Why this change
DOTTORE_CONCURRENCY(default 4). The late finders wait behind roughly 11-minutexhighfinders. They then time out on the 180 s silence floor or run into the checker's 8-minute reserve. The walkthrough recordslast-reviewed-sha=unrecorded, so every later run is a full review that hits the same timing, and the requiredDottore Reviewstatus never passes. Pasta-Devs/Marinara-Agents#1595 (7 packets) failed this way four runs in a row and needed a manual incremental dispatch to merge.What changed
run_findersruns on its own pool sized to the finder count, up toMAX_CONCURRENCY(16). Scouts and checkers keepDOTTORE_CONCURRENCY.Dottore call:line ends withstop_reason=….Dottore unjudged:line logs the size..github/dottore-review/README.md: theDOTTORE_CONCURRENCYrow, theDottore call:andDottore carried:log lines, and the Examination Incomplete verdict.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAgent-run evidence on
88976d48(boxes above left for the human checklist):pnpm check: exit 0.node scripts/run-regressions.mjs --filter dottore: 2/2 passed.scripts/regressions/dottore-stream-progress.regression.mjsgains five cases and one assertion. Run against the original reviewer (5b00fa2a5), six of the eleven error; with this change all eleven pass:After: all 7 start together (
test_every_finder_starts_at_once_whatever_the_packet_count).stop_reason.After: Claude
end_turnand Chat Completionslengthare kept.None < int), and any unjudged candidate leaves the head unrecorded.After: a partial examination renders the head SHA and the unjudged marker and still reads as a completed review, so the next auto run is incremental. A review that judged nothing stays unrecorded.
carried_candidatesreads only the marker for the matching head, also when a newer failed walkthrough exists, and in a real git history a line below 3 inserted lines moves 5 → 8, a rewritten line moves to its hunk, and a candidate in a deleted file is dropped (Dottore carried: candidates=2; dropped=1). An unjudged removed line leaves the head unrecorded.873f5184): 20 carried low candidates took every cap slot ahead of a fresh high claim, and a carried candidate lost its fix hint and repair contract.After: the fresh high claim is judged and the 20th carried one is capped (
test_carried_candidates_take_their_place_by_severity_under_the_cap); hint and contract survive the marker and a confirmation without new prose.8bdb4691): 19 unjudged candidates whose text escapes heavily produced a marker of about 174,000 characters, past GitHub's 65,536-character comment limit.After: 19 full-length candidates still fit; the heavily escaped set is not carried and the walkthrough records
unrecorded(test_carried_entries_mark_a_cut_body_and_fit_their_budget).Manual verification notes
Dottore call:line showsstop_reason=, and all finder calls start within the first few seconds of the finder stage.dottore:unjudged=marker into the walkthrough header, and that the next/dottorerun logsDottore carried: candidates=N; dropped=Mand judges them, including when the head has no new diff.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)The only doc change is
.github/dottore-review/README.md, which is outsidedocs/, so no translated pack applies. There is no version bump. Marinara-Agents needs its usual follow-up PR pinning this Engine SHA.Merge Danger
Door: two-way
Reverting restores the shared pool and the unrecorded walkthrough. A walkthrough written in the meantime with a carried marker reads to the old code as a reviewed head, so its leftover candidates would not be re-checked.
Blast Radius: Dottore
Only reviews running this tooling are affected: Engine after merge, Agents after the pin. A large PR now sends up to 16 finder calls to the provider at once instead of 4. Total calls and cost per review are unchanged, but the burst is larger. A carried marker adds at most about 32,000 characters to the walkthrough comment.
UI evidence (if applicable)
Not applicable: no UI change.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.