Skip to content

release: v4.28.1 - exempt next/hotfixes/dev in the default so releases… - #307

Merged
Shinrai merged 6 commits into
masterfrom
next
Sep 17, 2026
Merged

Shinrai merged 6 commits into
masterfrom
next

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

🚀 What's Changed

💥 Breaking Changes

No breaking changes

✨ Features

No new features

🐛 Bug Fixes

📦 Dependencies

No dependency updates

🔧 Other Changes

👥 Contributors

Co-authored-by: Shinrai [email protected]

Shinrai and others added 3 commits September 17, 2026 02:14
…lates

The example ci/publish/release templates hardcoded the test-matrix cap as
`max_node_major: ${{ github.event.inputs.max_node_major || '26' }}` (and a
matching workflow_dispatch input default of "26"). That re-goes-stale every time
a new even major ships. Blank the fallback and the input default so the templates
inherit this repo's own reusable-workflow default (the single source of truth for
the max major), while keeping the workflow_dispatch input for a per-run pin.
@cldmv-bot cldmv-bot Bot added ! release → master v4 flow: persistent next → master release PR (carries the next feature release) release Marks a pull request as a pending release — merge to publish a new version semver: patch This release contains only backwards-compatible bug fixes type: config Changes to repository or project configuration files labels Sep 17, 2026
Shinrai and others added 3 commits September 17, 2026 06:17
…eases don't delete integration branches

branch-retention deletes a merged PR's head branch when nothing exempts it. The
persistent next→master / hotfixes→master release PR merges with `next` / `hotfixes`
as its HEAD, so on every release branch-retention deleted the integration branch —
and GitHub auto-closes EVERY open PR whose base branch is deleted, silently killing
in-flight feature PRs. next-reset recreates the branch but not the closed PRs.
(Real incident: CLDMV/slothlet v3.16.3 closed PRs #405 and #409 unmerged.)

The reusable default exempt_patterns was ["master","main","badges","gh-pages"] —
missing the integration branches — even though this repo's own
local-branch-retention.yml already exempts next/hotfixes/dev. Promote that same
protection into the reusable default so every consumer inheriting it is covered:
next is never deleted on release, in-flight PRs stay open, and the reset
force-resets next in place (step 7) instead of recreating it (step 9).
…t/hotfixes) from deletion

The org 'Protect Next' / 'Protect Hotfixes' rulesets carry a deletion rule,
but the bot App is a bypass actor on them (bypass_mode: always) because it
needs the bypass to force-reset next during a release — and that same bypass
lets a delete through. So the ruleset cannot be the guardrail against the very
actor that runs branch-retention. Enforce the guardrail in the action itself:
refuse to delete master/main/next/hotfixes regardless of exempt_patterns or a
matching retention rule. Complements the default exempt_patterns fix.
@cldmv-bot cldmv-bot Bot added area: core Touches core library / runtime source code type: ci Changes to CI workflows, actions, or build pipelines labels Sep 17, 2026
@cldmv-bot cldmv-bot Bot changed the title release: v4.28.1 - inherit max_node_major in individual-repo workflow… release: v4.28.1 - exempt next/hotfixes/dev in the default so releases… Sep 17, 2026
@cldmv-bot cldmv-bot Bot added the type: bug Something is broken or not behaving as expected label Sep 17, 2026
@Shinrai
Shinrai merged commit 1426ceb into master Sep 17, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: core Touches core library / runtime source code ! release → master v4 flow: persistent next → master release PR (carries the next feature release) release Marks a pull request as a pending release — merge to publish a new version semver: patch This release contains only backwards-compatible bug fixes type: bug Something is broken or not behaving as expected type: ci Changes to CI workflows, actions, or build pipelines type: config Changes to repository or project configuration files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant