Skip to content

bug: pr-rescue single failure aborts entire loop #100

@microsasa

Description

@microsasa

Bug

The PR Rescue workflow uses set -euo pipefail and runs git fetch / git push inside the loop without error handling. If one PR's branch was deleted or push is rejected, set -e kills the entire script — all remaining PRs in the queue are skipped.

Git Blame

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

Copilot didn't consider failure modes inside the loop.

Fix

Wrapped git fetch and git push in error-handling guards so failures skip the current PR and continue to the next. 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