-
Notifications
You must be signed in to change notification settings - Fork 6
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
1.2.0 -> 1.3.0 causing class not found errors #189
Comments
Hmm, sure looks like it, doesn't it? It also looks like there's a missing test on this side! With the move Pact >4.5.7 introduced a bunch of new dependencies, and each of them needed to manually listed as parent first, because we haven't been able to move away from parent-first. Looks like one of the dependencies is exercised in something the superheroes app does, but wasn't exercised in the paths in the tests in the extension. |
Sure looks like it! We're using the ktor mock server. I honestly don't remember why :) but we are.... |
Hmm, interesting. I had to mark a bunch of new transitive dependencies as parent first in the provider extension, and ktor is one of the ones marked parent first. But it didn't change recently, it's been parent-first for two years. And, the failure is on the consumer side, where nothing is marked as parent first. So 'parent first' seems to be the wrong tree. The Pact JVM consumer has been using KTor for several years with relatively few changes, so this isn't going to be an easy one to track down. |
I'm not married to using ktor, so if it's easier to switch away from it I'm fine with that. I think I started using it because it has nice logging of the requests and responses. |
I've got a reproducer (which I'll merge once it's passing), and I've binary-chopped to narrow down where the issue happen. Anything below Pact 4.6.0 is fine. Pact 4.6.0 upgraded ktor, which seems likely to be the issue: pact-foundation/pact-jvm@1fafbf4 |
It seems the upgrade from 1.2.0 to 1.3.0 is causing some class not found errors?
See https://github.com/quarkusio/quarkus-super-heroes/actions/runs/8109821111/job/22165814968#step:4:4739
The text was updated successfully, but these errors were encountered: