Skip to content

feat(sidekick/rust): generate rust code for discovery LROs error extraction#5861

Closed
haphungw wants to merge 1 commit into
googleapis:mainfrom
haphungw:staging-discovery-lro-error
Closed

feat(sidekick/rust): generate rust code for discovery LROs error extraction#5861
haphungw wants to merge 1 commit into
googleapis:mainfrom
haphungw:staging-discovery-lro-error

Conversation

@haphungw

@haphungw haphungw commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Stage the generated code from googleapis/librarian#6304

@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 refactors the tracing implementation across numerous generated service clients. It replaces direct thread-local access of POLL_ATTEMPT_COUNT with the google_cloud_lro::record_polling_attributes! macro to record long-running operation (LRO) polling attributes on spans. Additionally, it updates the check for active LRO recording to use google_cloud_lro::LroRecorder::current().is_some(). I have no feedback to provide.

@codecov

codecov Bot commented Jun 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.89%. Comparing base (fa3df1b) to head (6013088).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5861      +/-   ##
==========================================
- Coverage   97.89%   97.89%   -0.01%     
==========================================
  Files         226      226              
  Lines       57808    57808              
==========================================
- Hits        56592    56591       -1     
- Misses       1216     1217       +1     

☔ 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.

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.

1 participant