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

[builder] remove ambigious import codepath #10015

Merged

Conversation

codeboten
Copy link
Contributor

This code was added to handled an ambiguous import caused by a dependency that has been updated since v0.98.0.

This code was added to handled an ambiguous import caused by a dependency that has been updated since v0.98.0.

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Copy link

codecov bot commented Apr 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.55%. Comparing base (ae83654) to head (d0e54e3).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10015      +/-   ##
==========================================
+ Coverage   91.54%   91.55%   +0.01%     
==========================================
  Files         360      360              
  Lines       16695    16693       -2     
==========================================
  Hits        15284    15284              
+ Misses       1074     1073       -1     
+ Partials      337      336       -1     

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

@codeboten codeboten marked this pull request as ready for review April 23, 2024 16:06
@codeboten codeboten requested a review from a team as a code owner April 23, 2024 16:06
@codeboten codeboten requested a review from mx-psi April 23, 2024 16:06
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
@@ -137,7 +137,7 @@ func TestVersioning(t *testing.T) {
cfg.Distribution.Go = "go"
cfg.Exporters = []Module{
{
GoMod: "go.opentelemetry.io/collector/exporter/otlpexporter v0.96.0",
GoMod: "go.opentelemetry.io/collector/exporter/otlpexporter v0.97.0",
Copy link
Member

Choose a reason for hiding this comment

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

Why do we need to update these?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

previous versions relied on the ambiguous import

Copy link
Member

Choose a reason for hiding this comment

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

So... previous versions now fail to build? Sorry, I don't get it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry I wasn't really clear. Yes previous versions of the components (ones that import the problematic dependency) continue to raise an ambiguous import error unless they're updated.

@mx-psi mx-psi merged commit 326ef7c into open-telemetry:main Apr 24, 2024
48 checks passed
@github-actions github-actions bot added this to the next release milestone Apr 24, 2024
@codeboten codeboten deleted the codeboten/remove-ambiguous-import-code branch April 24, 2024 14:01
andrzej-stencel pushed a commit to andrzej-stencel/opentelemetry-collector that referenced this pull request May 27, 2024
This code was added to handled an ambiguous import caused by a
dependency that has been updated since v0.98.0.

---------

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
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.

None yet

2 participants