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

ReceiverLoop should stop on cancelling context #240

Merged
merged 4 commits into from
Jan 23, 2024

Conversation

srikanthccv
Copy link
Member

@srikanthccv srikanthccv commented Jan 13, 2024

Here is test run that shows it doesn't stop without fix https://github.com/open-telemetry/opamp-go/actions/runs/7512286887/job/20452817400

Fixes #239

Copy link

codecov bot commented Jan 13, 2024

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (c8cc40b) 72.50% compared to head (7f2797c) 72.57%.

Files Patch % Lines
client/internal/wsreceiver.go 92.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #240      +/-   ##
==========================================
+ Coverage   72.50%   72.57%   +0.07%     
==========================================
  Files          25       25              
  Lines        2022     2035      +13     
==========================================
+ Hits         1466     1477      +11     
- Misses        446      448       +2     
  Partials      110      110              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

client/internal/wsreceiver_test.go Show resolved Hide resolved
client/internal/wsreceiver.go Outdated Show resolved Hide resolved
client/internal/wsreceiver.go Show resolved Hide resolved
@tigrannajaryan tigrannajaryan merged commit a669c09 into open-telemetry:main Jan 23, 2024
6 checks passed
@srikanthccv srikanthccv deleted the issue-239 branch January 23, 2024 14:44
haoqixu pushed a commit to haoqixu/opamp-go that referenced this pull request Mar 7, 2024
haoqixu pushed a commit to haoqixu/opamp-go that referenced this pull request Mar 7, 2024
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.

ReceiverLoop doesn't stop on cancelling context
2 participants