-
Notifications
You must be signed in to change notification settings - Fork 6
The pack not working with Quarkus 3.16+ #276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I think you should file Quarkus issue and ping Holly there |
Thanks for tracking it down to the specific PR! We have an ecosystem CI which runs the extension against the current version of Quarkus, so it seems like there may be some specific code path those tests aren't covering (probably messages with payloads, given #191 also wasn't spotted). I agree with @rsvoboda that it looks like it might need a Quarkus adjustment, or it might be that the right fix is just to take your workaround and put it into this extension. I should also look at what version of classgraph more recent Pact versions are using, just in case that fixes it for free. |
@rsvoboda @holly-cummins I was reading more about the issue and not find much reason why to create Quarkus issue. In general the classgraph using reflection to get internal value. They update it after some discussion with Quarkus team on quarkusio/quarkus#44283 and classgraph/classgraph#891 (comment). So I think this is only 3rd party dependency issue (pact) as they don't use updated version of classgraph. If you still think that the Quarkus issue should be created, please create it as I don't have much idea of what should be content of that issue.
Latest 4.6.17 and 4.7.0 beta using 4.8.129 version. The main branch seems to be also using version 4.8.129. Looking at it it's version released at Oct 28 2021 |
Thanks @jedla97 for the investigation @holly-cummins can you talk to Pact people / create issue to bump classgraph? |
Hi, I was revisiting our test disabled due to #191. This issue seems to be fixed for 3.15 (will comment there). But when running the test I encounter
I tried to look at it more and found out that this happen with Quarkus 3.16+. The cause of this is change in quarkusio/quarkus#22673 which the classgraph/classgraph#891 fixed and relesed with classgraph version 4.8.178.
Unfortunetally the pact-jvm still depends on old classgraph (defined here) which is not compatible with Quarkus 3.16+.
I don't think it can be done much here, as it's depends on pact.
I tried replace the classgraph version here like this:
and it was working (compiled using 3.16) but it's more like workaround and not the pernament solution.
You can check the the error using
git clone [email protected]:quarkus-qe/quarkus-test-suite.git
cd quarkus-test-suite
ProviderPactTest
testmvn clean test -f test-tooling/pact/
The text was updated successfully, but these errors were encountered: