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

Use updated patched azure SDK crates #10036

Merged
merged 3 commits into from
Dec 9, 2024
Merged

Use updated patched azure SDK crates #10036

merged 3 commits into from
Dec 9, 2024

Conversation

arpad-m
Copy link
Member

@arpad-m arpad-m commented Dec 6, 2024

For a while already, we've been unable to update the Azure SDK crates due to Azure adopting use of a non-tokio async runtime, see #7545.

The effort to upstream the fix got stalled, and I think it's better to switch to a patched version of the SDK that is up to date.

Now we have a fork of the SDK under the neondatabase github org, to which I have applied Conrad's rebased patches to: https://github.com/neondatabase/azure-sdk-for-rust/tree/neon .

The existence of a fork will also help with shipping bulk delete support before it's upstreamed (#7931).

Also, in related news, the Azure SDK has gotten a rift in development, where the main branch pertains to a future, to-be-officially-blessed release of the SDK, and the older versions, which we are currently using, are on the legacy branch. Upstream doesn't really want patches for the legacy branch any more, they want to focus on the main efforts. However, even then, the legacy branch is still newer than what we are having right now, so let's switch to legacy for now.

Depending on how long it takes, we can switch to the official version of the SDK once it's released or switch to the upstream main branch if there is changes we want before that.

As a nice side effect of this PR, we now use reqwest 0.12 everywhere, dropping the dependency on version 0.11.

Fixes #7545

@arpad-m arpad-m requested a review from a team as a code owner December 6, 2024 12:00
Copy link

github-actions bot commented Dec 6, 2024

7040 tests run: 6731 passed, 0 failed, 309 skipped (full report)


Flaky tests (5)

Postgres 17

Postgres 16

Postgres 15

Postgres 14

Code coverage* (full report)

  • functions: 31.4% (8329 of 26508 functions)
  • lines: 47.8% (65512 of 137122 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
1920b6e at 2024-12-06T15:00:10.171Z :recycle:

Copy link
Contributor

@VladLazar VladLazar left a comment

Choose a reason for hiding this comment

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

Makes sense to me. Please make sure you've built consensus with the rest of the storage team on forking (maybe there was a Slack thread I missed).

@arpad-m
Copy link
Member Author

arpad-m commented Dec 9, 2024

@arpad-m arpad-m added this pull request to the merge queue Dec 9, 2024
Merged via the queue into main with commit e74e7aa Dec 9, 2024
82 checks passed
@arpad-m arpad-m deleted the arpad/update_azure_sdk branch December 9, 2024 15:50
@arpad-m arpad-m mentioned this pull request Dec 9, 2024
5 tasks
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.

Update azure_* crates to 0.20
3 participants