Jacob Rede
11/18/2023, 11:31 PMMatt (pactflow.io / pact-js / pact-go)
Slackbot
11/19/2023, 12:57 AMJacob Rede
11/21/2023, 9:28 PMmain/master branch, which is obviously not feasible. Mix in that our org usually drives changes from the provider and im not really seeing anything on a provider driven approach. Do you happen to have more info on provider driven cicd approaches?Matt (pactflow.io / pact-js / pact-go)
Jacob Rede
11/21/2023, 9:48 PMJacob Rede
11/21/2023, 9:48 PMJacob Rede
11/21/2023, 9:50 PMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
can-i-merge which would allow you to select a target branch, instead of environment (which I think you said you were using)?Jacob Rede
11/21/2023, 9:52 PMJacob Rede
11/21/2023, 9:52 PMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Jacob Rede
11/21/2023, 9:59 PMJacob Rede
11/22/2023, 9:18 PMJacob Rede
11/22/2023, 9:23 PMYousaf Nabi (pactflow.io)
We’re now soft-locked from introducing any change.That is of your own making, not by Pact, Pact is simply informing you of it.
Yousaf Nabi (pactflow.io)
Currently we have the can-i-merge check happening which fails as the current dev work has broken the pact. So dev finds consumers and updates them, but CICD can-i-merge check still fails since provider work is on a feature branch and consumer update is on a feature branch, not main.This is good that the insight from Pact, is marking the relevant consumer services which need updating 👍 If you can either the consumer tolerant of the deployed/main branch provider and the soon to be deployed provider, you can perform no downtime deployments. same on the provider side, if you can make it tolerant of consumers using the old and the new format (context dependant on your provider change)
Yousaf Nabi (pactflow.io)
PACT_BROKER_CAN_I_DEPLOY_DRY_RUN to true as a break-glass to ignore the verification result, if you do want to deploy based on a failing result. This could be where you are okay with introducing that breaking change (co-ordinated change window for example)Jacob Rede
11/22/2023, 10:02 PMYousaf Nabi (pactflow.io)
release the breaking change with follow-up work to update consumersI wouldn’t release it without the work having already been done to the consumers, and then its a case of just deploying them all within a certain change window. I.e you know the new consumers will be compatible with the new provider.
Jacob Rede
11/22/2023, 10:05 PMYousaf Nabi (pactflow.io)
Jacob Rede
11/22/2023, 10:06 PMYousaf Nabi (pactflow.io)