-
Notifications
You must be signed in to change notification settings - Fork 3k
[chore][cmd/opampsupervisor] Ensure context.Context
is propagated
#42353
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
evan-bradley
merged 16 commits into
open-telemetry:main
from
evan-bradley:supervisor-windows-test
Sep 5, 2025
+131
−81
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
da1e792
[chore] Disable failing E2E test on Windows
evan-bradley 4db1256
Use recommended goleak test idenitifcation
evan-bradley 403095a
Revert "Use recommended goleak test idenitifcation"
evan-bradley 2886a62
Alternate goleak test identification method
evan-bradley 0d9ffda
Try t.Cleanup
evan-bradley 90a9eed
Use shared context.Context; other attempts
evan-bradley ddee2a5
Test circumventing DNS lookup
evan-bradley 1a4f36c
cleanup -> defer
evan-bradley 96dd22e
Try to not skip bootstrap test
evan-bradley c5b19c4
Fix up tests
evan-bradley 85ad6c6
Move context to the start method
evan-bradley 6481830
Delay SDK creation to starting the Supervisor
evan-bradley ada311b
Move around telemetry initialization again
evan-bradley 59cf872
Cleanup
evan-bradley ffb8f3d
Merge branch 'main' into supervisor-windows-test
evan-bradley 3a1e3c7
Remove one more testing change
evan-bradley File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is one key fix: the DNS lookup for an unknown host name apparently cannot be cancelled, and therefore was producing the leaking goroutine. I couldn't figure out how to fix that issue (and it likely shouldn't be a problem when running the Supervisor as a process), so instead I opted to just avoid it.