Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

impl: prevent logging options from being overwritten #15090

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

Merged
merged 2 commits into from
Apr 16, 2025

Conversation

scotthart
Copy link
Member

@scotthart scotthart commented Apr 15, 2025

When trying to specify a LoggingComponent option for logging the auth rpc flow, I discovered that the value I provided was being overwritten with the default values. This makes debugging hard. Adjusting the options flow to preserve user specified values for logging.


This change is Reviewable

@scotthart scotthart requested a review from a team as a code owner April 15, 2025 21:59
Copy link

codecov bot commented Apr 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.87%. Comparing base (3498e58) to head (e257e34).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #15090      +/-   ##
==========================================
+ Coverage   92.86%   92.87%   +0.01%     
==========================================
  Files        2356     2356              
  Lines      210713   210761      +48     
==========================================
+ Hits       195675   195747      +72     
+ Misses      15038    15014      -24     

☔ View full report in Codecov by Sentry.
📢 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.

EXPECT_FALSE(auth_options.has<LoggingComponentsOption>());
}

TEST(MakeAuthOptions, WitLoggingComponents) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Typo: With

@scotthart scotthart merged commit d20961d into googleapis:main Apr 16, 2025
78 checks passed
devbww pushed a commit to devbww/google-cloud-cpp that referenced this pull request Apr 25, 2025
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.

2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.