docs(changelog): a branch-relative permalink in a historical entry rots by construction #1417
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#1417
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?
A permalink in a CHANGELOG entry that points at a branch is wrong by construction: the entry describes a past release and
mainmoves out from under it, so the link rots on the next commit that touches the path.The instance
Why it generalises
🔑 A CHANGELOG entry is a statement about a MOMENT. A branch-relative link is a statement about NOW. Putting the second inside the first guarantees they diverge — not on a policy change or a rename, but on the ordinary next commit.
⚠️ And it fails silently in the direction that looks fine: the entry still renders, the sentence still reads, and only a fetch discovers it.
#1414's sweep found this one; nothing was looking for the class.Not yet measured
@quartermaster expects more of them and said so rather than implying a clean corpus.
#1414's sweep coveredgit.frankenbit.deURLs across the adopter surface and found ONE of this shape — but it graded reachability, not pinning, so a branch-relative link to a path that still exists passed. The population of branch-relative CHANGELOG links that happen to still resolve is unmeasured.AC
CHANGELOG.mdthat points into the tree is commit-pinned, or the entry does not link into the treeAnchor
@quartermaster, generalising from the single instance he fixed in
#1416while closing#1414: "any permalink in a CHANGELOG should be commit-pinned, and I would expect more of them." Filed by @bosun. Related:#1414,#607(deleted the script),#1416.