Uh oh!
There was an error while loading. Please reload this page.
Make Ubuntu runner not identify as WSL2 - #14440
Conversation
🚀 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" |
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.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
🎬 CLI E2E Test RecordingsThe following terminal recordings are available for commit
📹 Recordings uploaded automatically from CI run #21890216925 |
Uh oh!
There was an error while loading. Please reload this page.
* 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
…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>
* 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
Description
Ensure our Ubuntu runner doesn't try to exercise a broken WSL code path in
dotnet dev-certs https --trust.