Skip to content

bug: pr-rescue rescues BLOCKED PRs that aren't behind main #99

@microsasa

Description

@microsasa

Bug

The PR Rescue workflow checked for mergeStateStatus of BEHIND OR BLOCKED. But BLOCKED can mean many things — unresolved threads, failing CI, missing approval — not just behind main. Rescuing a PR blocked by unresolved threads would rebase and push, potentially triggering new Copilot comments and making things worse.

Git Blame

commit 058e1cc — feat: PR rescue workflow + pipeline hardening
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot wrote the condition without thinking about what BLOCKED actually means.

Fix

Only rescue BEHIND PRs. Fixed in PR #97.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions