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

[6.0-rc2] Fix Fluent APIs on keys in model snapshot #26058

Merged
merged 1 commit into from
Sep 16, 2021

Conversation

roji
Copy link
Member

@roji roji commented Sep 16, 2021

Fixes #26045

Description

Invalid migrations snapshot generated for key Fluent APIs

Customer Impact

Generated migrations which contain Fluent API configurations for keys (e.g. clustered) do not compile. Discovered by customer on RC1.

How found

User report: #26045 trying RC1

Test coverage

Added as part of this PR

Regression?

Yes, introduced as part of recent improvements to migration code generation.

Risk

Low, the issue is simple, the fix is well-understood, and the area is relatively well-covered.

Also generate Fluent API for IsMemoryOptimized.

@Pilchie @dotnet/efteam - This fixes a bug reported on rc1, and needs to go into rc2.

@roji roji requested a review from a team September 16, 2021 05:50
@roji roji changed the base branch from release/6.0 to release/6.0-rc2 September 16, 2021 05:50
Also generate Fluent API for IsMemoryOptimized.

Fixes #26045
@ajcvickers
Copy link
Member

@roji Please fill out the servicing template above.

@roji
Copy link
Member Author

roji commented Sep 16, 2021

@ajcvickers done

@roji
Copy link
Member Author

roji commented Sep 16, 2021

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ajcvickers
Copy link
Member

@roji Helix is broken again. I ran this PR locally and everything passed.

@roji
Copy link
Member Author

roji commented Sep 16, 2021

@ajcvickers oh ok, thanks. Do I need to wait for approval from outside the team or can we still merge as usual?

@ajcvickers
Copy link
Member

@roji I believe we need Steve's approval. @Pilchie can confirm.

Assuming so, I will send the Tactics email.

@ajcvickers ajcvickers changed the title Fix Fluent APIs on keys in model snapshot [6.0-rc2] Fix Fluent APIs on keys in model snapshot Sep 16, 2021
@ajcvickers ajcvickers added this to the 6.0.0-rc2 milestone Sep 16, 2021
@ajcvickers
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Pilchie
Copy link
Member

Pilchie commented Sep 16, 2021

We're close enough to the RC2 snap that I'll approve merging this.

@roji roji merged commit 22906cd into release/6.0-rc2 Sep 16, 2021
@roji roji deleted the roji/KeyFluentAPIs branch September 16, 2021 16:50
@smitpatel smitpatel removed this from the 6.0.0-rc2 milestone Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[RC1] Invalid migrations snapshot generated for key Fluent APIs
5 participants