Skip to content

Conversation

@YOU54F
Copy link
Member

@YOU54F YOU54F commented Sep 11, 2025

Use pact-ruby v2 rewrite which uses the pact-ruby-ffi gem & pact rust core to

  • Verify V2 pacts (V4 is supported, but V2 chosen to test compat with pact ruby core)

Tested via Pact Broker Client

pact-foundation/pact_broker-client#198

  • pact-ruby-v2 can verify v2 pacts generated by pact-rust & pact-ruby-v1
  • pact-ruby-v1 can verify v2 pacts generated by pact-rust & pact-ruby-v1

@YOU54F YOU54F force-pushed the feat/v2 branch 2 times, most recently from 74ad0a0 to 7df3918 Compare October 22, 2025 21:05
@YOU54F YOU54F marked this pull request as ready for review October 22, 2025 21:06
@YOU54F
Copy link
Member Author

YOU54F commented Oct 22, 2025

👋🏾

Hey everybody

image

it's high time for some rework of the pact rube(y) goldberg machine

image

I've just released pact-ruby v1.67.x that contains a pact/v2 interface which utilises pact-ruby-ffi

Docs are here

https://github.com/pact-foundation/pact-ruby/blob/master/documentation/README_V2.md

PR for reference pact-foundation/pact-ruby#369

Lots of examples, and demos, and it's part of this RFC series, if you are curious

pact-foundation/roadmap#127

Changes to generate consumer pacts in pact_broker-client are here

pact-foundation/pact_broker-client#198

which itself has also been rewritten in Rust

image

https://github.com/pact-foundation/pact-broker-cli

and will be part of a consolidated cli, which will replace pact-ruby-standalone

image

https://github.com/YOU54F/pact-cli

image

Copy link
Contributor

@JP-Ellis JP-Ellis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! Just a tiny nit I noticed

@YOU54F YOU54F changed the title Feat/v2 chore(test): use pact-ruby v2 (rust core) along ruby-core, for verifications Oct 30, 2025
@YOU54F
Copy link
Member Author

YOU54F commented Oct 30, 2025

lets go 🦀 🚀

@YOU54F YOU54F merged commit 3753c2b into master Oct 30, 2025
21 checks passed
@YOU54F YOU54F deleted the feat/v2 branch October 30, 2025 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants