Repository navigation
Conversation
Adds pactffi_using_plugin, pactffi_interaction_contents, pactffi_cleanup_plugins and pactffi_get_error_message wrappers, and a plugins test that reads the plugin features and fixtures from the suite checkout in PACT_COMPAT_SUITE. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…teps All 48 plugin scenarios pass against pact_ffi 0.5.4 with the matt, csv, avro and protobuf plugins. gRPC is driven with h2 directly and matt TCP with plain sockets; provider transport pacts get their transport added to the written file, as the FFI has no call to set it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Checks out YOU54F/pact-compatibility-suite feat/plugin-features (overridable on workflow_dispatch), installs the matt, csv, avro and protobuf plugins, builds pact_ffi and runs compatibility-suite-ffi's plugins test. Runs on draft PRs and PRs to any base. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
matt is not in the pact plugin repository index, so `pact plugin install matt` exits 1 without output. Install it from the mefellows/pact-matt-plugin v0.1.1 release instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up to #16, split out of it.
compatibility-suite-ffi/tests/plugins.rsruns the V4 plugin features (48 scenarios) from the suite branchfeat/plugin-features(YOU54F/pact-compatibility-suite#1):PACT_COMPAT_SUITE, and skipped when that is unset or has nofeatures/V4/plugins.Result: 48/48 against FFI 0.5.4 for lifecycle (5), HTTP (14), message (10), synchronous message (6) and transport (13).
Limitations
transportstraight into the pact file instead.pactffi_mock_server_mismatches, not through the shutdown results.h2crate directly (client and provider, h2c framing), and matt TCP with plain sockets.::1only, so clients fall back from 127.0.0.1.CI
.github/workflows/compat-ffi-plugins.yml(jobFFI plugins (ubuntu-latest)):feat/plugin-features(both overridable onworkflow_dispatch)pact_ffiwith the CMake steps fromffi-examples.shcargo test --test pluginswithPACT_COMPAT_SUITEpointing at that checkoutUnlike
test.yml, it runs on draft PRs and on PRs to any base, so it runs on this PR (basefeat/compat-suite-ffi). Linux only.Not yet verified
The plugin runner hasn't been run on Linux; this PR's CI is the first time.
Base is
feat/compat-suite-ffi(#16); retarget to master once #16 merges.🤖 Generated with Claude Code