Skip to content

fix: pass http transport first to ffi#1637

Merged
JP-Ellis merged 1 commit into
mainfrom
fix/http-transport-first
Jun 29, 2026
Merged

fix: pass http transport first to ffi#1637
JP-Ellis merged 1 commit into
mainfrom
fix/http-transport-first

Conversation

@JP-Ellis

Copy link
Copy Markdown
Member

📝 Summary

Internally pick out the HTTP(S) transport so it is set first.

🚨 Breaking Changes

🔥 Motivation

The Pact FFI assigns special significance to the first transport configured, which should be HTTP(S). This is an implementation concern, and therefore is handled internally when setting up all the transports.

🔨 Test Plan

Unit tests added

🔗 Related issues/PRs

The underlying FFI assigns special significance to the first transport
added, which can cause issues if the end-user configures non-HTTP
transports first.

Signed-off-by: JP-Ellis <josh@jpellis.me>
@JP-Ellis JP-Ellis self-assigned this Jun 29, 2026
@codecov

codecov Bot commented Jun 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74%. Comparing base (c67dbd5) to head (5c8d30d).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@         Coverage Diff          @@
##           main   #1637   +/-   ##
====================================
  Coverage    74%     74%           
====================================
  Files        36      36           
  Lines      4028    4030    +2     
====================================
+ Hits       2996    2998    +2     
  Misses     1032    1032           
Flag Coverage Δ
examples 37% <100%> (+<1%) ⬆️
tests 73% <100%> (+<1%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@JP-Ellis JP-Ellis merged commit b8ee0ea into main Jun 29, 2026
41 checks passed
@JP-Ellis JP-Ellis deleted the fix/http-transport-first branch June 29, 2026 23:23
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.

Issue with verifying http and message interactions in the same provider test

1 participant