Make Ubuntu runner not identify as WSL2#14440
Merged
Conversation
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 14440Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 14440" |
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the CI reusable test workflow to alter the environment for the Linux “Trust HTTPS development certificate” step, aiming to avoid .NET treating the runner like WSL2 and/or failing certificate trust.
Changes:
- Sets
WSL_INTEROP(empty) for thedotnet dev-certs https --truststep onubuntu-latest.
eerhardt
reviewed
Feb 11, 2026
Contributor
🎬 CLI E2E Test RecordingsThe following terminal recordings are available for commit
📹 Recordings uploaded automatically from CI run #21890216925 |
JamesNK
pushed a commit
that referenced
this pull request
Feb 25, 2026
* Try making dotnet not identify github as WSL2, ignore trust error * Skip on error * Remove continue-on-error since workaround was successful * Allow exit code 4 * Add comment explaining workaround
joperezr
added a commit
that referenced
this pull request
Feb 26, 2026
…or change (#14698) * Fix template version parsing for .NET 10.0 SDK separator change (#14285) * Initial plan * Fix template version parsing to support @ separator for .NET 10.0 SDK Co-authored-by: JamesNK <303201+JamesNK@users.noreply.github.com> * Refactor into parameterized test using Theory and InlineData Co-authored-by: JamesNK <303201+JamesNK@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: JamesNK <303201+JamesNK@users.noreply.github.com> * Fix * Update pinned SDK version to 10.0.102 (#13936) * Initial plan * Update SDK version from 10.0.101 to 10.0.102 Co-authored-by: danegsta <50252651+danegsta@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: danegsta <50252651+danegsta@users.noreply.github.com> * Apply suggestions from code review * Make Ubuntu runner not identify as WSL2 (#14440) * Try making dotnet not identify github as WSL2, ignore trust error * Skip on error * Remove continue-on-error since workaround was successful * Allow exit code 4 * Add comment explaining workaround --------- Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: JamesNK <303201+JamesNK@users.noreply.github.com> Co-authored-by: danegsta <50252651+danegsta@users.noreply.github.com> Co-authored-by: Jose Perez Rodriguez <joperezr@microsoft.com>
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.
Description
Ensure our Ubuntu runner doesn't try to exercise a broken WSL code path in
dotnet dev-certs https --trust.