Skip to content

feat(drone): fix merge_plugin: worktree branch-cleanup failure treated as non-fatal warning#286

Merged
AIOSAI merged 1 commit intomainfrom
citizen/drone
Apr 15, 2026
Merged

feat(drone): fix merge_plugin: worktree branch-cleanup failure treated as non-fatal warning#286
AIOSAI merged 1 commit intomainfrom
citizen/drone

Conversation

@AIOSAI
Copy link
Copy Markdown
Owner

@AIOSAI AIOSAI commented Apr 15, 2026

Summary

  • Detect worktree branch-cleanup failure from gh pr merge --delete-branch and treat it as a non-fatal warning
  • gh pr merge --delete-branch returns non-zero if the local branch can't be deleted (e.g. checked out in a Claude Code worktree), even though the GitHub-side merge + remote branch deletion already completed
  • Root cause of ERROR 02a438a6: merge of fix/wake-cross-project-resolve failed at local cleanup step only — the PR was actually merged successfully

Branch

Created by @drone via drone @git pr

…d as non-fatal warning

Co-Authored-By: @drone <drone@aipass>
@AIOSAI AIOSAI merged commit 1d0f88d into main Apr 15, 2026
5 of 6 checks passed
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.

1 participant