Ruth
12/03/2024, 7:36 AMcan I deploy step also shows a missing verification
Computer says no ¯\_(ツ)_/¯
CONSUMER | C.VERSION | PROVIDER | P.VERSION | SUCCESS? | RESULT#
--------------------------------------|---------------------|--------------------------------|---------------------|----------|--------
Ratenkredit-Service-Template | cd4f035... | Partnermanagement-Kontaktdaten | 2024.12.02.10.35.40 | true | 1
Ratenkredit-Service-Template-External | 2024-12-02T18-24-47 | Ratenkredit-Service-Template | ??? | ??? |
Any idea what we are doing wrong?
Happy to give more insides if neededMatt (pactflow.io / pact-js / pact-go)
can-i-deploy step? I think you’re DEV is an environment, so perhaps can-i-deploy Ratenkredit-Service-Template --version cd4f035... --to-environment DEV type thing?
Can I also assume that you are using the same version number when verifying as the provider?
Usually these gaps occur because:
1. The webhook is being fired, but you’re not reviewing the payload and checking out the specific version that needs to do the verifying (e.g. just the main branch is checked out to verify the pact, but the payload for contract_requiring_verification specifies which version of the provider should do the verification
a. Solution there is mentioned
2. The version of the application changes after merging, and they no longer line up
a. solution is to always re-publish with new versions (or re-verify)
3. The provider verification job isn’t collecting all of the versions to verify
a. The solution is to use wip and pending pacts (sounds like you are)Ruth
12/04/2024, 12:20 PMMatt (pactflow.io / pact-js / pact-go)
Ruth
12/04/2024, 12:27 PM