rolling-PR update mutates PR-object metadata on the just-merged triggering PR (not just release-prep/rolling) #274
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#274
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?
Bug
The release-toolkit workflow (
decide + act→release) mutates PR-object metadata on the just-merged PR that triggered the run, in addition to updating the correctrelease-prep/rollingrolling PR. Result: two PRs in the repo end up with identicalchore(release): vX.Y.Ztitle + assembled changelog body — the correct rolling PR, and the ex-feature PR that innocently triggered the workflow by merging.Empirical
Reproduced in frankenbit/tmux-tell on v0.29.0 rolling cycle (2026-07-01 22:43):
bcf025710on main at 22:43.releaseworkflow fired on push (event: push, status: success). It generated v0.29.0 rolling assembly.release-prep/rolling, correctly-titled): title="chore(release): v0.29.0", body=assembled changelog — ✓ correcti/708-healthscan-adapter-resolver/b9cb414e/bcf025710) — only display-metadata (title + body + changed_files) is mutated.bcf025710; only PR-object display is confused.Impact
Hypothesis
The rolling-PR update step in
reusable-release.ymllikely does a PATCH by PR index/ref that mis-scopes when the triggering commit is on a feature-merged PR. Either the update-loop iterates over more PRs than intended, or the ID resolution picks up the wrong PR when the rolling PR and triggering PR are both matched by achore(release):prefix.Fix direction
head.ref == release-prep/rolling, not by title-prefix or by "recently updated / merged" heuristic.Refs