[PR #8183] [MERGED] fix(dottore): retain carried findings and settle failed finder work #8144

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

📋 Pull Request Information

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

Base: staging ← Head: fix/dottore-publication-finder-cleanup


📝 Commits (2)

  • 18a0928 test(dottore): reproduce carried publication and finder cleanup failures
  • ed8c729 fix(dottore): preserve confirmed carried findings and settle workers

📊 Changes

2 files changed (+104 additions, -4 deletions)

View changed files

📝 .github/dottore-review/dottore_review.py (+11 -4)
📝 scripts/regressions/dottore-stream-progress.regression.mjs (+93 -0)

📄 Description

Linked issue

Closes #8178 and #8179. Owner: @SpicyMarinara (Codex).

Why this change

An incremental review can confirm an older PR defect and then publish a false Viable verdict after dropping it during final validation. A failed finder can also return from failure handling while another started request is still active.

What changed

  • Reuse the existing full-PR anchoring helper for confirmed findings during final publication, preserving their inline comments and defect counts. New finder output and nitpicks retain incremental validation; the existing deleted-line/full-review restriction remains.
  • Cancel queued finder work and wait for started workers to settle before propagating the original failure. Existing request deadlines remain unchanged; this does not claim provider-side cancellation.
  • Add the smallest runnable proof to the existing canonical Dottore regression, including independent negative controls and a carried file absent from the incremental diff.

Validation

  • pnpm check passes locally
  • Read and followed CONTRIBUTING.md

Completed local evidence at ed8c72928:

  • Full pnpm check passed, with one inherited Professor hook warning. Dependency installation first failed for insufficient local disk; validation then reused existing installed registry dependencies with separate workspace links and compiled outputs. The failed install and successful baseline are both preserved.
  • Both canonical Dottore regression files passed. The stream/publication/cleanup suite has 13 cases; unchanged production code failed the two new assertions. Restoring either bug independently fails exactly its intended case while the other 12 pass.
  • Python compilation and git diff --check passed.
  • Local CodeRabbit review completed with zero findings across the two changed files. No source changes followed review.
  • 12-file public proof packet, including runnable source, before/after output, negative controls, baseline and review logs. Every published raw file is byte-verified.

Hosted validation is now complete: all eight required checks passed; actual full Dottore run 39977791642 is Viable, With Notes, with zero defects and two nits; all review threads are resolved. All three Node shards and the Windows launcher lane passed. The first Chromium dependency installation timed out before browser assertions, and the first Windows launcher run failed while waiting for its fixture startup; both failed jobs were replayed unchanged and passed. No timeout, assertion or source workaround was added.

Manual verification notes

  • Manually observe a subsequent incremental review with a confirmed carried finding after trusted tooling is promoted.
  • Manually observe failure handling with an actual provider request; fixture proof covers local worker lifecycle, not provider-side cancellation.

Docs and release impact

No user-facing docs, version or CHANGELOG change. Target: staging. Trusted reviewer tooling/pins require the normal maintainer-controlled promotion before these source repairs become live. The live Sonnet 5.5/xhigh repository variables are configured independently; this PR changes no model, effort, cost limit, provider API, credentials or global Codex configuration.


🔄 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/8183 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/23/2026 **Status:** ✅ Merged **Merged:** 10/23/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/dottore-publication-finder-cleanup` --- ### 📝 Commits (2) - [`18a0928`](https://github.com/Pasta-Devs/Marinara-Engine/commit/18a0928189b43f1dcae1cb56b1d1f4274fbb13a2) test(dottore): reproduce carried publication and finder cleanup failures - [`ed8c729`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ed8c7292859e43151dc9a6738d59a096687ecac2) fix(dottore): preserve confirmed carried findings and settle workers ### 📊 Changes **2 files changed** (+104 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `.github/dottore-review/dottore_review.py` (+11 -4) 📝 `scripts/regressions/dottore-stream-progress.regression.mjs` (+93 -0) </details> ### 📄 Description ## Linked issue Closes #8178 and #8179. Owner: @SpicyMarinara (Codex). ## Why this change An incremental review can confirm an older PR defect and then publish a false Viable verdict after dropping it during final validation. A failed finder can also return from failure handling while another started request is still active. ## What changed - Reuse the existing full-PR anchoring helper for confirmed findings during final publication, preserving their inline comments and defect counts. New finder output and nitpicks retain incremental validation; the existing deleted-line/full-review restriction remains. - Cancel queued finder work and wait for started workers to settle before propagating the original failure. Existing request deadlines remain unchanged; this does not claim provider-side cancellation. - Add the smallest runnable proof to the existing canonical Dottore regression, including independent negative controls and a carried file absent from the incremental diff. ## Validation - [ ] `pnpm check` passes locally - [ ] Read and followed `CONTRIBUTING.md` Completed local evidence at `ed8c72928`: - Full `pnpm check` passed, with one inherited Professor hook warning. Dependency installation first failed for insufficient local disk; validation then reused existing installed registry dependencies with separate workspace links and compiled outputs. The failed install and successful baseline are both preserved. - Both canonical Dottore regression files passed. The stream/publication/cleanup suite has 13 cases; unchanged production code failed the two new assertions. Restoring either bug independently fails exactly its intended case while the other 12 pass. - Python compilation and `git diff --check` passed. - Local CodeRabbit review completed with zero findings across the two changed files. No source changes followed review. - [12-file public proof packet](https://gist.github.com/SpicyMarinara/6660de767c3c4c19e27a3a5ac4ef3380), including runnable source, before/after output, negative controls, baseline and review logs. Every published raw file is byte-verified. Hosted validation is now complete: all eight required checks passed; actual full Dottore run 39977791642 is **Viable, With Notes**, with zero defects and two nits; all review threads are resolved. All three Node shards and the Windows launcher lane passed. The first Chromium dependency installation timed out before browser assertions, and the first Windows launcher run failed while waiting for its fixture startup; both failed jobs were replayed unchanged and passed. No timeout, assertion or source workaround was added. ### Manual verification notes - [ ] Manually observe a subsequent incremental review with a confirmed carried finding after trusted tooling is promoted. - [ ] Manually observe failure handling with an actual provider request; fixture proof covers local worker lifecycle, not provider-side cancellation. ## Docs and release impact No user-facing docs, version or CHANGELOG change. Target: `staging`. Trusted reviewer tooling/pins require the normal maintainer-controlled promotion before these source repairs become live. The live Sonnet 5.5/xhigh repository variables are configured independently; this PR changes no model, effort, cost limit, provider API, credentials or global Codex configuration. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-24 04:10:45 +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#8144
No description provided.