Rename remaining javaagent instrumentation packages to versioned paths#18180
Merged
Conversation
…v1_0 Agent-Logs-Url: https://github.com/open-telemetry/opentelemetry-java-instrumentation/sessions/b6a7c74f-3396-4c84-98d4-9bb945438f52 Co-authored-by: trask <218610+trask@users.noreply.github.com>
Agent-Logs-Url: https://github.com/open-telemetry/opentelemetry-java-instrumentation/sessions/b6a7c74f-3396-4c84-98d4-9bb945438f52 Co-authored-by: trask <218610+trask@users.noreply.github.com>
Agent-Logs-Url: https://github.com/open-telemetry/opentelemetry-java-instrumentation/sessions/b6a7c74f-3396-4c84-98d4-9bb945438f52 Co-authored-by: trask <218610+trask@users.noreply.github.com>
…xtensionannotations/v1_0 Agent-Logs-Url: https://github.com/open-telemetry/opentelemetry-java-instrumentation/sessions/b6a7c74f-3396-4c84-98d4-9bb945438f52 Co-authored-by: trask <218610+trask@users.noreply.github.com>
…ionkotlin/v1_0 Agent-Logs-Url: https://github.com/open-telemetry/opentelemetry-java-instrumentation/sessions/b6a7c74f-3396-4c84-98d4-9bb945438f52 Co-authored-by: trask <218610+trask@users.noreply.github.com>
…ge to instrumentationannotations/v1_16 Agent-Logs-Url: https://github.com/open-telemetry/opentelemetry-java-instrumentation/sessions/b6a7c74f-3396-4c84-98d4-9bb945438f52 Co-authored-by: trask <218610+trask@users.noreply.github.com>
Agent-Logs-Url: https://github.com/open-telemetry/opentelemetry-java-instrumentation/sessions/b6a7c74f-3396-4c84-98d4-9bb945438f52 Co-authored-by: trask <218610+trask@users.noreply.github.com>
Agent-Logs-Url: https://github.com/open-telemetry/opentelemetry-java-instrumentation/sessions/b6a7c74f-3396-4c84-98d4-9bb945438f52 Co-authored-by: trask <218610+trask@users.noreply.github.com>
Agent-Logs-Url: https://github.com/open-telemetry/opentelemetry-java-instrumentation/sessions/b6a7c74f-3396-4c84-98d4-9bb945438f52 Co-authored-by: trask <218610+trask@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
trask
April 22, 2026 20:00
View session
Member
|
@copilot fix CI |
Commit 93ff118 updated the package declarations for the flow-1.3 javaagent sources and its test to 'kotlinxcoroutines.v1_0.flow' but did not move the files to the matching directory, causing Error Prone's PackageLocation check to fail and breaking compileJava (and every downstream CI job).
…agent-instrumentation-packages
…agent-instrumentation-packages
…agent-instrumentation-packages
Contributor
|
@copilot resolve the merge conflicts in this pull request |
laurit
approved these changes
Apr 29, 2026
…rename-javaagent-instrumentation-packages Co-authored-by: laurit <1997823+laurit@users.noreply.github.com>
Contributor
Author
Fixed by 88648b8. I checked the failing CI logs and the stale
Resolved in 2b59933 by merging the latest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Several javaagent modules still used unversioned or inconsistent package paths relative to their module version. This PR moves those packages to version-scoped paths within their owning modules and updates every repository reference that embeds the old names.
Renamed package roots
akka-http-10.0→io.opentelemetry.javaagent.instrumentation.akkahttp.v10_0camel-2.20→io.opentelemetry.javaagent.instrumentation.camel.v2_20kotlinx-coroutines-1.0→io.opentelemetry.javaagent.instrumentation.kotlinxcoroutines.v1_0opentelemetry-extension-annotations-1.0→io.opentelemetry.javaagent.instrumentation.extensionannotations.v1_0opentelemetry-extension-kotlin-1.0→io.opentelemetry.javaagent.instrumentation.extensionkotlin.v1_0opentelemetry-instrumentation-annotations-1.16→io.opentelemetry.javaagent.instrumentation.instrumentationannotations.v1_16play-mvc-2.4→io.opentelemetry.javaagent.instrumentation.playmvc.v2_4play-mvc-2.6→io.opentelemetry.javaagent.instrumentation.playmvc.v2_6Directory moves
git mvinside each module so package layout matches the new namespace.client,server, andserver.route, Cameldecorators, and coroutinesinstrumentationannotations.Repository-wide reference updates
package,import, and FQCN references across Java, Kotlin, Scala, Groovy, resources, service descriptors, properties/yaml, and docs.Collision cleanup
kotlinx-coroutines-1.0rename beforeopentelemetry-instrumentation-annotations-1.16so the top-levelinstrumentationannotationspackage became unambiguous.v1_0to keep the module fully aligned.