Skip to content

Switch to upstream patches for roslyn-analyzers - #1902

Merged
dagood merged 1 commit into
dotnet:masterfrom
omajid:roslyn-analyzer-upstream-patches
Nov 24, 2020
Merged

dagood merged 1 commit into
dotnet:masterfrom
omajid:roslyn-analyzer-upstream-patches

Conversation

@omajid

@omajid omajid commented Nov 20, 2020 •

Copy link
Copy Markdown
Member

This reduces the size/complexity of the "WIP for source-build" patch by adding individual patches that were merged into roslyn-analyzers:

As part of that, it replaces an Exec-dotnet with MSBuild call, which should fix the build flakiness with GenerateAnalyzerNuspec.deps.json.

Fixes: #1900

@omajid omajid changed the title Switch to upstream patches for roslyn-analyzers WIP: Switch to upstream patches for roslyn-analyzers Nov 20, 2020
@omajid

omajid commented Nov 20, 2020

Copy link
Copy Markdown
Member Author

This does not fix the glitches completely on Windows :(

@dagood

dagood commented Nov 20, 2020

Copy link
Copy Markdown
Member

This does not fix the glitches completely on Windows :(

Well... source-build doesn't build on Windows, so in theory this is fine for us. 😄 (And the changes seem reasonable to me.)

@omajid

omajid commented Nov 20, 2020

Copy link
Copy Markdown
Member Author

I will try and rebase this to include dotnet/roslyn-analyzers#4448 as well

@dagood

dagood commented Nov 24, 2020 •

Copy link
Copy Markdown
Member

Do you think that merging this as-is solve the flakiness? I just hit it again in #1915. With CI green, fixes to be inclusive to Windows not affecting source-build at all, and rebasing forcing CI to run all again (and potentially not succeed due to some new problem), it seems like we should take the current opportunity and work on deeper fixes later.

@omajid

omajid commented Nov 24, 2020

Copy link
Copy Markdown
Member Author

Sorry, the final PR upstream was merged too. Let me rebase this PR and we should be good to go from my side. (And if that still doesn't solve the flakiness, then I am all out of ideas).

@dagood

dagood commented Nov 24, 2020

Copy link
Copy Markdown
Member

Cool, thanks. (And yeah, one CI respin for the rebase on the completely finished version of this seems fine. 👍)

This reduces the size/complexity of the "WIP for source-build" patch
by adding individual patches that were merged into roslyn-analyzers:

- dotnet/roslyn-analyzers#4419
- dotnet/roslyn-analyzers#4436

As part of that, it replaces an Exec-dotnet with MSBuild call, which
should fix the build flakiness with GenerateAnalyzerNuspec.deps.json.

Fixes: dotnet#1900
@omajid
omajid force-pushed the roslyn-analyzer-upstream-patches branch from 45b9a8b to cd28508 Compare November 24, 2020 02:47
@omajid omajid changed the title WIP: Switch to upstream patches for roslyn-analyzers Switch to upstream patches for roslyn-analyzers Nov 24, 2020
@omajid

omajid commented Nov 24, 2020

Copy link
Copy Markdown
Member Author

@dagood please feel free to merge if this looks okay to you.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants