-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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 "is final document state" from compilation trackers. #72045
Conversation
@jasonmalinowski this is ready for review. |
@jasonmalinowski @ToddGrun ptal. |
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.
Merging in. But would still like a review from @jasonmalinowski . |
@@ -732,14 +731,15 @@ async Task<InProgressState> CollapseInProgressStateAsync(InProgressState initial | |||
|
|||
// We will finalize the compilation by adding full contents here. | |||
var (compilationWithGeneratedDocuments, generatedDocuments, generatorDriver) = await AddExistingOrComputeNewGeneratorInfoAsync( | |||
isFrozen, | |||
compilationState, | |||
compilationWithoutGeneratedDocuments, | |||
generatorInfo, | |||
staleCompilationWithGeneratedDocuments, | |||
cancellationToken).ConfigureAwait(false); | |||
|
|||
// After producing the sg documents, we must always be in the final state for the generator data. |
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.
Comment is stale (kinda).
This looked good @CyrusNajmabadi. |
Idea made by @jasonmalinowski in prior prs. Followup to #72021