-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Remove workspace option #72490
Conversation
@@ -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) |
There was a problem hiding this comment.
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); | ||
} | ||
} |
There was a problem hiding this comment.
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.
@jasonmalinowski For review when you get back. |
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.