ritika arora
06/08/2022, 12:01 AMMatt (pactflow.io / pact-js / pact-go)
Timothy Jones
06/08/2022, 12:24 AMritika arora
06/08/2022, 12:25 AMThe verification result for a feature published pact shouldn’t be applied to all consumers, so I think something is not set up righteven if contract is same?
ritika arora
06/08/2022, 12:25 AMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
latest rather than a tag or deployed environmentMatt (pactflow.io / pact-js / pact-go)
ritika arora
06/08/2022, 12:29 AMproject.ext.pacticipantVersion = "${project.rootProject.ext.COMMIT_HASH}"
project.ext.pacticipant = "${project.parent.name}"
project.ext.toTag = "production"
so essentially it is, feature branch checks it has production tag for provider(This tag is added by webhook build which runs provider contract test on develop version of provider)Matt (pactflow.io / pact-js / pact-go)
production on the develop version of the provider during verification?ritika arora
06/08/2022, 12:30 AMMatt (pactflow.io / pact-js / pact-go)
production because you just told it that the provider doesn’t satisfy the contractMatt (pactflow.io / pact-js / pact-go)
production until the provider is in productionMatt (pactflow.io / pact-js / pact-go)
develop and is deployed to productionMatt (pactflow.io / pact-js / pact-go)
Slackbot
06/08/2022, 12:31 AMritika arora
06/08/2022, 12:32 AMso then you’re getting the expected failure. Now all consumers can’t deploy toyes, I understand that. Since it happened due to intermittent issue(not actual error), What should be best way to resolve it? rerun?because you just told it that the provider doesn’t satisfy the contractproduction
Matt (pactflow.io / pact-js / pact-go)
ritika arora
06/08/2022, 12:32 AMunless there is a very short window from when code lands inyes its 1-1.5 hour for us. We are working on ways to improve itand is deployed todevelopproduction
Matt (pactflow.io / pact-js / pact-go)
ritika arora
06/08/2022, 12:33 AMyes, i’d just re-run the provider buildWith above you mean webhook build that can add production tag?
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
ritika arora
06/08/2022, 12:34 AMMatt (pactflow.io / pact-js / pact-go)
ritika arora
06/08/2022, 12:35 AMI would re-run whatever build is failing that’s causing the issues. Ideally, find out why it failed and make it more resilient alsoyes, I kind of did that.
Matt (pactflow.io / pact-js / pact-go)
production because that will prevent consumers deployinsg to prod if your dev builds of provider fail, even though production is not affectedritika arora
06/08/2022, 12:42 AMritika arora
06/08/2022, 12:43 AMritika arora
06/08/2022, 12:44 AMTimothy Jones
06/08/2022, 8:04 AMCurrently we dont have way to tag after depolying to production,What do you do if your deploy fails? Then your tags will be inaccurate, and you may have problems
Timothy Jones
06/08/2022, 8:05 AMrecord-deployment step at the end of your deploy script - is this not possible?ritika arora
07/11/2022, 5:11 AM