[GH-ISSUE #8863] [Issue]: Dottore still fails a review after three empty gateway replies in a row #8528

Closed
opened 2026-11-07 16:43:33 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Nov 5, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8863

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Dottore still fails reviews when the AI gateway sends several empty replies in a row. #8818 (for #8817) resends an empty reply twice, after 15 s and 45 s. In bursts, all three attempts come back empty, so the review ends Specimen Unexamined or Examination Incomplete and has to be rerun from the start.

Expected behavior

A review rides out a short burst of empty gateway replies and finishes with a verdict, without running past its deadline or its cost limit.

Actual behavior

Run 41931881745 (PR #8837, 2026-11-04) got 15 empty replies:

  • Two finder shards failed together at 23:20:48 and 23:20:49.
  • Both were resent after 15 s and failed again together at 23:21:54.
  • Both were resent after 45 s. One failed a third time, so the whole review ended "Specimen Unexamined: ResponseFailed: the gateway ended the reply at max_tokens before Claude wrote anything".

The same failure ended #8841's review as "Examination Incomplete" when a checker gave up, and it ended two earlier #8837 reviews. Each rerun costs about $1.40 and 20 minutes.

Steps to reproduce

Request /dottore on a large PR while the gateway returns empty max_tokens replies, then read the Dottore examination job log.

Environment

  • Marinara Engine version: staging
  • Install type: CI (Dottore Review workflow)
  • OS + version: GitHub-hosted runners
  • Browser or app shell: n/a
Originally created by @SpicyMarinara on GitHub (Nov 5, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8863 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Dottore still fails reviews when the AI gateway sends several empty replies in a row. #8818 (for #8817) resends an empty reply twice, after 15 s and 45 s. In bursts, all three attempts come back empty, so the review ends **Specimen Unexamined** or **Examination Incomplete** and has to be rerun from the start. ## Expected behavior A review rides out a short burst of empty gateway replies and finishes with a verdict, without running past its deadline or its cost limit. ## Actual behavior Run 41931881745 (PR #8837, 2026-11-04) got 15 empty replies: - Two finder shards failed together at 23:20:48 and 23:20:49. - Both were resent after 15 s and failed again together at 23:21:54. - Both were resent after 45 s. One failed a third time, so the whole review ended "Specimen Unexamined: ResponseFailed: the gateway ended the reply at max_tokens before Claude wrote anything". The same failure ended #8841's review as "Examination Incomplete" when a checker gave up, and it ended two earlier #8837 reviews. Each rerun costs about $1.40 and 20 minutes. ## Steps to reproduce Request `/dottore` on a large PR while the gateway returns empty `max_tokens` replies, then read the Dottore examination job log. ## Environment - Marinara Engine version: staging - Install type: CI (Dottore Review workflow) - OS + version: GitHub-hosted runners - Browser or app shell: n/a
bsakaguchi 2026-11-07 16:43:33 +07:00
  • closed this issue
  • added the
    bug
    in-pr
    labels
Author
Owner

@SpicyMarinara commented on GitHub (Nov 5, 2026):

Fixed by #8864, merged into staging. An empty gateway reply now gets resends after 15, 45, 90 and 120 s. The last two run only while the resent reply still has its whole time box before the deadline and the review is under its cost limit.

<!-- gh-comment-id:6653997765 --> @SpicyMarinara commented on GitHub (Nov 5, 2026): Fixed by #8864, merged into staging. An empty gateway reply now gets resends after 15, 45, 90 and 120 s. The last two run only while the resent reply still has its whole time box before the deadline and the review is under its cost limit.
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#8528
No description provided.