Skip to content

bug: pr-rescue unguarded checkout and rebase --abort can kill loop #102

@microsasa

Description

@microsasa

Bug

PR Rescue workflow had unguarded git checkout and git rebase --abort calls inside the loop. If checkout fails (dirty working tree) or rebase --abort fails (corrupt state), set -e kills the entire script — all remaining PRs are skipped.

Git Blame

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

Copilot wrapped fetch and push in error handling but forgot checkout and rebase --abort.

Fix

Guarded git checkout with if/continue and git rebase --abort with || true. 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