newrelic / newrelic-java-agent

The New Relic Java agent
Apache License 2.0
202 stars 143 forks source link

Fix verifier range for jax-rs-3.0 #1885

Closed jasonjkeller closed 5 months ago

jasonjkeller commented 5 months ago

Fixes the following verifier failure. https://github.com/newrelic/newrelic-java-agent/actions/runs/8981808490/job/24668263806

* What went wrong:
Execution failed for task ':instrumentation:jax-rs-3.0:verifyFail_jakarta.ws.rs_jakarta.ws.rs-api_4.0.0'.
> A failure occurred while executing com.newrelic.agent.instrumentation.verify.VerifyWorkAction
   > Verification FAILED. Instrumentation module jax-rs-3.0-1.0.jar SHOULD NOT HAVE applied to jakarta.ws.rs:jakarta.ws.rs-api:4.0.0 but it did. You may need to adjust the range "jakarta.ws.rs:jakarta.ws.rs-api:[0,)".
     Verifier output:
     Creating user classloader with custom classpath:
        /home/runner/.gradle/caches/modules-2/files-2.1/jakarta.ws.rs/jakarta.ws.rs-api/4.0.0/c27a67f84ca491efcb3fa68f4df926e8a110069e/jakarta.ws.rs-api-4.0.0.jar
codecov-commenter commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.68%. Comparing base (f1e9c8c) to head (ea2037f).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1885 +/- ## ============================================ - Coverage 70.68% 70.68% -0.01% - Complexity 9877 9878 +1 ============================================ Files 828 828 Lines 39848 39848 Branches 6064 6064 ============================================ - Hits 28167 28165 -2 - Misses 8954 8955 +1 - Partials 2727 2728 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.