Skip to content

fix(storage): Use append_object_spec in EnrichSpan for ResumeAppendableUpload - #16296

Merged
bajajneha27 merged 1 commit into
googleapis:mainfrom
bajajneha27:509338299-fix
Jul 31, 2026
Merged

fix(storage): Use append_object_spec in EnrichSpan for ResumeAppendableUpload#16296
bajajneha27 merged 1 commit into
googleapis:mainfrom
bajajneha27:509338299-fix

Conversation

@bajajneha27

Copy link
Copy Markdown
Contributor

No description provided.

… name from append_object_spec rather than write_object_spec
@product-auto-label product-auto-label Bot added the api: storage Issues related to the Cloud Storage API. label Jul 30, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request updates the ResumeAppendableObjectUpload method in AsyncConnectionTracing to extract the bucket name from p.request.append_object_spec().bucket() instead of p.request.write_object_spec().resource().bucket(). Additionally, the corresponding unit test ResumeAppendableObjectUploadSuccess is updated to initialize and pass a BidiWriteObjectRequest with the append object spec bucket configured. There are no review comments, so I have no feedback to provide.

@bajajneha27
bajajneha27 marked this pull request as ready for review July 30, 2026 10:17
@bajajneha27
bajajneha27 requested review from a team as code owners July 30, 2026 10:17
@codecov

codecov Bot commented Jul 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.30%. Comparing base (d799c3f) to head (7cee581).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #16296      +/-   ##
==========================================
- Coverage   92.31%   92.30%   -0.01%     
==========================================
  Files        2223     2223              
  Lines      208086   208087       +1     
==========================================
- Hits       192086   192084       -2     
- Misses      16000    16003       +3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bajajneha27 bajajneha27 changed the title fix(storage): EnrichSpan in ResumeAppendableUpload should have bucket name from append_object_spec rather than write_object_spec fix(storage): Use append_object_spec in EnrichSpan for ResumeAppendableUpload Jul 30, 2026
@bajajneha27
bajajneha27 merged commit 842dfb2 into googleapis:main Jul 31, 2026
63 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the Cloud Storage API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants