Repository navigation
docs(gates): the pinned GA SDK resolves a relative --project path - #863
Merged
Merged
Conversation
The sentence under the gate commands named a release-candidate SDK behaviour as the reason for the absolute project paths. On the pinned 11.0.100, a relative --project path, file or directory, resolves once for a multi-targeted project with no -f: probed on Windows for the file form and on Linux for both forms, each reaching the net10.0 and net11.0 test hosts. The commands keep their absolute paths, as CI does; the sentence now says what holds on the pinned SDK.
Canon states the status quo; the release-candidate history stays in #825 and the pull request.
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
docs/engineering/quality-gates.mdgave a release-candidate SDK behaviour as the reason the gate commands use an absolute--projectpath: the .NET 11 release-candidate SDKs resolved a relative path a second time against the project's own directory. On the pinned GA SDK11.0.100that behaviour is gone, so the sentence now says only what holds:The absolute paths stay: they match CI and still work on the GA SDK.
Evidence
On
11.0.100, from the repository root with no-f,dotnet test --project <path> --configuration Release --no-build -- --treenode-filter "/*/*/NoSuchClassForPathProbe/*"against the multi-targetedtests/OpenCode.Sdk.Tests:net10.0test host.tests/OpenCode.Sdk.Tests/OpenCode.Sdk.Tests.csprojand the directory formtests/OpenCode.Sdk.Tests: each reached both thenet10.0andnet11.0test hosts and ended with zero tests run, as the filter asks.Closes #825