Hi, I'm using the pact gradle plugin
https://plugins.gradle.org/plugin/au.com.dius.pact
I have an issue with the canIDeploy task. I have a service that is both consumer and provider for APIs. I gave both internal service different names. For each pull request, both the consumer and provider tests are run. The canIDeploy task only takes one pacticipant and version.
The issue is, that the canIDeploy task always verifies the latest version of the provider. Inside the PR, I just want to check whether the code state of the PR is consistent. Otherwise, another PR is creating an updated version and a race condition occurs where only the latest PR is green for canIDeploy.
I think this should be solvable with specifying both services and versions together. The CLI seems to allow this, the plugin does not. Is there another way to prevent this race condition?