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 the feature flag and change the default for open generated files #60976

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jasonmalinowski
Copy link
Member

No description provided.

@jasonmalinowski
Copy link
Member Author

Right now creating this to ensure no functional/performance regressions in divisional tests before we flip the feature flag. This will merge at some later point when we're comfortable with it.

@JoeRobich

This comment was marked as outdated.

@jasonmalinowski jasonmalinowski force-pushed the remove-feature-flag-for-generated-files branch 3 times, most recently from 5fff088 to f9f154e Compare December 6, 2022 01:32
@jasonmalinowski jasonmalinowski marked this pull request as ready for review December 6, 2022 20:26
@jasonmalinowski jasonmalinowski requested a review from a team as a code owner December 6, 2022 20:26
@jasonmalinowski
Copy link
Member Author

Internal validation run passed, so this is ready for review.

@CyrusNajmabadi
Copy link
Member

This def worries me. But i guess we have feature flag to roll back if this causes an issue?

new FeatureFlagStorageLocation("Roslyn.SourceGeneratorsEnableOpeningInWorkspace"));
public static readonly Option2<bool> EnableOpeningSourceGeneratedFilesInWorkspace = new(
"WorkspaceConfigurationOptions", "EnableOpeningSourceGeneratedFilesInWorkspace", defaultValue: true,
new RoamingProfileStorageLocation("TextEditor.Roslyn.Specific.EnableOpeningSourceGeneratedFilesInWorkspace"));
Copy link
Member

Choose a reason for hiding this comment

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

i don't see a feature-flag anymore. that def worries me if we're late in the game here. turning this on by default (when SGs have been a huge source of perf issues across the board for the IDE seems concerning to me).

@CyrusNajmabadi
Copy link
Member

Ok. So i'm fine flipping this on by default. But i'd say we should still have an available flag to disable thsi remotely if it turns out to be an issue.

@jasonmalinowski
Copy link
Member Author

@CyrusNajmabadi Actually in that case then I can just flip the existing feature flag on, and we can just merge this in 17.6.

@CyrusNajmabadi
Copy link
Member

That works for me.

@jasonmalinowski jasonmalinowski changed the base branch from main to release/dev17.6 December 9, 2022 20:13
@jasonmalinowski
Copy link
Member Author

This is being merged into 17.6, but the existing feature flag is being flipped for 17.5.

@Cosifne Cosifne changed the base branch from release/dev17.6 to main January 4, 2023 20:07
@Cosifne
Copy link
Member

Cosifne commented Jan 4, 2023

Target main since it is 17.6 now

@jasonmalinowski
Copy link
Member Author

@CyrusNajmabadi So we've had this feature flag rolled out to 100% of users for awhile with few reported issues so I'd like to merge this for 17.7; I don't see any reason to keep this feature flag around at this point.

@CyrusNajmabadi
Copy link
Member

Works for me!

For some reason we have a method that tests use to clear the cached
value if requisite options change. Rather than doing that we can
just clear it automatically; without this the option is also frozen
for the lifetime of the process.
@jasonmalinowski jasonmalinowski force-pushed the remove-feature-flag-for-generated-files branch from f9f154e to c259bc9 Compare July 21, 2023 23:29
@jasonmalinowski
Copy link
Member Author

@CyrusNajmabadi Ready for review then after resolving merge conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants