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

Closed
opened 2026-10-24 04:04:03 +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-Engine/issues/8068

Originally assigned to: @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.

.github/workflows/dottore-review-auto.yml puts every run for a pull request in 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 the edited run starts while the push's synchronize run is still in flight, it cancels that run and then skips. Neither run dispatches a review.

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

On #8057, head 094b902e7 was pushed and the PR description was updated a second later:

Run Created (UTC) Result
39759494330 (the push) 09:58:08 cancelled after 1 s
39759497444 (the description edit) 09:58:09 success: "Skipping Dottore auto dispatch for pull request metadata edit."

The walkthrough stayed at the previous head (44191715d), and no Dottore Review status was posted for 094b902e7. Every other check was green, but the PR stayed mergeable_state=blocked for about 50 minutes. A /dottore comment at 10:50 then ran the review (39766154430), and the PR merged once it posted.

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 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 shows as 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: staging at d0c600758
  • Install type: GitHub Actions (pull_request_target)
  • OS + version: ubuntu-latest runner
  • Browser or app shell: n/a

Logs, screenshots, or video

The run links in the table above.

Additional context

One possible fix is to give metadata edits their own concurrency group, so they can't cancel a push's dispatch. Pushes and base changes would still supersede each other as they do now:

concurrency:
  group: dottore-review-auto-dispatch-${{ github.event.pull_request.number }}${{ github.event.action == 'edited' && !github.event.changes.base && 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-Engine/issues/8068 Originally assigned to: @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`. `.github/workflows/dottore-review-auto.yml` puts every run for a pull request in 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 the `edited` run starts while the push's `synchronize` run is still in flight, it cancels that run and then skips. Neither run dispatches a review. ## 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 On #8057, head `094b902e7` was pushed and the PR description was updated a second later: | Run | Created (UTC) | Result | | --- | --- | --- | | [39759494330](https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/39759494330) (the push) | 09:58:08 | cancelled after 1 s | | [39759497444](https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/39759497444) (the description edit) | 09:58:09 | success: "Skipping Dottore auto dispatch for pull request metadata edit." | The walkthrough stayed at the previous head (`44191715d`), and no `Dottore Review` status was posted for `094b902e7`. Every other check was green, but the PR stayed `mergeable_state=blocked` for about 50 minutes. A `/dottore` comment at 10:50 then ran the review ([39766154430](https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/39766154430)), and the PR merged once it posted. ## 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 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 shows as 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: `staging` at d0c600758 - Install type: GitHub Actions (`pull_request_target`) - OS + version: `ubuntu-latest` runner - Browser or app shell: n/a ## Logs, screenshots, or video The run links in the table above. ## Additional context One possible fix is to give metadata edits their own concurrency group, so they can't cancel a push's dispatch. Pushes and base changes would still supersede each other as they do now: ```yaml concurrency: group: dottore-review-auto-dispatch-${{ github.event.pull_request.number }}${{ github.event.action == 'edited' && !github.event.changes.base && 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-24 04:04:03 +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#7544
No description provided.