chore(ci): exempt rolling PRs from check-self-bootstrap between-cuts red #304
Labels
No labels
bump
major
bump
minor
bump
patch
kind/bug
kind/chore
kind/docs
kind/feature
priority/critical
priority/high
priority/low
priority/medium
size/L
size/M
size/S
size/XL
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
frankenbit/release-toolkit#304
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Why
Rolling PRs (release-bot's
release-prep/rollingbranch, opened byreusable-release.ymlinmode=update) always show a redcheck-self-bootstrapbetween cuts. That's the design contract of #124 mechanism-of-touch — whenever a compose-script changes onmain, the pinned ref lags until the next cut fires#283auto-re-pin. On rolling PRs specifically, "the mechanism that would fix the drift IS the drift" — the red is genuine but non-actionable on that PR.Operator directive verbatim (bosun
f9b0):The between-cuts red on rolling PRs is exactly the class the operator's preference names: a failing run on a PR that isn't actionable AT that PR.
Scope
Add a condition on the head branch in the
check-self-bootstrapjob or thechangelog-body-checkreusable that skips the check when the head isrelease-prep/rolling(or a broader pattern covering any release-bot-opened rolling PR).Two shapes to weigh:
if: !startsWith(github.head_ref, 'release-prep/')on the job. Zero-cost, matches operator preference of no failing runs on rolling PRs.The former matches the operator's stated preference exactly; the latter preserves more information but reintroduces the failing-runs class the operator wants to eliminate. Simplest lean: shape 1.
What this does NOT do
check-self-bootstrap.sh's logic — the check itself is correct + should keep firing on regular PRs (its purpose is exactly to fail-loud when compose-scripts changed but pin didn't update).Refs
.release-toolkit-release-notes.mdfile deletion staged on rolling); this is the class where the design contract fires but is not actionable on the rolling PR.f9b0operator relay routing this to my discretion post-Set-F.