Skip to content

Retry merge queue entries removed with checks_timed_out #447

Description

@hirotomoyamada

opencode-magi version

0.12.0

OpenCode version

1.18.9

Node.js version

v24.14.0

GitHub CLI version

2.87.3

Description

When a pull request leaves GitHub's merge queue because checks time out, opencode-magi ends the review as blocked instead of retrying the queue entry.

Pull request URL

yamada-ui/yamada-ui#7775

Command

/magi:review

Steps to Reproduce

  1. Configure review.merge.queue as true.
  2. Run /magi:review for an approved pull request.
  3. Let a required merge-queue check time out so GitHub removes the pull request with reason checks_timed_out.
  4. Observe that the review ends as blocked with PR left the merge queue before merging.

Operating System

  • macOS
  • Windows
  • Linux

Configuration

{
  "review": {
    "checks": {
      "retryFailedJobs": 3
    },
    "merge": {
      "queue": true
    }
  }
}

Logs or output

2026-07-28T23:37:53Z Added to merge queue
2026-07-28T23:48:40Z Removed from merge queue: checks_timed_out
2026-07-28T23:49:42Z Status: blocked
Error: PR left the merge queue before merging.

The retry logic only recognizes failed_checks; it should also retry entries removed with checks_timed_out, subject to the existing retry limit.

Do you know how to fix the issue?

Yes

Are you willing to participate in fixing this issue and create a pull request with the fix?

Yes

AI used

  • I did not use AI to create this issue.
  • (If there is no check above) I checked the generated content before submitting.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions