Repository navigation
Turn on package validation against each major's last release - #73
Merged
Merged
Conversation
Packing now compares the public API with the last release of the same major (17.0.0, 18.0.0, 19.0.0-rc.1) and fails on a breaking change, since the API of a major must not break. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WAQdHxWd7ft8XjqRAeyGB6
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.
Summary
Turns on NuGet package validation, per the kit convention. Each major's pack is compared with its last release on nuget.org and fails on a breaking public API change.
The baselines sit with the other per-major values in
Directory.Build.props.docs/RELEASING.md(step 9) andCONTRIBUTING.mdsay to move a major's baseline after each release, and that packing needs network access. CI's pack step needs no change: its versions (17.0.1-ci.N, release tags) are all above the baselines, and the jobs have network access.Evidence
Before: pack never compared against a release. After,
dotnet pack -c Releasesucceeds with 0 warnings:-p:Version=17.0.1(SDK 10), baseline 17.0.0-p:Version=18.0.1(SDK 10), baseline 18.0.0-p:Version=19.0.0-rc.2(SDK 11), baseline 19.0.0-rc.1dotnet buildand the 376 unit tests pass for 17.Deliberate break (made
FeatureFlagOverrideSavedNotificationinternal, packed 17, then reverted):Merge Danger
Door: two-way
Blast Radius: build
🤖 Generated with Claude Code
https://claude.ai/code/session_01WAQdHxWd7ft8XjqRAeyGB6