[GH-ISSUE #1573] [Issue]: A pull request description edit cancels the push's Dottore auto review #1550

Closed
opened 2026-10-23 04:02:55 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Promansis on GitHub (Oct 22, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1573

Originally assigned to: @SpicyMarinara, @Promansis on GitHub.

Summary

Editing a pull request's title or description right after a push can cancel that push's Dottore review. Nothing then reviews the new head, and the required Dottore Review status for it never appears, so the PR stays blocked until someone comments /dottore.

This is the bug from Pasta-Devs/Marinara-Engine#8068, fixed in Engine by Pasta-Devs/Marinara-Engine#8071. This repository has its own copy of the dispatcher, .github/workflows/dottore-review-auto.yml. That copy is identical to Engine's before the fix, and the Engine pin doesn't cover it: the pin only covers the reviewer workflow (dottore-review.yml). DOTTORE_AUTO_REVIEW is true here, so the bug applies.

Affected package

catalog/repository (CI: .github/workflows/dottore-review-auto.yml)

Expected behavior

A push to a ready pull request gets its automatic review whatever else happens to the PR meanwhile. A title or description edit should not cancel a pending dispatch, since it never dispatches one itself.

Actual behavior

Every dispatcher run for a pull request shares one concurrency group with cancel-in-progress: true:

concurrency:
  group: dottore-review-auto-dispatch-${{ github.event.pull_request.number }}
  cancel-in-progress: true

The workflow also triggers on edited, and a metadata edit (no base change) exits early with "Skipping Dottore auto dispatch for pull request metadata edit." When that run starts while the push's synchronize run is still in flight, it cancels the push's run and then skips, so neither dispatches a review. Engine hit this on Pasta-Devs/Marinara-Engine#8057: run 39759494330 for the push was cancelled after one second by the description edit's run 39759497444.

With DOTTORE_AUTO_REVIEW off, the same thing can happen to a Dottore repair push: an edit run's job is skipped, but the run still joins the group and cancels the repair push's dispatch.

Steps to reproduce

  1. With DOTTORE_AUTO_REVIEW on, push a commit to a ready PR into staging.
  2. Within a few seconds, edit the PR's description (for example with a gh api -X PATCH .../pulls/<n> body update, as agents do after pushing).
  3. In the Dottore Review Auto Dispatch runs, the push's run is cancelled and the edit's run skips. No Dottore Review run starts, and the head never gets a Dottore Review status.

Environment

  • Marinara Engine version: n/a (Dottore reviewer pinned at e10a92638)
  • Package version: n/a
  • Install type: other (GitHub Actions, pull_request_target)
  • OS + version: ubuntu-latest runner
  • Browser or app shell: n/a

Logs, screenshots, or video

See the Engine runs linked in Pasta-Devs/Marinara-Engine#8068.

Additional context

Fix: apply Engine's change from Pasta-Devs/Marinara-Engine#8071, which gives metadata edits a concurrency group of their own. Pushes and base changes still supersede each other:

concurrency:
  group: dottore-review-auto-dispatch-${{ github.event.pull_request.number }}${{ github.event.action == 'edited' && !github.event.changes.base.ref.from && format('-edit-{0}', github.run_id) || '' }}
  cancel-in-progress: true

Workaround: comment /dottore on the PR.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @Promansis on GitHub (Oct 22, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1573 Originally assigned to: @SpicyMarinara, @Promansis on GitHub. ## Summary Editing a pull request's title or description right after a push can cancel that push's Dottore review. Nothing then reviews the new head, and the required `Dottore Review` status for it never appears, so the PR stays blocked until someone comments `/dottore`. This is the bug from Pasta-Devs/Marinara-Engine#8068, fixed in Engine by Pasta-Devs/Marinara-Engine#8071. This repository has its own copy of the dispatcher, `.github/workflows/dottore-review-auto.yml`. That copy is identical to Engine's before the fix, and the Engine pin doesn't cover it: the pin only covers the reviewer workflow (`dottore-review.yml`). `DOTTORE_AUTO_REVIEW` is `true` here, so the bug applies. ## Affected package catalog/repository (CI: `.github/workflows/dottore-review-auto.yml`) ## Expected behavior A push to a ready pull request gets its automatic review whatever else happens to the PR meanwhile. A title or description edit should not cancel a pending dispatch, since it never dispatches one itself. ## Actual behavior Every dispatcher run for a pull request shares one concurrency group with `cancel-in-progress: true`: ```yaml concurrency: group: dottore-review-auto-dispatch-${{ github.event.pull_request.number }} cancel-in-progress: true ``` The workflow also triggers on `edited`, and a metadata edit (no base change) exits early with "Skipping Dottore auto dispatch for pull request metadata edit." When that run starts while the push's `synchronize` run is still in flight, it cancels the push's run and then skips, so neither dispatches a review. Engine hit this on Pasta-Devs/Marinara-Engine#8057: run 39759494330 for the push was cancelled after one second by the description edit's run 39759497444. With `DOTTORE_AUTO_REVIEW` off, the same thing can happen to a Dottore repair push: an edit run's job is skipped, but the run still joins the group and cancels the repair push's dispatch. ## Steps to reproduce 1. With `DOTTORE_AUTO_REVIEW` on, push a commit to a ready PR into `staging`. 2. Within a few seconds, edit the PR's description (for example with a `gh api -X PATCH .../pulls/<n>` body update, as agents do after pushing). 3. In the Dottore Review Auto Dispatch runs, the push's run is cancelled and the edit's run skips. No Dottore Review run starts, and the head never gets a `Dottore Review` status. ## Environment - Marinara Engine version: n/a (Dottore reviewer pinned at `e10a92638`) - Package version: n/a - Install type: other (GitHub Actions, `pull_request_target`) - OS + version: `ubuntu-latest` runner - Browser or app shell: n/a ## Logs, screenshots, or video See the Engine runs linked in Pasta-Devs/Marinara-Engine#8068. ## Additional context Fix: apply Engine's change from Pasta-Devs/Marinara-Engine#8071, which gives metadata edits a concurrency group of their own. Pushes and base changes still supersede each other: ```yaml concurrency: group: dottore-review-auto-dispatch-${{ github.event.pull_request.number }}${{ github.event.action == 'edited' && !github.event.changes.base.ref.from && format('-edit-{0}', github.run_id) || '' }} cancel-in-progress: true ``` Workaround: comment `/dottore` on the PR. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-23 04:02:55 +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-Agents#1550
No description provided.