Hi everyone,
I noticed a strange behaviour when using regex matchers using the 4.3.5 JVM DSL.
When using Regex then PACT is generating random values that are compliant to my Regex, but.. they are random.
This leads to the issue that the broker is unable to cache my PACTs and when re-running the consumer PR pipeline on the same commit than before, it looks like I get a merge conflict in the broker (due to the random generated "discountPrice").
Is this a bug? If not, we should certainly extend the Javadoc of all regex matchers for the JVM module to clearly point out that this does generate Randoms, because the javadoc at the moment does not state this :)
The reason why we retry the consumer PR pipeline on the identical PACT version is this:
When a changed PACT is not yet ready to merge because the provider doesn't support it yet, my PR is blocked for merging. As soon as the provider has built the changes and published his verification results, I as the consumer, have to rerun my PR pipeline on consumer side. I don't want to have the necessity to push a dummy commit though.