Repository navigation
build: package validation baselines on 2.0.0, and VersionPrefix moves to 2.0.1 - #968
Merged
Merged
Conversation
… to 2.0.1 2.0.0 is on NuGet.org, so the packs now compare against it, and master builds the next version's nightlies. The baseline suppressions 2.0.0 shipped answer the 1.1.0 baseline only, so they go, and with them the file. CI reads the baseline from Directory.Build.props and fetches its tag, so no workflow changes. The ROADMAP's release lines follow the release.
This was referenced Nov 22, 2026
Merged
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.
What
2.0.0is on nuget.org, and thev2.0.0tag marks its commit, somastermoves past it. This follows the1.1.0and1.0.0steps (#807).Directory.Build.props:PackageValidationBaselineVersionmoves from1.1.0to2.0.0, so the packs now compare against the published2.0.0;VersionPrefixmoves from2.0.0to2.0.1, somaster's nightlies are the next version's.src/OpenCode.Sdk/CompatibilitySuppressions.xmlis deleted. Its eight entries were baseline suppressions for theFilesattachment break, which answer the1.1.0baseline only and shipped in2.0.0. The package-compatibility canon says that moving the baseline removes every suppression the release already shipped, and that a project with none keeps no file.docs/ROADMAP.md:2.0.0as the latest release;2.0.0a major;2.0.0;2.0.0.No workflow changes: CI reads the baseline from
Directory.Build.propsand fetches its tag.Verification
On this head,
c93b8ee6, with thev2.0.0tag fetched, in the foreground:dotnet format whitespace --verify-no-changespassed;Category!=NativeAot, passed 2,874 of 2,874. It includes the suppression test, which readsspec/receipt.jsonat the baseline tag, and the tests that read the roadmap.The pack's validation against the published
2.0.0runs in CI's lint job. The local gate doesn't pack with validation.