dotnet / dotnet/performance

Unable to run performance tests against SDK version that is earlier than in global.json

Open
#4,355 2 comments 1 reaction 1 assignee Assigned to @Copilot View on GitHub
Dominant language
F#
Stars
773
Forks
301
Avg merge
6d 9h
Merged PRs (30d)
15

Description

We get the version of the SDK to use for our MAUI scenarios runs using https://maui.blob.core.windows.net/metadata/sdks/net9.0.json.
At the time of this issue, the SDK version that this JSON reports is `9.0.100-preview.5.24304.3` but the version of the SDK that we have in our global.json is `9.0.100-preview.5.24307.3`. Because this version is earlier, when we install the MAUI SDK locally with the dotnet install script, it gets ignored. This surfaces in our build pipeline when we try to extract the "Base Path" from the output of `dotnet --info`, but that information is missing from the command output. An example failure can be seen here: [link](https://dev.azure.com/dnceng/internal/_build/results?buildId=2505772&view=logs&j=efa3ffcd-91e9-5b69-9db7-650958b3131c&t=a8256860-4034-53ca-011f-a8f8522e1a84)

I am not sure what the right solution here is, whether it is just that whenever we get a PR from maestro to change the SDK version that we need to wait for the MAUI version to be updated first, or if there is a safer long term solution that means we don't need to worry about checking for that.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.