Skip to content

Conversation

@ezhang6811
Copy link
Contributor

@ezhang6811 ezhang6811 commented Oct 29, 2025

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 29, 2025 21:58
lukeina2z
lukeina2z previously approved these changes Oct 29, 2025
@ezhang6811 ezhang6811 added the skip changelog doesn't need a CHANGELOG entry label Oct 29, 2025
wangzlei
wangzlei previously approved these changes Oct 29, 2025
@codecov-commenter
Copy link

codecov-commenter commented Oct 29, 2025

⚠️ 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.
✅ Project coverage is 67.28%. Comparing base (09e6487) to head (e1b1de8).
⚠️ Report is 518 commits behind head on main.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@              Coverage Diff              @@
##               main    #1253       +/-   ##
=============================================
- Coverage     85.71%   67.28%   -18.43%     
- Complexity       19      525      +506     
=============================================
  Files             3       54       +51     
  Lines            49     2693     +2644     
  Branches          5      373      +368     
=============================================
+ Hits             42     1812     +1770     
- Misses            3      746      +743     
- Partials          4      135      +131     

☔ 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 dismissed stale reviews from wangzlei and lukeina2z via ffc0984 October 29, 2025 23:18
lukeina2z
lukeina2z previously approved these changes Oct 29, 2025
@srprash
Copy link
Contributor

srprash commented Oct 30, 2025

Changes look good to me. The PR description seems outdated.

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

@ezhang6811 ezhang6811 merged commit c776ce7 into aws-observability:main Oct 30, 2025
7 checks passed
@ezhang6811 ezhang6811 deleted the fix-e2e-test branch October 30, 2025 16:51
ezhang6811 added a commit to ezhang6811/aws-otel-java-instrumentation that referenced this pull request Oct 30, 2025
*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 added a commit that referenced this pull request Oct 30, 2025
*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.
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.

5 participants