Move to `.NET 5 preview.1` by SteveL-MSFT · Pull Request #12140 · PowerShell/PowerShell · GitHub
Skip to content

Move to .NET 5 preview.1#12140

Merged
TravisEz13 merged 12 commits intoPowerShell:masterfrom
SteveL-MSFT:dotnet-5
Mar 19, 2020
Merged

Move to .NET 5 preview.1#12140
TravisEz13 merged 12 commits intoPowerShell:masterfrom
SteveL-MSFT:dotnet-5

Conversation

@SteveL-MSFT
Copy link
Copy Markdown
Member

@SteveL-MSFT SteveL-MSFT commented Mar 17, 2020

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

Comment thread .devcontainer/Dockerfile
Comment thread .devcontainer/Dockerfile
Copy link
Copy Markdown
Member

@TravisEz13 TravisEz13 left a comment

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 TravisEz13 added this to the 7.1.0-preview.1 milestone Mar 17, 2020
@TravisEz13 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
Copy link
Copy Markdown
Member Author

SteveL-MSFT commented Mar 18, 2020

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 @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)

@SteveL-MSFT is that a bug in .NET?

@SteveL-MSFT
Copy link
Copy Markdown
Member Author

SteveL-MSFT commented Mar 18, 2020

@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 retry macos

@PoshChan
Copy link
Copy Markdown
Collaborator

@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 TravisEz13 changed the title Move to .NET 5 preview.1 Move to .NET 5 preview.1 Mar 19, 2020
@TravisEz13 TravisEz13 merged commit 495dea0 into PowerShell:master Mar 19, 2020
@ghost
Copy link
Copy Markdown

ghost commented Mar 26, 2020

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