pact-configuration-validation
Pact Configuration Validation
Purpose
Writing and passing consumer/provider contract tests (see
pact-contract-testing-configuration)
answers "does this provider version satisfy this consumer's contract" in
isolation — it does not by itself answer the deploy-time question that
actually matters: "given everything currently deployed in this specific
environment, is it safe to deploy this version right now?" A provider
might satisfy the consumer's latest contract while the consumer's
currently deployed version still depends on an older, incompatible
contract shape. Pact's can-i-deploy check and deployment-tracking API
close that gap by asking the broker the actual, environment-specific
compatibility question at deploy time, and this skill covers wiring that
check into CI/CD as a real, enforced gate rather than treating "provider
verification passed at some point" as sufficient.