Repository navigation
build: BuildSdk 2.2.0, latest dependencies, and stable-release prep - #28
Closed
kieronlanning wants to merge 6 commits into
Closed
kieronlanning wants to merge 6 commits into
kieronlanning wants to merge 6 commits into
Conversation
BuildSdk 2.2.0 makes runtime-async and the C# 15 updated memory-safety rules opt-in, so enable both explicitly for the net11.0 builds. Select the Supported target-framework set (net10.0;net11.0) repo-wide and derive the WSL backend's portable and Windows targets from it. Guard the memory-safety rules alongside runtime-async in BuildFeatureTests, and update the docs that described them as SDK defaults. Also bumps the purview.build and dotnet-inspect tools.
Aspire.Hosting 17.0.0, Testcontainers 4.17.0, Microsoft.Extensions.Telemetry.Abstractions 11.0.0, Purview.Telemetry.SourceGenerator 6.0.1, SourceLink 11.0.100, TUnit 1.87.0 and the test-only clients. Every shipped dependency still ships a net10.0 asset, so the .NET 10 floor is unchanged.
…build Testcontainers returns a null endpoint when no daemon is discovered, so every Docker call site failed with a bare NullReferenceException. Resolve it in one place (DockerEndpoint) and throw a ContainerBackendUnavailableException that says how to fix it; GetInfoAsync also names the endpoint on a timeout or refused ping. AutoSample copies Wsl's net10.0-windows output but nothing ordered that build first, so a parallel solution build could fail with "The Windows implementation is not built". Add a build-only project reference.
pr.yml now also runs on push to main, so main's status reflects what was merged. Main runs are never cancelled by a newer one; PR runs still are. A push to main never publishes.
PackageProjectUrl now points at https://purview.dev/projects/containers/, matching the homepage in package.json.
Remove the experimental, preview and no-support-guarantee notices from the README, wiki, package READMEs and skills. Versions stay on a -prerelease.N suffix until the stable 1.0.0, which includes the WSL Containers backend. Refresh stale version examples to prerelease.14 and describe the push-to-main build.
Contributor
Author
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.
Prepares the project for its stable 1.0.0 line.
Build
src/Directory.Build.propsnow enables both (PurviewRuntimeAsync=true,MemorySafetyRules=2) for the net11.0 builds.BuildFeatureTestsguards both.Supportedtarget-framework set (net10.0;net11.0) selected repo-wide.Wsl.csprojderives its portable and Windows targets from it.net10.0asset.Fixes
NullReferenceException. Testcontainers returns a null endpoint; all call sites now go throughDockerEndpoint.AutoSample: a build-only reference orders Wsl'snet10.0-windowsbuild first. This fixes the intermittent "The Windows implementation is not built" failure in the WSLC contract job.CI and packaging
pr.ymlalso builds and tests every push tomain. Main runs are not cancelled, and nothing is published frommain.1.0.0-prerelease.14.PackageProjectUrlis now https://purview.dev/projects/containers/.Docs
-prerelease.Nuntil the stable 1.0.0, which includes the WSL backend.Validation (local, Windows)
just pipeline-pack-validate: build, lint, unit tests, pack, 30/30 packages valid.just verify-consumers: 25/25. That run predates the last four commits; the build-affecting changes since are the Docker error handling, theAutoSamplereference, the version bump and the project URL.actionlintpasses onpr.yml.integration-dockerandintegration-wsljobs are the real-container check.