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][graph] Remove connectorNode's separate baseConsumer #11333

Merged

Conversation

djaglowski
Copy link
Member

@djaglowski djaglowski commented Oct 2, 2024

Follows #11330

Currently, connectorNode contains separate component.Component and baseConsumer fields. These fields are essentially two representations of the same component, but baseConsumer may be wrapped in another consumer that inherits capabilities. Rather than maintain two separate handles, this PR switches to a unified field. I believe this change helps normalize the connector node with other types of consumer nodes and will enable further refactoring opportunities.

Copy link

codecov bot commented Oct 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.01%. Comparing base (623986c) to head (4332126).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11333      +/-   ##
==========================================
+ Coverage   91.91%   92.01%   +0.10%     
==========================================
  Files         430      430              
  Lines       20342    20306      -36     
==========================================
- Hits        18697    18685      -12     
+ Misses       1271     1259      -12     
+ Partials      374      362      -12     

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

@djaglowski djaglowski force-pushed the connector-node-unify-component branch 2 times, most recently from ea7269e to 1aac88d Compare October 2, 2024 17:36
@djaglowski djaglowski marked this pull request as ready for review October 2, 2024 18:07
@djaglowski djaglowski requested a review from a team as a code owner October 2, 2024 18:07
service/internal/graph/connector.go Outdated Show resolved Hide resolved
@djaglowski djaglowski force-pushed the connector-node-unify-component branch from 1aac88d to 4332126 Compare October 9, 2024 13:13
@djaglowski djaglowski added the ready-to-merge Code review completed; ready to merge by maintainers label Oct 9, 2024
@bogdandrutu bogdandrutu merged commit 151f837 into open-telemetry:main Oct 9, 2024
66 checks passed
@github-actions github-actions bot added this to the next release milestone Oct 9, 2024
@djaglowski djaglowski deleted the connector-node-unify-component branch October 9, 2024 19:58
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants