Skip to content

bug: pr-rescue cancel-in-progress can leave branches half-rebased #101

@microsasa

Description

@microsasa

Bug

PR Rescue had cancel-in-progress: true on its concurrency group. If a second push to main happens while rescue is mid-rebase, the running rescue gets cancelled. This could leave a PR branch in a half-rebased state — partially force-pushed, broken commits.

Git Blame

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

Copilot used cancel-in-progress: true without thinking about what happens when a rebase is interrupted mid-operation.

Fix

Changed to cancel-in-progress: false — let current rescue finish, queue the next one. 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