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

[extension/auth] split into its own module #7883

Merged

Conversation

codeboten
Copy link
Contributor

Linked issue #7054

@codeboten codeboten requested review from a team and jpkrohling June 13, 2023 20:42
@codecov
Copy link

codecov bot commented Jun 13, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (13242c3) 91.14% compared to head (52bce16) 91.14%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7883   +/-   ##
=======================================
  Coverage   91.14%   91.14%           
=======================================
  Files         298      298           
  Lines       14912    14912           
=======================================
  Hits        13591    13591           
  Misses       1045     1045           
  Partials      276      276           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@codeboten codeboten force-pushed the codeboten/split-extension-auth branch from f2d21c5 to 479ff98 Compare June 14, 2023 18:41
@@ -53,6 +53,8 @@ replace go.opentelemetry.io/collector/exporter => ../../exporter

replace go.opentelemetry.io/collector/extension => ../

replace go.opentelemetry.io/collector/extension/auth => ../auth
Copy link
Member

Choose a reason for hiding this comment

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

Interesting, why does the ballast extension has a dependency on the auth package?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it does not... crosslink adds the replace in here automatically

Copy link
Contributor

Choose a reason for hiding this comment

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

Is there any chance that this is a transient dependency?

Copy link
Member

Choose a reason for hiding this comment

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

I removed the replace statement, ran the tests, and it worked without implying further changes to go.sum nor go.mod. Meaning: it's not a transitive dependency.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I did the same then CI failed because of the crosslink check 🤣

Linked issue open-telemetry#7054

Signed-off-by: Alex Boten <aboten@lightstep.com>
@codeboten codeboten force-pushed the codeboten/split-extension-auth branch from 479ff98 to 52bce16 Compare June 14, 2023 18:58
@codeboten codeboten merged commit 05d57d9 into open-telemetry:main Jun 14, 2023
@codeboten codeboten deleted the codeboten/split-extension-auth branch June 14, 2023 20:03
@github-actions github-actions bot added this to the next release milestone Jun 14, 2023
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.

3 participants