Skip to content

Copilot PR feedback about error handling#8443

Merged
alexr00 merged 1 commit intomainfrom
alexr00/wild-marten
Jan 28, 2026
Merged

Copilot PR feedback about error handling#8443
alexr00 merged 1 commit intomainfrom
alexr00/wild-marten

Conversation

@alexr00
Copy link
Member

@alexr00 alexr00 commented Jan 28, 2026

Copilot AI review requested due to automatic review settings January 28, 2026 10:32
@alexr00 alexr00 enabled auto-merge (squash) January 28, 2026 10:32
@alexr00 alexr00 self-assigned this Jan 28, 2026
@vs-code-engineering vs-code-engineering bot added this to the January 2026 milestone Jan 28, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds defensive error handling around auto-deleting the local branch after enqueueing a PR into a merge queue, ensuring enqueue flow continues even if branch deletion fails.

Changes:

  • Wrap autoDeleteLocalBranchAfterEnqueue in a try/catch to avoid aborting the enqueue flow on failure.
  • Log failures and surface a user-facing warning message when auto-delete fails.

@alexr00 alexr00 merged commit 15fe752 into main Jan 28, 2026
12 checks passed
@alexr00 alexr00 deleted the alexr00/wild-marten branch January 28, 2026 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants