Adam Witko
04/24/2024, 12:38 PMcontract_requiring_verification_published event with url <https://gitlab.com/api/v4/projects/${PROJECT_ID}/ref/${BRANCH}/trigger/pipeline?token=${TOKEN}&variables[PACT_URL]=>\${pactbroker.pactUrl}&variables[PACT_PROVIDER_VERSION]=\${pactbroker.providerVersionNumber}&variables[PACT_PROVIDER_BRANCH]=\${pactbroker.providerVersionBranch} . For some reason when the broker triggers the pipeline it specifies a provider version number for the version of the provider at time of webhook creation and not for the latest main version of the provider. When the provider is deployed to an env it is recording the deployment with the git short sha for the commit and the latest main is months ahead of the version specified as PACT_PROVIDER_VERSION .
I'm on version 2.102.2 of the broker.
I have a sneaking suspicion that because the verification job does not have the correct provider version that it's unable to offer the pre-verifier support to contracts.Matt (pactflow.io / pact-js / pact-go)
Adam Witko
04/25/2024, 7:26 AMcontract_requiring_verification_published event and I wanted to ask if my understanding is correct. If a push of a contract contains the contents of a previously verified contract by the main provider it should be pre-reverified and not trigger the webhook.Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Adam Witko
04/26/2024, 9:21 AM