Skip to content

Feature band fallback with workload update#24678

Merged
gkulin merged 19 commits into
dotnet:release/6.0.4xxfrom
gkulin:featureBandFallbackWithWorkloadUpdate
May 17, 2022
Merged

Feature band fallback with workload update#24678
gkulin merged 19 commits into
dotnet:release/6.0.4xxfrom
gkulin:featureBandFallbackWithWorkloadUpdate

Conversation

@gkulin

@gkulin gkulin commented Apr 1, 2022

Copy link
Copy Markdown
Contributor

fixes #23403

@ghost ghost added the Area-Workloads label Apr 1, 2022
@gkulin gkulin changed the base branch from release/6.0.3xx to release/6.0.4xx April 19, 2022 01:12
Comment thread src/Tests/dotnet-workload-install.Tests/GivenWorkloadManifestUpdater.cs Outdated
Comment thread src/Cli/dotnet/commands/dotnet-workload/install/WorkloadManifestUpdater.cs Outdated
@gkulin gkulin marked this pull request as ready for review May 12, 2022 20:46
@gkulin gkulin requested review from a team, dsplaisted and joeloff and removed request for a team May 12, 2022 20:47
Comment thread src/Cli/dotnet/commands/dotnet-workload/install/WorkloadManifestUpdater.cs Outdated
packInstaller.InstalledManifests[0].manifestUpdate.ManifestId.Should().Be(manifestsToUpdate[0].manifestUpdate.ManifestId);
packInstaller.InstalledManifests[0].manifestUpdate.NewVersion.Should().Be(manifestsToUpdate[0].manifestUpdate.NewVersion);
packInstaller.InstalledManifests[0].manifestUpdate.NewFeatureBand.Should().Be(manifestsToUpdate[0].manifestUpdate.NewFeatureBand);
packInstaller.InstalledManifests[0].manifestUpdate.ExistingVersion.Should().Be(manifestsToUpdate[0].manifestUpdate.ExistingVersion);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Question: Before the change, were these values not set, or did they have different values?

@gkulin gkulin May 13, 2022

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

These values were introduced in this PR from Daniel: #24630
If I remember correctly, Daniel asked me to add these checks because his change was made after the PR where I originally wrote this test

Comment thread src/Cli/dotnet/commands/dotnet-workload/install/WorkloadManifestUpdater.cs Outdated
Comment thread src/Cli/dotnet/commands/dotnet-workload/install/WorkloadManifestUpdater.cs Outdated
Comment thread src/Tests/dotnet-workload-install.Tests/MockNuGetPackageInstaller.cs Outdated
Comment thread src/Cli/dotnet/commands/dotnet-workload/install/WorkloadManifestUpdater.cs Outdated
@gkulin gkulin merged commit cfca449 into dotnet:release/6.0.4xx May 17, 2022
@gkulin gkulin deleted the featureBandFallbackWithWorkloadUpdate branch May 17, 2022 18:35
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.

3 participants