is the recommendation to check the can-i-deploy ag...
# general
p
is the recommendation to check the can-i-deploy against all of the environments (non-prod and prod) for consumer PR pipelines or should they only check if the provider has verified their
main
branch and/or the first non-prod env? As in, if the provider has not deployed to production yet with a valid verification, the consumer shouldnt be able to merge their PR with the contract?
m
The ideal flow would be a
can-i-merge
check, which https://github.com/pact-foundation/pact_broker-client/issues/138 should address when merged
I don’t think you need to check against all environments, but it really depends on your workflow. If the consumer goes straight to prod after your PR is merged, then you definitely would want to check it’s compatible with prod (and any intermediate environment you need to ship it through)
p
got it thanks!
looks like that PR is already approved so I assume that it should be merged soon?
m
Probably 😉
👍 1
FYI
can-i-merge
is now available in the latest release!
p
nice! just saw this. thanks for the update
🙌 1
m
No worries - do please let us know if that helped things for you