Skip to content

Conversation

@trask
Copy link
Member

@trask trask commented Oct 9, 2024

I think this warning that mentions repo.maven.apache.org may be what's triggering (one of) the current S360 violations:

Task :agent:instrumentation:applicationinsights-web-2.3:compileTestJava FROM-CACHE
Resource missing. [HTTP GET: https://repo.maven.apache.org/maven2/io/opentelemetry/instrumentation/opentelemetry-instrumentation-annotations/1.42.1/opentelemetry-instrumentation-annotations-1.42.1.pom]

compileOnly("com.microsoft.azure:applicationinsights-web:2.3.0")

testImplementation("io.opentelemetry.instrumentation:opentelemetry-instrumentation-annotations:$otelVersion")
testImplementation("io.opentelemetry.instrumentation:opentelemetry-instrumentation-annotations:$otelInstrumentationVersion")
Copy link
Contributor

Choose a reason for hiding this comment

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

can you put a note saying when it's moved from sdk to otelInstrumentation?

Copy link
Member Author

Choose a reason for hiding this comment

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

can you put a note saying when it's moved from sdk to otelInstrumentation?

I didn't follow this comment, can you clarify? thanks

Copy link
Contributor

Choose a reason for hiding this comment

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

this has been there for 2 years. I just want to know when it was moved to a different artifact and put a comment there.

Copy link
Member Author

Choose a reason for hiding this comment

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

ah, it has always been wrong

it just happened to work because before we bumped instrumentation repo to 2.x it generally had the same version number as the SDK repo

Copy link
Member Author

@trask trask Oct 9, 2024

Choose a reason for hiding this comment

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

plus, it's still "working" (CI passes), it just logs a warning which I think S360 may be complaining about

}

val otelInstrumentationAlphaVersion: String by project
val otelVersion: String by project
Copy link
Contributor

Choose a reason for hiding this comment

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

can you rename otelVersion from dependencyManagement to otelSdkVersion?

otelVersion seems confusing.

Copy link
Member Author

@trask trask Oct 9, 2024

Choose a reason for hiding this comment

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

sure, can I send a follow-up PR for that since it's unrelated to this PR?

Copy link
Contributor

Choose a reason for hiding this comment

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

np

@trask trask merged commit 534fa2f into main Oct 9, 2024
88 checks passed
@trask trask deleted the fix-missing-artifact-warning branch October 9, 2024 22:14
@trask trask mentioned this pull request Oct 9, 2024
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