Hello, I am new to pact so when experimenting with...
# general
t
Hello, I am new to pact so when experimenting with versioning, I see that when I run a provider validation, it seems to only validate against the latest pact found in the broker. Is this the expected behavior? In this matrix, there are 2 versions of the consumer (different content of pact files), but 3 versions of the provider. There is no verification result of the green version of the provider against the blue version of the consumer. However, when i run can-i-deploy on the green version of the provider supplying the blue version of the consumer as pacticipant, I get a failure, is it right?
m
The answer lies in how you use selectors in your verification, and the flags you pass to can-i-deploy
b
See this guide for the best practice https://docs.pact.io/provider/recommended_configuration
It’s worth updating your quick link to this page now @Matt (pactflow.io / pact-js / pact-go)
m
t
thank you guys
b
I meant your quick link matt.
Selectors are used in multiple places.
m
Sorry, what’s the quick link?
b
Your slack short help shortcuts
maybe you didn’t have one for the selectors.
yeah, that wasn’t what I meant.
Copy code
commit 3206c823c6446665ebd27df4cea722e7d6a4a9ef
Author: Matt Fellows <matt.fellows@onegeek.com.au>
Date:   Thu Aug 18 17:41:23 2022 +1000

    chore: update redirect for /selectors
I meant, instead of sending people to /selectors for this topic, send them to https://docs.pact.io/provider/recommended_configuration
m
Doesn’t look like we have one. If you do want to add/create them, you can just go here: https://pact-foundation.slack.com/customize/slackbot
👍🏼 1