Guide gap: branch lifecycle — auto-delete on merge vs protected develop #41

Closed
opened 2026-07-19 12:43:01 -04:00 by hiveiq · 0 comments
Owner

platform.ci-cd says 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 -> main release 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.

`platform.ci-cd` says 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` -> `main` release 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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hiveiq-src/hiveops-guide#41