Hi there, Pactflow Team. Hope you can help me to u...
# pactflow
m
Hi there, Pactflow Team. Hope you can help me to understand if this is an expected behaviour or bug. I replicated these scenarios on example-consumer / example-provider pair from pactflow university workshop. I noticed two strange things: 1. When verification results of a pact contract are removed • Contract is still displayed as valid • And all interactions are green ticked even so there are no verification results • can-i-deploy does the right thing and fails 2. When verified contract is removed entirely • Contract cannot be seen in the list of contracts for an integration • If only run can-i-deploy it passes even so the contract supposedly has been removed 😬 • When run full build and can-i-deploy it still passes but now contract reappears with verification results. ◦ My expectation in this case was that verification results would be removed when I remove the whole contract
t
I'm not sure that deletion does delete all related resources - what's the use case you have for deleting contracts?
Or results of contracts
m
We had some problems on provider side and tried to force revalidation of a bunch of contracts. For some reason, there were not revalidating and I think our team in struggle to fix it decided to just remove pacts. I guess, there were hoping that it would cause clean slate and keep with revalidation.
m
hmm it’s tricky. Which app were you expecting not to be able to release, but could? It’s hard to tell if you’re considering a consumer or provider. It’s tricky to say if it’s a bug or not, because there are a lot of complex relationships that are modelled
if you really need to reset things, deleting the integration would probably be the simplest
m
so what is the purpose of remove “pact” button anyway if it doesn’t really remove anything?
m
oh sorry, I definitely read your original question as “deleted verification results”.