Improve file blob upload diagnostics#32305
Merged
copyberry[bot] merged 1 commit intoJul 11, 2026
Merged
Conversation
## Why Blob upload failures previously surfaced the full signed upload URL and offered limited information for diagnosing transport and service errors. ## What changed - Add a unique `x-ms-client-request-id` to each blob upload. - Report transport failures with the upload host, elapsed time, error category, and client request ID, while stripping the signed URL from the underlying error. - Report unsuccessful responses with Azure request and error IDs, and emit structured warning events with upload metadata and available Azure and Cloudflare identifiers. ## Testing - Verify successful uploads include the client request ID header. - Verify response and transport errors expose diagnostic fields without leaking signed URL parameters or response bodies. GitOrigin-RevId: 9ae2cb2a9aacec4df237b3ee79a6467a6b9107e7
4a69ebe to
08ba14b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Improve file blob upload diagnostics
Why
Blob upload failures previously surfaced the full signed upload URL and offered limited information for diagnosing transport and service errors.
What changed
x-ms-client-request-idto each blob upload.Testing