Skip to main content

Pact verdicts on GitHub and GitLab commits

Pull requests now show each pact's verdict next to their other checks. When a consumer publishes a pact, Apiome marks the consumer's commit pending until the provider verifies it. When the verification result arrives, Apiome marks both commits success or failure. The status is named apiome-pact/<consumer>/<provider>, so a branch protection rule can require it. See Commit statuses.

Message pacts against AsyncAPI

A provider that sends messages can now be checked against its consumers the bi-directional way. Publish its AsyncAPI 2.x or 3.x document as its provider contract, and every consumer's message pact is compared with it as soon as either side publishes; the verdict goes to the matrix and can-i-deploy. See Message pacts.

Provider verification engine

The provider verification engine is complete. Apiome can now verify a provider against its consumers' pacts by itself: it compiles each pact into a contract suite, sets up the provider states the pact names, replays every interaction against a running copy of the provider, judges the responses by the pact's matching rules, and publishes a verification result for each pact. The matrix and can-i-deploy read those results like ones a Pact verifier published. The provider needs no Pact library.

Bi-directional contract testing

Bi-directional contract testing is complete. A provider no longer has to replay every consumer's pact against a running build: it publishes its OpenAPI document as a provider contract, with evidence from its own tests, and Apiome compares each consumer pact with that document. The verdict is a verification result, so the matrix and can-i-deploy read it like one a Pact verifier published.