Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move Roslyn.sln to newer analyzers (with Dispose rules disabled) #25891

Merged
merged 5 commits into from
Apr 3, 2018

Conversation

mavasani
Copy link
Contributor

@mavasani mavasani commented Apr 2, 2018

Ask Mode template not completed

Customer scenario

What does the customer do to get into this situation, and why do we think this
is common enough to address for this release. (Granted, sometimes this will be
obvious "Open project, VS crashes" but in general, I need to understand how
common a scenario is)

Bugs this fixes

(either VSO or GitHub links)

Workarounds, if any

Also, why we think they are insufficient for RC vs. RC2, RC3, or RTW

Risk

This is generally a measure our how central the affected code is to adjacent
scenarios and thus how likely your fix is to destabilize a broader area of code

Performance impact

(with a brief justification for that assessment (e.g. "Low perf impact because no extra allocations/no complexity changes" vs. "Low")

Is this a regression from a previous update?

Root cause analysis

How did we miss it? What tests are we adding to guard against it in the future?

How was the bug found?

(E.g. customer reported it vs. ad hoc testing)

Test documentation updated?

If this is a new non-compiler feature or a significant improvement to an existing feature, update https://github.com/dotnet/roslyn/wiki/Manual-Testing once you know which release it is targeting.

@mavasani mavasani added the PR For Personal Review Only The PR doesn’t require anyone other than the developer to review it. label Apr 2, 2018
@mavasani mavasani requested review from a team as code owners April 2, 2018 21:13
<MicrosoftNetCoreILAsmVersion>2.0.0</MicrosoftNetCoreILAsmVersion>
<MicrosoftNETCoreCompilersVersion>2.8.0-beta2-62712-07</MicrosoftNETCoreCompilersVersion>
<MicrosoftNETCoreCompilersVersion>2.7.0-beta3-62720-08</MicrosoftNETCoreCompilersVersion>
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are we downgrading these packages?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jmarolf I have tried lot of different versions of this package, including 2.8.X version, on a separate PR (#25179), but none of them seem to work. I tried the latest 2.7 version as Jason recommended trying it out, but that did not work either. I have reverted the downgrade to see if it works now. At this point, I am happy to put any version of this package that unblocks this PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

I would like to understand the dependencies here. @jaredpar what is MicrosoftNETCoreCompilersVersion and why is it different from MicrosoftNetCompilersVersion?

@mavasani mavasani requested a review from a team as a code owner April 2, 2018 22:20
@mavasani mavasani removed the PR For Personal Review Only The PR doesn’t require anyone other than the developer to review it. label Apr 2, 2018
@mavasani
Copy link
Contributor Author

mavasani commented Apr 2, 2018

@dotnet/roslyn-compiler Please review. This PR is needed to unblock @DustinCampbell's MSBuild work: #21670

@mavasani
Copy link
Contributor Author

mavasani commented Apr 2, 2018

@dotnet-bot retest windows_debug_unit32_prtest please

// Reason: Flaky test failure tracked with #25898

@mavasani
Copy link
Contributor Author

mavasani commented Apr 2, 2018

@dotnet-bot retest windows_debug_unit32_prtest please

Copy link
Member

@jcouv jcouv left a comment

Choose a reason for hiding this comment

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

LGTM

@mavasani
Copy link
Contributor Author

mavasani commented Apr 2, 2018

@dotnet/roslyn-infrastructure Integration tests are not running, is this known?

@jaredpar
Copy link
Member

jaredpar commented Apr 2, 2018

CLA appears to be stuck again too. 😦

@jasonmalinowski
Copy link
Member

I guess this is your run?

https://ci.dot.net/job/dotnet_roslyn/job/master/job/windows_debug_vs-integration_prtest/247/

Maybe we're hitting some generic token limit which is why all sorts of stuff isn't being reported?

Copy link
Member

@jaredpar jaredpar left a comment

Choose a reason for hiding this comment

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

Left minor feedback.

@@ -11,6 +11,7 @@
<DefaultLanguage>en-US</DefaultLanguage>
<TargetFrameworks>$(RoslynPortableTargetFrameworks46)</TargetFrameworks>
<DisableImplicitFrameworkReferences>false</DisableImplicitFrameworkReferences>
<NoWarn>$(NoWarn);CA1819</NoWarn> <!-- CA1819 (Properties should not return arrays) disabled as it is very common across this project. -->
Copy link
Member

Choose a reason for hiding this comment

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

Nit: Please put the comment above property. That's the general style we use in build files.

@sharwell
Copy link
Member

sharwell commented Apr 3, 2018

I guess this is your run?

https://ci.dot.net/job/dotnet_roslyn/job/master/job/windows_debug_vs-integration_prtest/247/

💭 I disabled that test in 3c001e3

@jaredpar
Copy link
Member

jaredpar commented Apr 3, 2018

Maybe we're hitting some generic token limit which is why all sorts of stuff isn't being reported?

CLA status check also went flaky around this time. Together that does sound like a GitHub token limit.

@@ -5,6 +5,8 @@
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;

#pragma warning disable CA1819 // CA1819: Properties should not return arrays
Copy link
Member

Choose a reason for hiding this comment

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

Not sure if we should have some special case for build tasks -- this is a very common pattern there.

@DustinCampbell
Copy link
Member

:shipit:

@mavasani mavasani merged commit 15d066d into dotnet:master Apr 3, 2018
@mavasani mavasani deleted the NewAnalyzers branch April 3, 2018 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants