Skip to content

CI: fix collector test#1347

Merged
christos68k merged 1 commit into
open-telemetry:mainfrom
florianl:collector-tests
Apr 13, 2026
Merged

CI: fix collector test#1347
christos68k merged 1 commit into
open-telemetry:mainfrom
florianl:collector-tests

Conversation

@florianl
Copy link
Copy Markdown
Member

internal/tools/go.mod depends on the root go.mod indirectly because of go.opentelemetry.io/collector/cmd/builder and
go.opentelemetry.io/collector/cmd/mdatagen.
When replacing the collector dependency with the most recent main, this conflicts.

To resolve this issue, also add a replace statement in internal/tools/go.mod and also run go mod tidy on it. This should fix the failing tests in https://github.com/open-telemetry/opentelemetry-ebpf-profiler/actions/workflows/collector-tests.yml.

internal/tools/go.mod depends on the root go.mod indirectly because of
go.opentelemetry.io/collector/cmd/builder and
go.opentelemetry.io/collector/cmd/mdatagen.
When replacing the collector dependency with the most recent main, this
conflicts.

To resolve this issue, also add a replace statement in internal/tools/go.mod and
also run go mod tidy on it.

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
@florianl florianl requested review from a team as code owners April 13, 2026 06:26
@christos68k christos68k merged commit 395cc52 into open-telemetry:main Apr 13, 2026
31 checks passed
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