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

Remove workspace option #72490

Merged
merged 1 commit into from
Mar 12, 2024
Merged

Conversation

CyrusNajmabadi
Copy link
Member

This option existed in case we discovered a major problem with OOP generation of SG docs and had to roll it back. So far we've had no problems, and hte new model ensures correctness between our hosts. So the option (And complexity around it) are being removed.

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner March 11, 2024 21:17
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Mar 11, 2024
@@ -90,21 +87,18 @@ internal class InProcOrRemoteHostAnalyzerRunner
public static async Task<ImmutableArray<Diagnostic>> GetSourceGeneratorDiagnosticsAsync(Project project, CancellationToken cancellationToken)
{
var options = project.Solution.Services.GetRequiredService<IWorkspaceConfigurationService>().Options;
if (!options.RunSourceGeneratorsInSameProcessOnly)
Copy link
Member Author

Choose a reason for hiding this comment

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

view with whitespace off.

// the contents.
Assert.Equal(syncWithRemoteServer, !gotException);
}
}
Copy link
Member Author

Choose a reason for hiding this comment

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

we had tests actually vvalidating that without this option that our host/oop get out of sync. since hte option is gone and both most be in sync, all the tests validate that.

@CyrusNajmabadi CyrusNajmabadi merged commit b0be498 into dotnet:main Mar 12, 2024
27 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Mar 12, 2024
@CyrusNajmabadi CyrusNajmabadi deleted the workspaceOption branch March 12, 2024 12:51
@RikkiGibson RikkiGibson modified the milestones: Next, 17.10 P3 Mar 25, 2024
@CyrusNajmabadi
Copy link
Member Author

@jasonmalinowski For review when you get back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants