Skip to content

Conversation

@NikolaMilosavljevic
Copy link
Member

Fixes: dotnet/source-build#3224 and dotnet/source-build#3440

Last two remaining poisons were due to razor pulling in one runtime and one aspnetcore package from previously source-built archive. Reordering razor to build after both runtime and aspnetcore was sufficient.

This fix includes a required patch for razor to enable PVP flow to update System.Collections.Immutable package version. Here's razor PR for this: dotnet/razor#8817

Additionally, this PR enables source-build to fail in case any new poisons appear in the future.

@NikolaMilosavljevic NikolaMilosavljevic requested a review from a team as a code owner June 8, 2023 18:55
PoisonReportOutputFilePath="$(PoisonUsageReportFile)"
NonShippingPackagesListFiles="@(NonShippingPackagesList)" />
NonShippingPackagesListFiles="@(NonShippingPackagesList)"
FailOnPoisonFound="true" />
Copy link
Member

Choose a reason for hiding this comment

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

With the introduction of this, it seems like we can remove the PoisonTests and the associated baseline file.

Copy link
Member Author

Choose a reason for hiding this comment

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

Great idea - will update the PR after local verification.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed with 73495fe

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.

[Poison] Investigate Microsoft.NET.Sdk.Razor/source-generators related leaks

4 participants