Skip to content

docs(deferred): track branch-deletion cross-fork safety check#58

Merged
TheDave94 merged 1 commit into
mainfrom
docs/branch-deletion-safety
May 23, 2026
Merged

docs(deferred): track branch-deletion cross-fork safety check#58
TheDave94 merged 1 commit into
mainfrom
docs/branch-deletion-safety

Conversation

@TheDave94

Copy link
Copy Markdown
Owner

Summary

Adds a DEFERRED entry under "CI / Infrastructure" pinning the safety check that needs to land before any future bulk branch-deletion automation runs in this repo.

Context

Bulk branch deletion in TheDave94/oriel-dashboard on 2026-05-19 and 2026-05-22 silently closed 49 cross-fork PRs in TheRealSimon42/simon42-dashboard-strategy. The mechanism: GitHub auto-closes a PR when its head branch is deleted, recording the deleting account as the close actor — looks like deliberate closure to the maintainer but isn't.

Recovery is complete. All 49 affected PRs have been recovered:

What this entry pins

  • The next bulk cleanup is the real risk, not retroactively fixing past events.
  • The check: gh api \"repos/{upstream}/pulls?head=TheDave94:{branch}&state=open\" per branch — fast enough for any reasonable batch.
  • The trigger to act: when any branch-deletion automation is added or modified, OR before any future manual bulk deletion.

Docs-only. No code change. Will not trigger release-please.

Test plan

  • CI: doc-only changes; no build/test impact

🤖 Generated with Claude Code

Bulk branch deletion in TheDave94/oriel-dashboard on 2026-05-19 and
2026-05-22 silently closed 49 cross-fork PRs in
TheRealSimon42/simon42-dashboard-strategy. GitHub auto-closes a PR
when its head branch is deleted, recording the deleting account as
the close actor — looks like deliberate closure to the maintainer
but isn't.

All 49 PRs have since been recovered (Cluster C 17-PR batch
restored on 2026-05-23; TheRealSimon42#250 restored after the rebundling-map
investigation). The next bulk cleanup is the actual risk; this
entry pins the safety check before any future automation lands.

Recovery state at time of writing: 17 grouped/standalone Cluster C
PRs open, TheRealSimon42#236 re-closed (superseded by TheRealSimon42#276 within Cluster C),
TheRealSimon42#250 open as standalone. Remaining ~30 closed-not-merged
originals from May 19 were deliberately rebundled into the
grouped/* PRs and stay closed correctly.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@TheDave94 TheDave94 merged commit df264aa into main May 23, 2026
7 checks passed
@TheDave94 TheDave94 deleted the docs/branch-deletion-safety branch May 23, 2026 21:04
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