-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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] Update additional modules to psuedo versions #11503
[chore] Update additional modules to psuedo versions #11503
Conversation
Why is this important and where? |
Running |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #11503 +/- ##
=======================================
Coverage 91.47% 91.47%
=======================================
Files 433 433
Lines 23616 23616
=======================================
Hits 21603 21603
Misses 1645 1645
Partials 368 368 ☔ View full report in Codecov by Sentry. |
After we do the release this is not a problem correct? So then why not doing the release? |
The first step in the releasing document says to run this to check for errors. You're right that this shouldn't be a problem after the release, but this is my first release, so I'm looking to play it safe and double-check before releasing core. |
I understand, but I am confused about changes to |
|
This shouldn't impact the version of the module that is obtained, but is technically a better psuedo-version number
…pendencies (#11509) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Say we have three modules, A, B, and C, with dependencies C->B->A. If we are on commit 1, and make a new commit, 2, where we change the dependencies such that the go.mod files read C@2->B@1->A@1, we will still get a failure, because at commit 1 we had not yet made the changes necessary to properly resolve these modules. Specifically, at commit 2 we have B@1->A@#, where A@# is not externally-resolvable. We therefore need to make a new commit 3, where we can have C@2->B@2->A@2, and at commit 2 all modules are externally-resolvable. This PR is a necessary update to #11503. When running `make update-otel` in contrib, I am seeing the following errors: ``` go: downloading go.opentelemetry.io/collector/connector/connectortest v0.0.0-20241021181817-007f06b7c4a8 go: go.opentelemetry.io/collector/pipeline/pipelineprofiles@v0.111.0: reading go.opentelemetry.io/collector/pipeline/pipelineprofiles/go.mod at revision pipeline/pipelineprofiles/v0.111.0: unknown revision pipeline/pipelineprofiles/v0.111.0 ``` connectortest has an indirect dependency on pipelineprofiles, and at commit `007f06b7c4a8` pipelineprofiles is versioned at v0.111.0. The latest commit, `403c782d50c6`, will version it at `007f06b7c4a8`. Since pipelineprofiles has no dependencies, this will not result in any issues.
…11503) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Convert additional modules to use pseudo-version numbers. In cases where the module already has a released version, upgrade to pseudo versions to prevent ambiguous import errors (e.g. processor and processortest).
…pendencies (open-telemetry#11509) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Say we have three modules, A, B, and C, with dependencies C->B->A. If we are on commit 1, and make a new commit, 2, where we change the dependencies such that the go.mod files read C@2->B@1->A@1, we will still get a failure, because at commit 1 we had not yet made the changes necessary to properly resolve these modules. Specifically, at commit 2 we have B@1->A@#, where A@# is not externally-resolvable. We therefore need to make a new commit 3, where we can have C@2->B@2->A@2, and at commit 2 all modules are externally-resolvable. This PR is a necessary update to open-telemetry#11503. When running `make update-otel` in contrib, I am seeing the following errors: ``` go: downloading go.opentelemetry.io/collector/connector/connectortest v0.0.0-20241021181817-007f06b7c4a8 go: go.opentelemetry.io/collector/pipeline/pipelineprofiles@v0.111.0: reading go.opentelemetry.io/collector/pipeline/pipelineprofiles/go.mod at revision pipeline/pipelineprofiles/v0.111.0: unknown revision pipeline/pipelineprofiles/v0.111.0 ``` connectortest has an indirect dependency on pipelineprofiles, and at commit `007f06b7c4a8` pipelineprofiles is versioned at v0.111.0. The latest commit, `403c782d50c6`, will version it at `007f06b7c4a8`. Since pipelineprofiles has no dependencies, this will not result in any issues.
…11503) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Convert additional modules to use pseudo-version numbers. In cases where the module already has a released version, upgrade to pseudo versions to prevent ambiguous import errors (e.g. processor and processortest).
…pendencies (open-telemetry#11509) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Say we have three modules, A, B, and C, with dependencies C->B->A. If we are on commit 1, and make a new commit, 2, where we change the dependencies such that the go.mod files read C@2->B@1->A@1, we will still get a failure, because at commit 1 we had not yet made the changes necessary to properly resolve these modules. Specifically, at commit 2 we have B@1->A@#, where A@# is not externally-resolvable. We therefore need to make a new commit 3, where we can have C@2->B@2->A@2, and at commit 2 all modules are externally-resolvable. This PR is a necessary update to open-telemetry#11503. When running `make update-otel` in contrib, I am seeing the following errors: ``` go: downloading go.opentelemetry.io/collector/connector/connectortest v0.0.0-20241021181817-007f06b7c4a8 go: go.opentelemetry.io/collector/pipeline/pipelineprofiles@v0.111.0: reading go.opentelemetry.io/collector/pipeline/pipelineprofiles/go.mod at revision pipeline/pipelineprofiles/v0.111.0: unknown revision pipeline/pipelineprofiles/v0.111.0 ``` connectortest has an indirect dependency on pipelineprofiles, and at commit `007f06b7c4a8` pipelineprofiles is versioned at v0.111.0. The latest commit, `403c782d50c6`, will version it at `007f06b7c4a8`. Since pipelineprofiles has no dependencies, this will not result in any issues.
Description
Convert additional modules to use pseudo-version numbers. In cases where the module already has a released version, upgrade to pseudo versions to prevent ambiguous import errors (e.g. processor and processortest).