Skip to content
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

[chore][extension/opampextension] Enable goleak check #31175

Merged
merged 5 commits into from
Mar 1, 2024

Conversation

crobert-1
Copy link
Member

Description:

This enables the goleak check for the opamp extension, to help ensure it's not leaking any goroutines. This is a test only change, a Shutdown call was missing.

Link to tracking Issue:
#30438

Testing:
All existing tests are passing, as well as the added goleak check

@crobert-1 crobert-1 requested a review from a team February 9, 2024 23:35
@crobert-1 crobert-1 changed the title [extension/opampextension] Enable goleak check [chore][extension/opampextension] Enable goleak check Feb 10, 2024
@crobert-1 crobert-1 added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Feb 10, 2024
@tigrannajaryan
Copy link
Member

It would also great to enable this on https://github.com/open-telemetry/opamp-go

Copy link
Contributor

@evan-bradley evan-bradley left a comment

Choose a reason for hiding this comment

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

Thanks for adding this. Looks like there are some conflicts with main, can you rebase?

@crobert-1
Copy link
Member Author

Thanks for adding this. Looks like there are some conflicts with main, can you rebase?

Apologies for the delay, I've rebased. 👍

@crobert-1
Copy link
Member Author

Failures are due to #31493 and #31443.

@atoulme
Copy link
Contributor

atoulme commented Mar 1, 2024

approved as codeowner and approver. This is ready for merge.

@atoulme atoulme added the ready to merge Code review completed; ready to merge by maintainers label Mar 1, 2024
@songy23 songy23 removed the exporter/datadog Datadog components label Mar 1, 2024
@mx-psi mx-psi merged commit 78581d3 into open-telemetry:main Mar 1, 2024
141 of 142 checks passed
@github-actions github-actions bot added this to the next release milestone Mar 1, 2024
XinRanZhAWS pushed a commit to XinRanZhAWS/opentelemetry-collector-contrib that referenced this pull request Mar 13, 2024
…#31175)

**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
This enables the `goleak` check for the opamp extension, to help ensure
it's not leaking any goroutines. This is a test only change, a
`Shutdown` call was missing.

**Link to tracking Issue:** <Issue number if applicable>
open-telemetry#30438

**Testing:** <Describe what testing was performed and which tests were
added.>
All existing tests are passing, as well as the added `goleak` check

---------

Co-authored-by: Antoine Toulme <antoine@lunar-ocean.com>
Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension/opamp ready to merge Code review completed; ready to merge by maintainers Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants