githubnext/chopinPublic

Let's compose rich plans together

fix: detect PRs that pass CI but cannot be rebased #332

MergedMaggieAppletonmerged 2 commits intomainfromrefs/pull/332/head
  1. MA

    PR #272 had green CI and GitHub reported `mergeable: true`, but `rebaseable: false` prevented merging in this rebase-only repository. The babysitter could incorrectly call this ready.

    Check the effective merge method from repository settings and branch rules. For rebase-only branches, false replayability schedules a rebase and unknown replayability defers verification. Refresh inventory advice before dispatch, preserving parent ordering, opt-outs and exact head/base checks. Squash and merge repositories retain their existing behavior.

    Validation: both original regressions failed before the fix; all 162 maintenance tests (1,067 assertions), formatting and repository CI checks pass. Independent review caught and verified a fresh-confirmation edge case.

    ![Readiness now checks whether GitHub can replay a green PR before declaring it ready](https://github.com/user-attachments/assets/ede02ff4-d01c-4b6d-b7c6-9dd5a2c5764a)

  2. MaggieAppletonauto-rebase-enabledlast month on GitHub

  3. MaggieAppletonmerged 28c111e3f0f5last month on GitHub

  4. MaggieAppletonclosedlast month on GitHub

  5. MaggieAppletonhead-ref-deletedlast month on GitHub