Skip to content

fix: ignore modules with (devel) versions #2401

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RonFed
Copy link
Contributor

@RonFed RonFed commented Jun 2, 2025

resolves #2388
see #2388 (comment)

@RonFed RonFed marked this pull request as ready for review June 2, 2025 17:47
@RonFed RonFed requested a review from a team as a code owner June 2, 2025 17:47
@@ -137,6 +137,9 @@ func findModules(goVer *semver.Version, deps []*debug.Module) (map[string]*semve
var err error
out := make(map[string]*semver.Version, len(deps)+1)
for _, dep := range deps {
if strings.Contains(dep.Version, "(devel)") {
continue
Copy link
Contributor Author

Choose a reason for hiding this comment

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

add a warning log here

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.

failed to create instrumentation
1 participant