Skip to content

Conversation

@jackgopack4
Copy link
Contributor

… EnforcementPolicy to configoptional

Description

converts configgrpc.KeepaliveServerConfig.ServerParameters and configgrpc.KeepaliveServerConfig.EnforcementPolicy from pointers to configoptional type

Link to tracking issue

Fixes #13250 and follow-up to missed code in #13252

Testing

existing unit/ci tests

Documentation

update chloggen from #13252

@jackgopack4 jackgopack4 requested a review from a team as a code owner July 9, 2025 15:32
@codecov
Copy link

codecov bot commented Jul 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.50%. Comparing base (91ec67d) to head (d0341ff).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13364      +/-   ##
==========================================
- Coverage   91.53%   91.50%   -0.03%     
==========================================
  Files         528      528              
  Lines       29469    29467       -2     
==========================================
- Hits        26974    26964      -10     
- Misses       1969     1975       +6     
- Partials      526      528       +2     

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

@jackgopack4
Copy link
Contributor Author

once merged, will open a PR on contrib to fix references highlighted in failing contrib-tests

Copy link
Contributor

@jade-guiton-dd jade-guiton-dd left a comment

Choose a reason for hiding this comment

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

Looks good to me, just a small nitpick

@jade-guiton-dd jade-guiton-dd added the ready-to-merge Code review completed; ready to merge by maintainers label Jul 10, 2025
@jackgopack4 jackgopack4 force-pushed the jackgopack4/configgrpc-add-configoptional-keepaliveconfigs branch from 3f2d307 to d0341ff Compare July 14, 2025 15:38
@mx-psi mx-psi added this pull request to the merge queue Jul 15, 2025
Merged via the queue into open-telemetry:main with commit 9551370 Jul 15, 2025
54 of 56 checks passed
@mx-psi mx-psi deleted the jackgopack4/configgrpc-add-configoptional-keepaliveconfigs branch July 15, 2025 14:41
mx-psi pushed a commit to open-telemetry/opentelemetry-collector-contrib that referenced this pull request Jul 16, 2025
Signed-off-by: otelbot
<[email protected]><!--Ex. Fixing a bug -
Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Convert tests/modules using `configgrpc.Keepalive` parameters to
configoptional
<!-- Issue number (e.g. #1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Required due to
open-telemetry/opentelemetry-collector#13364

<!--Describe what testing was performed and which tests were added.-->
#### Testing
existing unit/e2e/integration tests
<!--Describe the documentation added.-->
#### Documentation
none, no change to users or api in this repo
<!--Please delete paragraphs that you did not use before submitting.-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Code review completed; ready to merge by maintainers receiver/otlp

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[configgrpc] Implement configoptional.Optional for optional fields

3 participants