Repository navigation
ci: Set version to '11.1' - #1121
Merged
Merged
Conversation
jonpryor
marked this pull request as ready for review
October 27, 2026 16:24
jonpryor
force-pushed
the
dev/jonpryor/jonp-bump-version-11.1
branch
3 times, most recently
from
October 27, 2026 18:27
6f05b8c to
3b5f973
Compare
Additionally, install and build against .NET 11 rc.2.
Context: "ci: Set version to '11.0'" `MSTest.Sdk` projects generate an "app" that is executed directly. This app requires a .NET "runtime pack" corresponding to the `$(TargetFramework)` that the project was built against. For example, when `$(TargetFramework)`=net10.0, then *running* the resulting assembly requires that .NET 10 be installed. Enter the commit "ci: Set version to '11.0'": we're installing and building using .NET *11*. There is no .NET 10 installation. Consequently, the "app" cannot run: & "$(Build.SourcesDirectory)\src\Uno.Wasm.VersionChecker.UnitTests\bin\Release\net10.0\Uno.Wasm.VersionChecker.UnitTests.exe" … errors out with: App: D:\a\1\s\src\Uno.Wasm.VersionChecker.UnitTests\bin\Release\net10.0\Uno.Wasm.VersionChecker.UnitTests.exe Architecture: x64 Framework: 'Microsoft.NETCore.App', version '10.0.0' (x64) .NET location: C:\hostedtoolcache\windows\dotnet The following frameworks were found: 11.0.0-rc.2.26504.105 at [C:\hostedtoolcache\windows\dotnet\shared\Microsoft.NETCore.App] The following frameworks for other architectures were found: x86 6.0.47 at [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App] 8.0.32 at [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App] 9.0.21 at [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App] Learn more: https://aka.ms/dotnet/app-launch-failed Make two changes: 1. Update the `MSTest.Sdk`-using projects to build with `$(TargetFramework)`=net11.0, as we're building with the .NET 11 SDK. 2. Update `stage-build-packages.yml` to instead use `dotnet run` instead of hardcoding the path to execute.
CI fails in **Linux_Tests_02 > VFS Framework Assembly Load Test**, and **Linux_Tests > Raytracer UI Tests Net5 (SWA)**: Tool 'dotnet-serve' (version '1.10.175') was successfully installed. Starting HTTP server... Starting server, serving . Unexpected error: System.IO.IOException: Failed to bind to address http://127.0.0.1:8000: address already in use. ---> Microsoft.AspNetCore.Connections.AddressInUseException: Address already in use ---> System.Net.Sockets.SocketException (98): Address already in use at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName) at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.Bind(EndPoint localEP) at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint) at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind() --- End of inner exception stack trace --- at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind() at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass28_0`1.<StartAsync>g__OnBind|0(ListenOptions options, CancellationToken onBindCancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken) --- End of inner exception stack trace --- at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.LocalhostListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.EndpointsStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken) at Microsoft.AspNetCore.Hosting.WebHost.StartAsync(CancellationToken cancellationToken) at McMaster.DotNet.Serve.SimpleServer.RunAsync(CancellationToken cancellationToken) in D:\a\dotnet-serve\dotnet-serve\src\dotnet-serve\SimpleServer.cs:line 113 at McMaster.DotNet.Serve.Program.<>c__DisplayClass1_0.<<Run>b__0>d.MoveNext() in D:\a\dotnet-serve\dotnet-serve\src\dotnet-serve\Program.cs:line 38 --- End of stack trace from previous location --- at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken) at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args) at McMaster.DotNet.Serve.Program.Run(String[] args) in D:\a\dotnet-serve\dotnet-serve\src\dotnet-serve\Program.cs:line 41 Apparently port 8000 is already in use. Port 8000 is already in use because a previous step started `dotnet serve` and never caused it to exit. Specfically `test-memory-profiler-export.sh`, which runs two steps before `test-vfs-assembly-load.sh`. This triggers a "semantic" review: every Bash script which runs `dotnet serve` *also* has a `cleanup()` function which *looks like* it's trying to cause `dotnet serve` to exit: # test-webworker.sh cleanup() { if [ -n "$SERVER_PID" ]; then kill "$SERVER_PID" 2>/dev/null || true fi } trap cleanup EXIT # test-vfs-assembly-load.sh cleanup() { kill %% 2>/dev/null || true } trap cleanup EXIT # run-tests-csp.sh cleanup() { kill %% } trap cleanup 0 What appears to have happened is that `dotnet serve` process semantics have changed. Previously -- presumably when these scripts were written -- `dotnet serve` was The Process, so `kill %%` or `kill $SERVER_PID` would cause `dotnet serve` to exit. *Now*, `dotnet serve` *forks off* `dotnet-serve`! % (cd src/Uno.Wasm.Tests.VfsAssemblyLoad.App/bin/Release/net10.0/publish ; PATH=/Users/jon/Developer/src/unoplatform/Uno.Wasm.Bootstrap/build/tools:$PATH ; dotnet serve -p 8000 -c -b & echo pid=$! ) pid=72537 % pstree … \-+- 72537 jon dotnet serve -p 8000 -c -b \--- 72538 jon …/Uno.Wasm.Bootstrap/build/tools/dotnet-serve -p 8000 -c -b When we kill `dotnet serve` pid 72537 -- which is what the various `kill %%` or `kill "$SERVER_PID"` commands try to do -- we *don't* kill `dotnet-serve`! % kill 72537 % ps aux | grep dotnet.serve … jon 72538 0.0 0.1 518534688 90320 s011 SN 3:22PM 0:00.13 …/Uno.Wasm.Bootstrap/build/tools/dotnet-serve -p 8000 -c -b which means *nothing causes `dotnet-serve` to exit*! Which entirely explains why port 8000 is still in use. Review shell scripts (`.sh` files) which use `dotnet serve`, and update their `cleanup()` functions to *also* perform: pkill dotnet-serve This causes `dotnet-serve` to exit, which should "free" port 8000, thus preventing the originating `IOException`.
Context: 735be39 Context: dccf2cc **Build Tests > Linux_Tests > StaticLinking.Aot Tests net5** is failing *because we're running out of disk space*: … npm error code 1 npm error path /__w/1/s/src/Uno.Wasm.StaticLinking.Aot.UITests/node_modules/puppeteer npm error command failed npm error command sh -c node install.js npm error ERROR: Failed to set up Chromium r1002410! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download. npm error [Error: ENOSPC: no space left on device, write] { npm error errno: -28, npm error code: 'ENOSPC', npm error syscall: 'write' npm error } npm error A complete log of this run can be found in: /home/runner_azpcontainer/.npm/_logs/2026-10-28T20_41_26_247Z-debug-0.log ENOSPC is *not* a good sign. We turn to the **Cleanup unused host dependencies** step, which shows: Disk space after cleanup: Filesystem Size Used Avail Use% Mounted on overlay 72G 60G 13G 84% / 13GB free is *not* encouraging. However, we're not sure what else can be removed. Then we see that we're installing .NET *twice*, via: * Use .NET SDK * Setup .NET (Linux/macOS) WHy are we installing .NET twice? We don't know. It was seemingly added in commit 735be39, which *removed* `UseDotNet@2` use, but when `UseDotNet@2` was reintroduced in dccf2cc, only Windows dropped use of "Setup .NET (Windows)". We're guessing this was an oversight? *Hopefully* not installing two .NET SDKs will provide enough free space for the tests to pass…
jonpryor
force-pushed
the
dev/jonpryor/jonp-bump-version-11.1
branch
from
October 29, 2026 01:22
3b5f973 to
698fe63
Compare
agneszitte
approved these changes
Oct 29, 2026
This was referenced Oct 29, 2026
This was referenced Oct 29, 2026
agneszitte
added a commit
to unoplatform/uno
that referenced
this pull request
Oct 29, 2026
Uno.Wasm.Bootstrap now has a .NET 11 line: main moved to 11.1-dev in unoplatform/Uno.Wasm.Bootstrap#1121. - src/Uno.Sdk/packages.json: pin net11.0 to 11.1.0-dev.5, its first build, instead of the .NET 10 line's 10.1.0-dev.260, and move net10.0 to 10.1.0-dev.284, the last .NET 10 dev build from Bootstrap main. - src/Directory.Packages.props: SamplesApp's WASM head targets $(NetCurrent) (net11.0), so build it with 11.1.0-dev.5 too. Related to unoplatform/uno-private#2304. Co-Authored-By: Claude Opus 5.5 <[email protected]>
agneszitte
added a commit
to unoplatform/uno.templates
that referenced
this pull request
Oct 29, 2026
Uno.Wasm.Bootstrap now has a .NET 11 line: main moved to 11.1-dev in unoplatform/Uno.Wasm.Bootstrap#1121. - Pin net11.0 to 11.1.0-dev.5, its first build, instead of the .NET 10 line's 10.1.0-dev.282, and move net10.0 to 10.1.0-dev.284, the last .NET 10 dev build from Bootstrap main (packages.json, ReadMe.md, Uno.Sdk.Updater.targets). - Point the ReadMe version note at .NET 11.0. It has always named the newest .NET (.NET 9.0, then .NET 10.0 since #1752); for Uno 7.0 the main version is .NET 10. Updated in the updater's ReadMe template too. Related to unoplatform/uno-private#2304. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
GitHub Issue: closes #
PR Type:
What is the current behavior? 🤔
What is the new behavior? 🚀
PR Checklist ✅
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Runresults.Other information ℹ️