Skip to content

Conversation

@BrennanConroy
Copy link
Member

No description provided.

@BrennanConroy BrennanConroy requested review from a team and wtgodbe as code owners August 3, 2023 15:33
@ghost ghost added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Aug 3, 2023
@ghost
Copy link

ghost commented Aug 3, 2023

Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at.

@BrennanConroy
Copy link
Member Author

BrennanConroy commented Aug 3, 2023

@sharwell Could you explain what a non-local diagnostic is and why this test is failing with that error?

public async Task MismatchedOptionalityInSeparateSource_CanBeFixed()

Edit: I might understand. We're looking at the consuming code and creating a diagnostic for another file where the type is defined. Should we just set CodeFixTestBehaviors when testing across multiple files?

@BrennanConroy BrennanConroy merged commit 9427854 into main Aug 4, 2023
@BrennanConroy BrennanConroy deleted the BrennanConroy-patch-1 branch August 4, 2023 02:33
@ghost ghost added this to the 8.0-rc1 milestone Aug 4, 2023
NumberOfFixAllIterations = expectedIterations,
CodeActionEquivalenceKey = codeActionEquivalenceKey
CodeActionEquivalenceKey = codeActionEquivalenceKey,
CodeFixTestBehaviors = CodeFixTestBehaviors.SkipLocalDiagnosticCheck,
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ This should ideally be applied to specific tests which are impacted by the change. Tests which require this flag represent broken product behavior, and if the value is set for the entire test project there is no way to know what/if anything works.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep, filed #49856, please continue discussion there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants