[PR #8208] [MERGED] fix(ci): activate incremental Dottore reviews on the default branch #8185

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8208
Author: @SpicyMarinara
Created: 10/23/2026
Status: ✅ Merged
Merged: 10/23/2026
Merged by: @SpicyMarinara

Base: main ← Head: hotfix/dottore-default-dispatch-8197


📝 Commits (1)

  • b8dc339 fix(ci): activate incremental review dispatch on default branch

📊 Changes

3 files changed (+324 additions, -8 deletions)

View changed files

📝 .github/dottore-review/dottore_review.py (+2 -0)
📝 .github/workflows/dottore-review-auto.yml (+19 -8)
➕ scripts/regressions/dottore-auto-dispatch.regression.mjs (+303 -0)

📄 Description

Linked issue

Refs #8197 and Pasta-Devs/Marinara-Agents#1624. Keep activation tracking open until both repositories run the matching deployed default-branch dispatchers.

Why this change

GitHub executes pull_request_target workflow definitions from the default main branch. The correction already reviewed and merged to staging in #8200 therefore has not activated the automatic trigger: marking a reviewed PR ready still forces another full examination. The maintainer explicitly authorized this narrow workflow backport to main.

What changed

  • Use the exact reviewed staging dispatcher so ready transitions and later pushes reuse a same-base completed checkpoint; an already reviewed head skips unless it has unfinished carried work.
  • Add only the trusted base-ref header to the existing main reviewer producer. A legacy checkpoint without base identity receives one safe full transition review; retargets and unusable history also retain full fallback.
  • Cover the actual Bash dispatcher, real checkpoint producer and real Git resolver. Preserve main's existing incomplete-review semantics: both unfinished LEFT and RIGHT work stay unrecorded and are examined again.

Validation

  • Public raw-verified local baseline, source audit, CodeRabbit and regression proof: 19 files; earlier setup failures and exact final private-lock pass are preserved separately.
  • Local pnpm check: passed, including production builds and all tracked E2E type inputs. The inherited Professor Mari hook warning remains.
  • Maintained dispatcher regression: 26 actual Bash cases and 17 real resolver cases passed against both mirrored workflows. The old main dispatcher fails the intended full-versus-auto negative control.
  • Actual legacy producer/publication functions preserve confirmed findings and use one walkthrough updated by POST → PATCH → PATCH; GitHub storage is mocked for this proof.
  • Local CodeRabbit: completed, 0 findings across the exact three changed files. No application, catalog, model settings, release metadata or broader reviewer runtime upgrade is included.

Human verification tasks remain unchecked:

  • pnpm check passes locally
  • Container built and ran without issue
  • Manually verify the next legitimate ready or synchronize event executes the new default-main dispatcher after deployment
  • Manually verify same-base updates select the completed checkpoint and same-head events skip
  • Read and followed CONTRIBUTING.md

Manual verification notes

The local shell proof invokes the actual dispatcher with mocked GitHub calls, real jq and a real Git repository; it is not a hosted-dispatch claim. Required hosted checks and a substantive current-head Dottore review remain merge gates. The paired Agents main change will pin the actual Engine-main merge before it is published.

Docs and release impact

  • No user-facing documentation changes needed
  • No version or release files changed

UI evidence (if applicable)

Not applicable: GitHub automation only.

Actual main delivery

Merged normally as e5ead06ac2fe1cb3e039f8cab7e4d266b01dac44 after all six required contexts and the current-head Dottore examination passed (0 defects, 2 non-blocking notes). Actual main ancestry and all three reviewed file hashes were verified; the public proof packet now includes that merge receipt. Default-branch execution evidence and the dependent Agents backport remain separately tracked in #8197.


🔄 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/8208 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/23/2026 **Status:** ✅ Merged **Merged:** 10/23/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `main` ← **Head:** `hotfix/dottore-default-dispatch-8197` --- ### 📝 Commits (1) - [`b8dc339`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b8dc339eb498051921806b0fb7bc130922019361) fix(ci): activate incremental review dispatch on default branch ### 📊 Changes **3 files changed** (+324 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `.github/dottore-review/dottore_review.py` (+2 -0) 📝 `.github/workflows/dottore-review-auto.yml` (+19 -8) ➕ `scripts/regressions/dottore-auto-dispatch.regression.mjs` (+303 -0) </details> ### 📄 Description ## Linked issue Refs #8197 and Pasta-Devs/Marinara-Agents#1624. Keep activation tracking open until both repositories run the matching deployed default-branch dispatchers. ## Why this change GitHub executes `pull_request_target` workflow definitions from the default `main` branch. The correction already reviewed and merged to `staging` in #8200 therefore has not activated the automatic trigger: marking a reviewed PR ready still forces another full examination. The maintainer explicitly authorized this narrow workflow backport to `main`. ## What changed - Use the exact reviewed staging dispatcher so ready transitions and later pushes reuse a same-base completed checkpoint; an already reviewed head skips unless it has unfinished carried work. - Add only the trusted `base-ref` header to the existing main reviewer producer. A legacy checkpoint without base identity receives one safe full transition review; retargets and unusable history also retain full fallback. - Cover the actual Bash dispatcher, real checkpoint producer and real Git resolver. Preserve main's existing incomplete-review semantics: both unfinished LEFT and RIGHT work stay unrecorded and are examined again. ## Validation - [Public raw-verified local baseline, source audit, CodeRabbit and regression proof](https://gist.github.com/SpicyMarinara/e68aae957fc64ed1d8317d89f3630f6a): 19 files; earlier setup failures and exact final private-lock pass are preserved separately. - Local `pnpm check`: passed, including production builds and all tracked E2E type inputs. The inherited Professor Mari hook warning remains. - Maintained dispatcher regression: 26 actual Bash cases and 17 real resolver cases passed against both mirrored workflows. The old main dispatcher fails the intended full-versus-auto negative control. - Actual legacy producer/publication functions preserve confirmed findings and use one walkthrough updated by POST → PATCH → PATCH; GitHub storage is mocked for this proof. - Local CodeRabbit: completed, 0 findings across the exact three changed files. No application, catalog, model settings, release metadata or broader reviewer runtime upgrade is included. Human verification tasks remain unchecked: - [ ] `pnpm check` passes locally - [ ] Container built and ran without issue - [ ] Manually verify the next legitimate ready or synchronize event executes the new default-main dispatcher after deployment - [ ] Manually verify same-base updates select the completed checkpoint and same-head events skip - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes The local shell proof invokes the actual dispatcher with mocked GitHub calls, real jq and a real Git repository; it is not a hosted-dispatch claim. Required hosted checks and a substantive current-head Dottore review remain merge gates. The paired Agents main change will pin the actual Engine-main merge before it is published. ## Docs and release impact - [ ] No user-facing documentation changes needed - [ ] No version or release files changed ## UI evidence (if applicable) Not applicable: GitHub automation only. ### Actual main delivery Merged normally as `e5ead06ac2fe1cb3e039f8cab7e4d266b01dac44` after all six required contexts and the current-head Dottore examination passed (0 defects, 2 non-blocking notes). Actual main ancestry and all three reviewed file hashes were verified; the [public proof packet](https://gist.github.com/SpicyMarinara/e68aae957fc64ed1d8317d89f3630f6a) now includes that merge receipt. Default-branch execution evidence and the dependent Agents backport remain separately tracked in #8197. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-25 04:04:31 +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#8185
No description provided.