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 "is final document state" from compilation trackers. #72045

Merged
merged 4 commits into from
Feb 14, 2024

Conversation

CyrusNajmabadi
Copy link
Member

Idea made by @jasonmalinowski in prior prs. Followup to #72021

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner February 10, 2024 23:58
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Feb 10, 2024
@CyrusNajmabadi
Copy link
Member Author

@jasonmalinowski this is ready for review.

@CyrusNajmabadi
Copy link
Member Author

@jasonmalinowski @ToddGrun ptal.

Copy link
Contributor

@ToddGrun ToddGrun left a comment

Choose a reason for hiding this comment

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

:shipit:

@CyrusNajmabadi
Copy link
Member Author

Merging in. But would still like a review from @jasonmalinowski .

@CyrusNajmabadi CyrusNajmabadi merged commit 1c8a866 into dotnet:main Feb 14, 2024
27 checks passed
@CyrusNajmabadi CyrusNajmabadi deleted the removeFinalState branch February 14, 2024 18:04
@ghost ghost added this to the Next milestone Feb 14, 2024
@@ -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.
Copy link
Member

Choose a reason for hiding this comment

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

Comment is stale (kinda).

@jasonmalinowski
Copy link
Member

This looked good @CyrusNajmabadi.

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