Skip to content

[ci] update semconv deepguard rule to allow v1.39.0#45452

Merged
songy23 merged 1 commit into
open-telemetry:mainfrom
paulojmdias:ci/semconv_deepguard
Jan 16, 2026
Merged

[ci] update semconv deepguard rule to allow v1.39.0#45452
songy23 merged 1 commit into
open-telemetry:mainfrom
paulojmdias:ci/semconv_deepguard

Conversation

@paulojmdias
Copy link
Copy Markdown
Member

Description

Allow usage of the latest semantic conventions package version v1.39.0

Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
@paulojmdias paulojmdias requested a review from a team as a code owner January 16, 2026 11:48
@paulojmdias paulojmdias requested a review from mx-psi January 16, 2026 11:48
@paulojmdias paulojmdias added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Jan 16, 2026
@paulojmdias paulojmdias requested a review from codeboten January 16, 2026 11:49
@paulojmdias paulojmdias added the ci-cd CI, CD, testing, build issues label Jan 16, 2026
Copy link
Copy Markdown
Member

@mx-psi mx-psi left a comment

Choose a reason for hiding this comment

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

Would it be possible to bump the v1.38.0 usages to v1.39.0 and ban v1.38.0?

@paulojmdias
Copy link
Copy Markdown
Member Author

Would it be possible to bump the v1.38.0 usages to v1.39.0 and ban v1.38.0?

Yes, I'll open a PR and link it to this one 👍

@songy23 songy23 merged commit 7e336d4 into open-telemetry:main Jan 16, 2026
221 of 222 checks passed
@github-actions github-actions Bot added this to the next release milestone Jan 16, 2026
@paulojmdias paulojmdias deleted the ci/semconv_deepguard branch January 16, 2026 14:58
@paulojmdias
Copy link
Copy Markdown
Member Author

Are there some breaking changes around at least RPC and Messaging, which could affect some components, I'll check, but probably I'll open some issues to track some possible breaking changes. So, maybe shouldn't be quick to remove the v1.38.0 support.

internal/coreinternal/goldendataset/generator_commons.go:1: : # github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/goldendataset [github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/goldendataset.test]
goldendataset/span_generator.go:320:36: undefined: conventions.RPCServiceKey
goldendataset/span_generator.go:327:36: undefined: conventions.RPCServiceKey
goldendataset/span_generator.go:354:36: undefined: conventions.PeerServiceKey (typecheck)
// Copyright The OpenTelemetry Authors
make: *** [lint] Error 1

@ChrsMark
Copy link
Copy Markdown
Member

Thank's @paulojmdias . I also hit some issues at #45447 (comment).

@paulojmdias
Copy link
Copy Markdown
Member Author

Thank's @paulojmdias . I also hit some issues at #45447 (comment).

Same here while I'm trying evaluate the bumps.

connector/exceptionsconnector/connector_logs_test.go:11:2: could not import go.opentelemetry.io/collector/component/componenttest (/Users/user/go/pkg/mod/go.opentelemetry.io/collector/component/componenttest@v0.143.1-0.20260115162016-5e41fb551263/telemetry.go:11:12: could not import go.opentelemetry.io/otel/sdk/metric (/Users/user/go/pkg/mod/go.opentelemetry.io/otel/sdk/metric@v1.39.0/config.go:14:2: could not import go.opentelemetry.io/otel (/Users/user/go/pkg/mod/go.opentelemetry.io/otel@v1.39.1-0.20260115134311-f809f7d71e2d/handler.go:7:2: could not import go.opentelemetry.io/otel/internal/global (-: # go.opentelemetry.io/otel/internal/global
/Users/user/go/pkg/mod/go.opentelemetry.io/otel@v1.39.1-0.20260115134311-f809f7d71e2d/internal/global/instruments.go:234:38: ctr.(metric.Float64Counter).Enabled undefined (type metric.Float64Counter has no field or method Enabled)
/Users/user/go/pkg/mod/go.opentelemetry.io/otel@v1.39.1-0.20260115134311-f809f7d71e2d/internal/global/instruments.go:267:44: ctr.(metric.Float64UpDownCounter).Enabled undefined (type metric.Float64UpDownCounter has no field or method Enabled)
/Users/user/go/pkg/mod/go.opentelemetry.io/otel@v1.39.1-0.20260115134311-f809f7d71e2d/internal/global/instruments.go:300:40: ctr.(metric.Float64Histogram).Enabled undefined (type metric.Float64Histogram has no field or method Enabled)
/Users/user/go/pkg/mod/go.opentelemetry.io/otel@v1.39.1-0.20260115134311-f809f7d71e2d/internal/global/instruments.go:333:36: ctr.(metric.Float64Gauge).Enabled undefined (type metric.Float64Gauge has no field or method Enabled)
/Users/user/go/pkg/mod/go.opentelemetry.io/otel@v1.39.1-0.20260115134311-f809f7d71e2d/internal/global/instruments.go:366:36: ctr.(metric.Int64Counter).Enabled undefined (type metric.Int64Counter has no field or method Enabled)
/Users/user/go/pkg/mod/go.opentelemetry.io/otel@v1.39.1-0.20260115134311-f809f7d71e2d/internal/global/instruments.go:399:42: ctr.(metric.Int64UpDownCounter).Enabled undefined (type metric.Int64UpDownCounter has no field or method Enabled)
/Users/user/go/pkg/mod/go.opentelemetry.io/otel@v1.39.1-0.20260115134311-f809f7d71e2d/internal/global/instruments.go:432:38: ctr.(metric.Int64Histogram).Enabled undefined (type metric.Int64Histogram has no field or method Enabled)
/Users/user/go/pkg/mod/go.opentelemetry.io/otel@v1.39.1-0.20260115134311-f809f7d71e2d/internal/global/instruments.go:465:34: ctr.(metric.Int64Gauge).Enabled undefined (type metric.Int64Gauge has no field or method Enabled))))) (typecheck)
	"go.opentelemetry.io/collector/component/componenttest"
	^
make: *** [lint] Error 1

aknuds1 pushed a commit to aknuds1/opentelemetry-collector-contrib that referenced this pull request Jan 20, 2026
…5452)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Allow usage of the latest semantic conventions package version v1.39.0

Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-cd CI, CD, testing, build issues Skip Changelog PRs that do not require a CHANGELOG.md entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants