Hi all, We observed a peculiar behavior in PactFlo...
# pactflow
p
Hi all, We observed a peculiar behavior in PactFlow and want to understand it. In the screenshot given below, all 4 contracts are the same just the version is different as we are using $*CI_COMMIT_SHA* in our pipelines. Our expectation here is : 1. Change in contract -> A new contract is shown in integration. 2. Change in version only -> Version of the existing contract gets updated. ISSUE : We are seeing 4 contracts in the integration even though the contracts are exactly the same.
m
The version is the version of your application and not the contract. You don’t deploy a contract, you deploy an application. PactFlow internally manages the contract version (because for the 4 above, if one of them is verified by a provider and the contents of the contract is the same, then they are all valid f or that specific verification.
✅ 1
So that’s why you have 4 versions, they represent the contract associated with each version of your consumer application
✅ 1