Slackbot
02/19/2024, 6:38 PMYousaf Nabi (pactflow.io)
What error are your receiving?, however it doesnt like it.consumer_version_selectors [{tag: "message", latest: true}, {mainBranch: true}]
What client library, and what version are you using?what do you currently recommend for this case? Please suggest, documentation is not clear what to use correctlyAs of October 2021, this is not yet supported in all Pact client libraries.
Dilip Punna
02/19/2024, 8:26 PMGemfile.lock
pact (1.63.0), pact_broker-client (1.51.1)Dilip Punna
02/19/2024, 8:28 PMDilip Punna
02/20/2024, 9:01 AMYousaf Nabi (pactflow.io)
Dilip Punna
02/20/2024, 10:19 AMconsumer_version_selectors [{tag: "message", latest: true}, {mainBranch: true}] only difference was added mainBranch:true since we want to test against consumer main branch, right now it is verifying all the consumer opened branches instead main branchDilip Punna
02/20/2024, 10:20 AM(Pact::UnrecognizePactFormatError)Dilip Punna
02/20/2024, 10:21 AMconsumer_version_selectors [{tag: "message", latest: true}, {mainBranch: true}]Dilip Punna
02/20/2024, 10:25 AMtag:message against consumer main branch only. Looks like tag:message is not working anymore and now all the tests running against main including tag:REST after i added the {mainBranch:true} . Wondering if the syntax was wrong?Yousaf Nabi (pactflow.io)
Dilip Punna
02/20/2024, 11:57 AMDilip Punna
02/20/2024, 11:58 AMDilip Punna
02/20/2024, 12:41 PMMatt (pactflow.io / pact-js / pact-go)
main and for B it might be master . See https://docs.pact.io/pact_broker/branches#pacticipant-main-branch-property for more on thatMatt (pactflow.io / pact-js / pact-go)
(Pact::UnrecognizePactFormatError)this error makes me think the selectors are working, but is pulling in contracts that the Ruby application cannot verify. Ruby can only verify 2.0 specification contracts, with the caveat that it can do basic “pact message” testing