Guide gap: branch lifecycle — auto-delete on merge vs protected develop #41
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
platform.ci-cdsays nothing about auto-delete-head-branch-on-merge, which is enabled in all 49 repos.It is correct for feature branches cut from develop, but on a
develop->mainrelease PR the head branch IS develop, so the setting deletes develop itself. hiveops-agent hit this twice and had to recreate develop from main each time.Fixed 2026-07-19 by protecting develop in 41/42 repos with a rule that blocks deletion and nothing else. That fix needs to be written down so nobody removes the protection as redundant.