Skip to content

Remove StreamClientInterceptor #7126

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

adambl06
Copy link

@adambl06 adambl06 commented Apr 2, 2025

I removed the deprecated code related the deprecated function StreamClientInterceptor.
Side note: serverChecks in interceptor_test.go was not deleted on this branch as used in UnaryServerInterceptor that is cleaned in #7106.

Closes #7105

@adambl06 adambl06 requested review from dashpole and a team as code owners April 2, 2025 17:49
Copy link

linux-foundation-easycla bot commented Apr 2, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: MrAlias / name: Tyler Yahn (ba5753f, 3cc571d)
  • ✅ login: adambl06 / name: Adam Ben Ltaifa (1a665ba)

@adambl06
Copy link
Author

adambl06 commented Apr 2, 2025

@MrAlias I have signed the EasyCLA as you instructed me. I assume i have to wait for your validation.

Copy link

codecov bot commented Apr 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.6%. Comparing base (2b0f9ab) to head (ba5753f).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##            main   #7126     +/-   ##
=======================================
- Coverage   80.7%   80.6%   -0.1%     
=======================================
  Files        205     205             
  Lines      18083   17977    -106     
=======================================
- Hits       14601   14505     -96     
+ Misses      3062    3057      -5     
+ Partials     420     415      -5     
Files with missing lines Coverage Δ
...ion/google.golang.org/grpc/otelgrpc/interceptor.go 86.2% <ø> (-0.3%) ⬇️

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@adambl06 adambl06 force-pushed the fix/issue-7105 branch 3 times, most recently from 3c39ff0 to fa6ad66 Compare April 2, 2025 18:35
Copy link
Contributor

@MrAlias MrAlias 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 the contribution. This looks good overall. Only feedback is on the changelog entry and a minor nit about the comment. Thanks again.

assert.Equal(t, codes.Error, span.Status().Code)
}

// serverChecks can't be removed in #7105. Should be removed when issue #7106 is fixed.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// serverChecks can't be removed in #7105. Should be removed when issue #7106 is fixed.
// TODO: Remove when issue #7106 is fixed.

Copy link
Member

Choose a reason for hiding this comment

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

#7106 has been fixed, since it's closed. Should serverChecks be removed?

@MrAlias MrAlias changed the title Code related to the deprecated function StreamClientInterceptor removed Remove StreamClientInterceptor Apr 8, 2025
@MrAlias MrAlias added this to the v1.36.0 milestone Apr 11, 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.

Remove the deprecated StreamClientInterceptor function from otelgrpc
3 participants