Uploaded September 2024 | Updated November 2026, 6 hours ago
We make a breaking change, we update our tests, and we get blocked by Pact because of how it will break integration in a future deployment - even though a full stack of tests are looking green in our own repo.
Then we go through the nuances of how to introduce a breaking change in a collaborative way together with our consumers.
It is a tri-way setup with traditional pactjs consumer driven + provider driven (bi-directional) contract testing, alongside with Cypress e2e, cy schema test plugin, Optic schema verification, Zod-to-OpenAPI, jest, cyct
Here are the collaborating PRs:
Provider: github.com/muratkeremozcan/pact-js-example-provider/actions/runs/11083552853/job/30797900185
Consumer: github.com/muratkeremozcan/pact-js-example-consumer/pull/60
Bi-directional Consumer: github.com/muratkeremozcan/pact-js-example-react-consumer/pull/22
Blog post about how it all works dev.to/muratkeremozcan/handling-pact-breaking-changes-dynamically-in-cicd-3dl4
We make a breaking change, we update our tests, and we get blocked by Pact because of how it will break integration in a future deployment - even though a full stack of tests are looking green in our own repo.
Then we go through the nuances of how to introduce a breaking change in a collaborative way together with our consumers.
It is a tri-way setup with traditional pactjs consumer driven + provider driven (bi-directional) contract testing, alongside with Cypress e2e, cy schema test plugin, Optic schema verification, Zod-to-OpenAPI, jest, cyct
Here are the collaborating PRs:
Provider: github.com/muratkeremozcan/pact-js-example-provider/actions/runs/11083552853/job/30797900185
Consumer: github.com/muratkeremozcan/pact-js-example-consumer/pull/60
Bi-directional Consumer: github.com/muratkeremozcan/pact-js-example-react-consumer/pull/22
Blog post about how it all works dev.to/muratkeremozcan/handling-pact-breaking-changes-dynamically-in-cicd-3dl4










