Skip to content

Conversation

@ezhang6811
Copy link
Contributor

Issue #, if available:

Description of changes:
The workflow application-signals-e2e-test.yml assumes the version contains -SNAPSHOT. In release branches, we update version.gradle.kts to drop the -SNAPSHOT suffix to prepare for the release, so upload-main-build fails. See
https://github.com/aws-observability/aws-otel-java-instrumentation/actions/runs/18921541300/job/54022142576

This PR modifies the job to match any artifact with the name aws-opentelemetry-agent-*.jar, with or without the SNAPSHOT suffix.

tested by manually triggering main build in this branch:

  1. adotVersion = 2.20.0-SNAPSHOT: https://github.com/aws-observability/aws-otel-java-instrumentation/actions/runs/18925772853/job/54034432606 upload: ./aws-opentelemetry-agent-2.20.0-SNAPSHOT.jar to s3://adot-main-build-staging-jar/aws-opentelemetry-agent.jar
  2. adotVersion = 2.20.0: https://github.com/aws-observability/aws-otel-java-instrumentation/actions/runs/18927001060 upload: ./aws-opentelemetry-agent-2.20.0.jar to s3://adot-main-build-staging-jar/aws-opentelemetry-agent.jar

Both runs are successful.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

*Issue #, if available:*

*Description of changes:*
The workflow `application-signals-e2e-test.yml` assumes the version
contains -SNAPSHOT. In release branches, we update `version.gradle.kts`
to drop the -SNAPSHOT suffix to prepare for the release, so
`upload-main-build` fails. See
https://github.com/aws-observability/aws-otel-java-instrumentation/actions/runs/18921541300/job/54022142576

This PR modifies the job to match any artifact with the name
`aws-opentelemetry-agent-*.jar`, with or without the SNAPSHOT suffix.

tested by manually triggering main build in this branch:
1. adotVersion = 2.20.0-SNAPSHOT:
https://github.com/aws-observability/aws-otel-java-instrumentation/actions/runs/18925772853/job/54034432606
`upload: ./aws-opentelemetry-agent-2.20.0-SNAPSHOT.jar to
s3://adot-main-build-staging-jar/aws-opentelemetry-agent.jar`
2. adotVersion = 2.20.0:
https://github.com/aws-observability/aws-otel-java-instrumentation/actions/runs/18927001060
`upload: ./aws-opentelemetry-agent-2.20.0.jar to
s3://adot-main-build-staging-jar/aws-opentelemetry-agent.jar`

Both runs are successful.

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
@ezhang6811 ezhang6811 requested a review from a team as a code owner October 30, 2025 16:54
@ezhang6811 ezhang6811 added the skip changelog doesn't need a CHANGELOG entry label Oct 30, 2025
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (release/v2.20.x@13ec6d1). Learn more about missing BASE report.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@                Coverage Diff                 @@
##             release/v2.20.x    #1254   +/-   ##
==================================================
  Coverage                   ?   67.28%           
  Complexity                 ?      525           
==================================================
  Files                      ?       54           
  Lines                      ?     2693           
  Branches                   ?      373           
==================================================
  Hits                       ?     1812           
  Misses                     ?      746           
  Partials                   ?      135           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ezhang6811 ezhang6811 merged commit bd79676 into aws-observability:release/v2.20.x Oct 30, 2025
8 of 12 checks passed
@ezhang6811 ezhang6811 deleted the e2e-fix-v2.20.x branch October 30, 2025 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip changelog doesn't need a CHANGELOG entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants