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

[INTERNAL] Build: Fixes warnings in encryption project #4756

Merged
merged 7 commits into from
Oct 9, 2024

Conversation

kirankumarkolli
Copy link
Member

[INTERNAL] Build: Fix warnings in encryption project

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

All good!

@kirankumarkolli kirankumarkolli changed the title [INTERNAL] Build: Fix warnings in encryption project [INTERNAL] Build: Fixes warnings in encryption project Oct 6, 2024
@JanHyka
Copy link
Contributor

JanHyka commented Oct 6, 2024

nit: seeing 'mdesrc' it looks like quite old copy of mde library... it might be worth considering just refencing at least 1.2.0 and getting rid of this copy, now that we have release versions.

@kirankumarkolli kirankumarkolli marked this pull request as ready for review October 7, 2024 15:21
@kirankumarkolli
Copy link
Member Author

nit: seeing 'mdesrc' it looks like quite old copy of mde library... it might be worth considering just refencing at least 1.2.0 and getting rid of this copy, now that we have release versions.

Part of our PR its upgraded to 2.0.0-pre007 right?

@JanHyka
Copy link
Contributor

JanHyka commented Oct 7, 2024

nit: seeing 'mdesrc' it looks like quite old copy of mde library... it might be worth considering just refencing at least 1.2.0 and getting rid of this copy, now that we have release versions.

Part of our PR its upgraded to 2.0.0-pre007 right?

With 1.2.0 stable release you should have out of box improvements both on encryption algorithm as well as sql serializers, with no code changes on Cosmos.Encryption itself. However while switching from this mdesrc copy to real mde, I'd suggest benchmark before/after.

2.0.0 is on -pre until we can deploy it together with new Cosmos.Encryption.Custom -preview and validate everything works as intended. Even though we went hardcore with MDE2.0 testing (100% line/branch/mutation coverage) having partner service validation is still worth it. Also except few small cases 2.0.0 brings improvements purely via non-allocation api, there are almost no direct compute improvements, so upgrading to that compared to 1.2.0 without additional code changes in Cosmos.Encryption won't bring you much extra.

Copy link
Contributor

@philipthomas-MSFT philipthomas-MSFT left a comment

Choose a reason for hiding this comment

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

LGTM

@kirankumarkolli kirankumarkolli enabled auto-merge (squash) October 8, 2024 19:22
@kirankumarkolli kirankumarkolli merged commit 24c2ce1 into master Oct 9, 2024
23 checks passed
@kirankumarkolli kirankumarkolli deleted the users/kirankk/encryption_build_errors branch October 9, 2024 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants