Repository navigation
build: the tools, the service fixture and the benchmark host build on net11.0 (#829, step 6) - #877
Merged
Merged
Conversation
Blind-Striker
force-pushed
the
build/829-tools-net11
branch
from
November 15, 2026 00:55
c240da0 to
af69166
Compare
… net11.0 (#829, step 6) The repository tool, its file-based entry, its tests and the service fixture leave DefaultTargetFramework for LatestTargetFramework; DefaultTargetFramework stays net10.0 and keeps composing the packages' and the tests' frameworks. The test roster follows the tool tests. The consumer framework the tool stamps and the native AOT pack selection stay on DefaultTargetFramework. The benchmark project targets TestTargetFrameworks. It references the tool, and compiles the generator benchmarks, on the latest framework only; the other targets link the wire-metric ids and measure the SDK alone. The CI benchmark hosts run on net11.0 with unchanged measured runtimes, and the CI guard test follows the host argument. The cold-start jobs pin .NET 10, so their rows keep measuring .NET 10. Known costs: the generator-stage job moves to .NET 11, so its rows no longer join the archived .NET 10 before-set; and the pinned cold-start rows now carry the .NET 10.0 label instead of the job's name, so a comparison across this change joins no cold-start case until the before-run is re-measured. The lint, generator-stage and nightly-publish jobs drop the .NET 10 install that only the tools needed. The NuGet publish job keeps it: it can check out a dispatched commit from before this change. One oracle test takes the generic GetTypeInfo<T>() that net11.0 offers (CA2263). Comments, the contributor prerequisites and the platform and quality-gate canon follow.
Blind-Striker
force-pushed
the
build/829-tools-net11
branch
from
November 15, 2026 02:20
af69166 to
271a915
Compare
Blind-Striker
marked this pull request as ready for review
November 15, 2026 02:42
6 tasks done
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
Step 6 of #829: the repository tool, its tests, the service fixture and the benchmark host build on
net11.0.DefaultTargetFrameworkstaysnet10.0and keeps composing the packages' and the tests' frameworks. The measured benchmark runtimes staynet10.0,net11.0andnet472.OpenCode.Sdk.Tools, the file-based entrytools/opencode-tool.cs,OpenCode.Sdk.Tools.Testsand the service fixture takeLatestTargetFramework, and the test roster follows the tool tests. The consumer framework the tool stamps (DefaultTargetFramework) and the native AOT pack selection stay where they are: they describe the consumer, not the tool.TestTargetFrameworks. It references the tool, and compiles the generator benchmarks, on the latest framework only; the other targets link the wire-metric ids and measure the SDK alone. Only thenet11.0output carriesOpenCode.Sdk.Tools.dll.-f net11.0; their--runtimes, step names and matrix do not change, and the guard test that pins the host command follows. The lint, generator-stage and nightly-publish jobs drop the .NET 10 install that only the tools needed. The NuGet publish job keeps it, because it can check out a dispatched commit from before this change.net11.0,JsonSerializerOptionsoffers the genericGetTypeInfo<T>(), so one oracle test takes it (CA2263). Its assertion is unchanged.Known costs:
.NET 10.0label instead of the job's name. Acompare-benchmarksrun across this change therefore joins no cold-start case until the before-run is re-measured on a current tree.docs/engineering/quality-gates.mdsays so.Local checkouts: a checkout that still holds an earlier
net10.0build of the service fixture fails the live stop and discovery tests with "Several builds": the fixture resolver refuses a second framework folder undertests/OpenCode.Sdk.ServiceFixture/bin/<Configuration>/. Delete the stalenet10.0folder once. CI starts clean.ADR-0034 impact
None on the packages: nothing under
src/changes, so there is no public-surface or behaviour change and no CHANGELOG line. Package validation against1.1.0is unaffected.Verification
Linux, at this head:
net472compile;generate --verifyandrefresh-spec --verify;1.1.0;The benchmark jobs in CI exercise the host move and the pinned runtimes.
Refs #829