Skip to content

[Storage] Regenerate azure_storage_blob against feature branch + set_metadata properly authored#3862

Merged
vincenttran-msft merged 8 commits intoAzure:mainfrom
vincenttran-msft:vincenttran/metadata_finale
Mar 10, 2026
Merged

[Storage] Regenerate azure_storage_blob against feature branch + set_metadata properly authored#3862
vincenttran-msft merged 8 commits intoAzure:mainfrom
vincenttran-msft:vincenttran/metadata_finale

Conversation

@vincenttran-msft
Copy link
Copy Markdown
Member

@vincenttran-msft vincenttran-msft commented Mar 5, 2026

@github-actions github-actions bot added Event Hubs Storage Storage Service (Queues, Blobs, Files) labels Mar 5, 2026
@vincenttran-msft vincenttran-msft marked this pull request as ready for review March 5, 2026 20:00
Copilot AI review requested due to automatic review settings March 5, 2026 20:00
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Regenerates azure_storage_blob from the referenced azure-rest-api-specs commit and updates conditional request option types to use the strongly-typed Etag, including fixing call sites that set metadata / conditional headers.

Changes:

  • Updated the tsp-location.yaml pinned spec commit for azure_storage_blob.
  • Converted conditional option fields (e.g., if_match, if_none_match) from Option<String> to Option<Etag> and updated usages/tests accordingly.
  • Documented the breaking API changes in sdk/storage/azure_storage_blob/CHANGELOG.md.

Reviewed changes

Copilot reviewed 6 out of 12 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
sdk/storage/azure_storage_blob/tsp-location.yaml Updates the pinned swagger/spec commit used for generation.
sdk/storage/azure_storage_blob/tests/blob_client_options.rs Adjusts tests to pass Etag directly into conditional options.
sdk/storage/azure_storage_blob/src/models/method_options.rs Changes conditional option field types to Option<Etag>.
sdk/storage/azure_storage_blob/src/clients/blob_client.rs Updates conditional header value to use Etag (*) when overwrite is false.
sdk/storage/azure_storage_blob/CHANGELOG.md Adds breaking-change notes for the Etag-typed conditional fields and other renames.
sdk/eventhubs/azure_messaging_eventhubs_checkpointstore_blob/src/checkpoint_store.rs Updates metadata and upload options to use Etag instead of string conversions.

@vincenttran-msft vincenttran-msft enabled auto-merge (squash) March 9, 2026 23:47
@vincenttran-msft vincenttran-msft merged commit 553d974 into Azure:main Mar 10, 2026
18 checks passed
@vincenttran-msft vincenttran-msft deleted the vincenttran/metadata_finale branch March 10, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Event Hubs Storage Storage Service (Queues, Blobs, Files)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants