Hello, im trying to pinpoint an issue and wonderin...
# general
t
Hello, im trying to pinpoint an issue and wondering if anyone might have any ideas please... we've created a webhook for
contract-requiring-verification-published
but when we
pact-broker test-webhook
the
pactbroker.providerVersionBranch
and
pactbroker.providerVersionNumber
is the very latest HEAD rather than the version on
main
branch. The provider (as well as consumer) correctly has
mainBranch
property set etc, any ideas please?
👍 1
m
Is it possible that version does require a verification and that version is deployed to an environment?
t
The provider version is not deployed to an environment, it’s the latest PR branch before it’s merged to main
m
I’m not super familiar with the details of the webhook itself and the test feature. I’m currently wondering if during the “test” it just grabs the latest version, instead of what would happen in “real life”
Have you tried just enabling it and publishing a new contract, to see if does indeed trigger correctly with real data?
t
Hm thanks, we are about to merge the PR on provider side and then tests the webhook with the GHA repository_dispatch workflow properly
so yeah we think it might actually be fine and going to test it more e2e shortly 🙂
fingerscrossed 1
m
panic button
😅 1