Skip to content

Move to .NET 5 preview.1 - #12140

Merged
Travis Plunk (TravisEz13) merged 12 commits into
PowerShell:masterfrom
SteveL-MSFT:dotnet-5
Mar 19, 2020
Merged

Move to .NET 5 preview.1#12140
Travis Plunk (TravisEz13) merged 12 commits into
PowerShell:masterfrom
SteveL-MSFT:dotnet-5

Conversation

@SteveL-MSFT

@SteveL-MSFT Steve Lee (SteveL-MSFT) commented Mar 17, 2020

Copy link
Copy Markdown
Member

PR Summary

Updated associated build files to netcoreapp5.0 and ref assemblies to 5.0-preview.1 where applicable. Updated files.wxs to changes.

PR Checklist

Comment thread .devcontainer/Dockerfile
Comment thread .devcontainer/Dockerfile
Comment thread .devcontainer/Dockerfile
Comment thread .devcontainer/Dockerfile
Comment thread .devcontainer/Dockerfile
Comment thread .devcontainer/Dockerfile
Comment thread .devcontainer/Dockerfile
Comment thread .devcontainer/Dockerfile
Comment thread .devcontainer/Dockerfile
@SteveL-MSFT

Copy link
Copy Markdown
Member Author

It looks like there's an issue in .NET 5 preview1 where we set the main thread name and that somehow gets propagated as the process name on Linux (only) and so tests that check if it's pwsh ends up failing. I'll see about putting in some reasonable workarounds for now and add a pending test to verify the process name.

Comment thread .devcontainer/Dockerfile
Comment thread .devcontainer/Dockerfile

@TravisEz13 Travis Plunk (TravisEz13) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've looked at the changes so far

@TravisEz13 Travis Plunk (TravisEz13) added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Mar 17, 2020
Comment thread .devcontainer/Dockerfile
Comment thread .devcontainer/Dockerfile
@SteveL-MSFT

Copy link
Copy Markdown
Member Author

.NET 5 specifically has improvements to regex, so needed to increase the size of the DOS test

@SteveL-MSFT

Steve Lee (SteveL-MSFT) commented Mar 18, 2020

Copy link
Copy Markdown
Member Author

On Windows, pwsh is crashing in a native API call. Opened dotnet/runtime#33703

@danmoseley

Copy link
Copy Markdown

.NET 5 specifically has improvements to regex, so needed to increase the size of the DOS test

cc Stephen Toub (@stephentoub) 👏

@danmoseley

Copy link
Copy Markdown

It looks like there's an issue in .NET 5 preview1 where we set the main thread name and that somehow gets propagated as the process name on Linux (only)

Steve Lee (@SteveL-MSFT) is that a bug in .NET?

@SteveL-MSFT

Steve Lee (SteveL-MSFT) commented Mar 18, 2020

Copy link
Copy Markdown
Member Author

@danmosemsft The main thread name becoming the process name is a bug in .NET and is understood (dotnet/runtime#33673). That issue isn't blocking as it's currently only affecting tests and I made changes to work around it. The crashing issue (dotnet/runtime#33703) is preventing us from moving to .NET 5. Thanks!

@TravisEz13

Copy link
Copy Markdown
Member

There is already an issues filed for regex DOS tests: #12138

Comment thread .devcontainer/Dockerfile
Comment thread .devcontainer/Dockerfile
Remove assembly from startup validation
Comment thread .devcontainer/Dockerfile
@SteveL-MSFT

Copy link
Copy Markdown
Member Author

PoshChan-Bot (@PoshChan) retry macos

@PoshChan

Copy link
Copy Markdown
Collaborator

Steve Lee (@SteveL-MSFT), successfully started retry of PowerShell-CI-macOS

@ghost ghost added the Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept label Mar 19, 2020
@TravisEz13

Copy link
Copy Markdown
Member

.NET originally said that the perf improvement was due to optimization, but it's actually due to a bug. I filed an issue to add it back to avoid delaying this PR.
#12155

@stephentoub

Copy link
Copy Markdown
Contributor

.NET originally said that the perf improvement was due to optimization, but it's actually due to a bug

It's half and half :) The algorithmic complexity improved, in part due to perf improvements, and in part due to a bug fixed in Preview 2 (dotnet/runtime#33409).

@TravisEz13 Travis Plunk (TravisEz13) changed the title Move to .NET 5 preview.1 Move to .NET 5 preview.1 Mar 19, 2020
@TravisEz13
Travis Plunk (TravisEz13) merged commit 495dea0 into PowerShell:master Mar 19, 2020
@ghost

Copy link
Copy Markdown

🎉v7.1.0-preview.1 has been released which incorporates this pull request.:tada:

Handy links:

@SteveL-MSFT
Steve Lee (SteveL-MSFT) deleted the dotnet-5 branch June 6, 2020 02:32
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants