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

[receiverhelper] Split receiverhelper into a separate module #12512

Merged
merged 3 commits into from
Mar 4, 2025

Conversation

mx-psi
Copy link
Member

@mx-psi mx-psi commented Feb 27, 2025

Description

Splits receiverhelper into a separate module.

Link to tracking issue

Fixes #12514

@github-actions github-actions bot requested a review from dmathieu February 27, 2025 13:21
@mx-psi mx-psi force-pushed the mx-psi/split-the-helpers branch from 6f7b1c4 to 40e1c35 Compare February 27, 2025 13:21
@mx-psi mx-psi force-pushed the mx-psi/split-the-helpers branch from 40e1c35 to 71b46c7 Compare February 27, 2025 13:29
@mx-psi mx-psi mentioned this pull request Feb 27, 2025
9 tasks
Copy link

codecov bot commented Feb 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.19%. Comparing base (909a8bb) to head (fe980eb).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #12512   +/-   ##
=======================================
  Coverage   92.19%   92.19%           
=======================================
  Files         469      469           
  Lines       25327    25327           
=======================================
  Hits        23351    23351           
  Misses       1568     1568           
  Partials      408      408           

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

@mx-psi mx-psi marked this pull request as ready for review February 27, 2025 13:42
@mx-psi mx-psi requested a review from a team as a code owner February 27, 2025 13:42
@mx-psi mx-psi requested a review from jmacd February 27, 2025 13:42
@mx-psi mx-psi requested a review from codeboten February 27, 2025 16:28
github.com/json-iterator/go v1.1.12 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
github.com/rogpeppe/go-internal v1.13.1 // indirect
Copy link
Contributor

Choose a reason for hiding this comment

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

this seems like a weird change

Copy link
Member Author

Choose a reason for hiding this comment

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

There are a lot of modules on main that have this indirect dependency (e.g. pdata, connector, confignet, configtelemetry...), see for example

github.com/rogpeppe/go-internal v1.10.0 // indirect

I have not been able to figure out why we have this indirect dependency, but I think it's not because of a mistake, it's just what go mod tidy spews out

@mx-psi mx-psi enabled auto-merge March 4, 2025 17:10
@mx-psi mx-psi added this pull request to the merge queue Mar 4, 2025
auto-merge was automatically disabled March 4, 2025 17:55

Pull Request is not mergeable

Merged via the queue into open-telemetry:main with commit d1f0805 Mar 4, 2025
54 of 55 checks passed
@mx-psi mx-psi deleted the mx-psi/split-the-helpers branch March 4, 2025 18:15
Comment on lines +8 to +10
go.opentelemetry.io/collector/component/componenttest v0.120.0
go.opentelemetry.io/collector/pipeline v0.121.0
go.opentelemetry.io/collector/receiver v0.120.0
Copy link
Member

@songy23 songy23 Mar 4, 2025

Choose a reason for hiding this comment

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

Versions are incorrect. We probably need something like check-module-version in core collector to catch this

github-merge-queue bot pushed a commit that referenced this pull request Mar 24, 2025
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Split processorhelper into a separate module. Similar to #12512 in
motivation and shape

<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes #12678
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.

[receiverhelper] Split into a separate module
6 participants