Skip to content

Port #66241 to Dev17.5#66269

Merged
arunchndr merged 1 commit intodotnet:release/dev17.5from
CyrusNajmabadi:port66241
Jan 5, 2023
Merged

Port #66241 to Dev17.5#66269
arunchndr merged 1 commit intodotnet:release/dev17.5from
CyrusNajmabadi:port66241

Conversation

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor

Ports #66241 (Fix a couple of cases where feature options were not being hooked up.) to Dev17.5

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner January 5, 2023 18:18
@ghost ghost added the Area-IDE label Jan 5, 2023
@CyrusNajmabadi
Copy link
Copy Markdown
Contributor Author

@arkalyanms we should backport this fix to 17.5. This ensures that a few of our options are properly hooked up to VS' A/B feature testing system. We need this so we can run A/B tests on these in the 17.5 timeframe. If we don't do this, we'd effectively have to wait till 17.6 to test.

These options control a few low level workspace behaviors. By default, the behaviors stay the same, but this allows us to tweak the value for a small cohort and see if anything unexpected happens (like high crashes, or more memory being used).

If the A/B tests prove out that there are no ill effects, these let us greatly simplify the workspace by removing complexity that has turned out to not be relevant.

Assert.True(IsOptionValueType(type));

if (type == typeof(bool?))
return value is null ? true : null;
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

17.6 branch already handled this case, but the code in 17.6 has diverged greatly from 17.5 in these tests. so i just did a spot-change to make things work.

Assert.True(IsOptionValueType(type));

if (type == typeof(bool?))
return value is null ? true : null!;
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

17.6 branch already handled this case, but the code in 17.6 has diverged greatly from 17.5 in these tests. so i just did a spot-change to make things work.

@arunchndr arunchndr merged commit cc7f396 into dotnet:release/dev17.5 Jan 5, 2023
@CyrusNajmabadi CyrusNajmabadi deleted the port66241 branch January 6, 2023 16:14
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.

3 participants