GitHub
05/26/2022, 6:21 PMpactbroker.providerBranches
(replacing pactbroker.providerTags
) on my provider with latest release 4.3.8
. It is not able to fetch pending and wip pacts using branches. It was able to fetch the pending and wip pacts using tags. Doing bit of investigation, it appears the problem is because this code populates providerVersionBranches
but Pact broker expects providerVersionBranch
I think (@Beth (pactflow.io/Pact Broker/pact-ruby) ?). This is my suspect but I am not sure.
Pactbroker log:
2022-05-26 17:48:01.586098 I [7:puma srv tp 001] PactBroker::Api::Resources::ProviderPactsForVerification -- Fetching pacts for verification by pactdemo-provider-springboot -- {:provider_name=>"pactdemo-provider-springboot", :params=>{"consumerVersionSelectors"=>[{"mainBranch"=>true}, {"deployedOrReleased"=>true}], "includePendingStatus"=>true, "includeWipPactsSince"=>"2022-05-01", "providerVersionBranches"=>["mybranch"], "providerVersionTags"=>[]}}
pact-foundation/pact-jvmYousaf Nabi (pactflow.io)
Ben Pilgrim
06/06/2022, 8:36 AM