Repository navigation
fix(DS-REL): date a re-added section from its last addition (v0.3.2) - #5
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DS-REL reports a newest
## vX.Y.Zsection that is still untagged a day after it was committed. The date came from the oldest commit that ever changed the heading's count (git log -S, last line). For a heading that was added, folded into another section and later written again, that oldest commit is the first addition. go-iec61850's## v1.21.0was added in #67 and folded away in #72 on 2026-11-11, so the pull request that writes it again for the real v1.21.0 is reported as "release notes since 2026-11-11" before it is merged.Addednow takes the newest commit that changed the heading's count, and only when the file still holds the heading at that commit:make checkon an uncommitted section behaves as before.Tests
TestAdded(internal/gitinfo) builds a nested-module history: added, folded, back uncommitted, added again, reworded. On v0.3.1 it fails at "back but not committed" (it returned the first addition).TestGitChecksis unchanged and passes.make checkpasses, coverage 89.4%.feat/policy-1.6-minortree (library, sclparse, sclgen), where v0.3.1 reports the finding.Patch release v0.3.2. Consumers move when they bump
docsync-version.🤖 Generated with Claude Code