Skip to content

Preserve Provider body evidence API compatibility - #573

Merged
LioRael merged 1 commit into
mainfrom
fix/provider-http-body-evidence-compat
Aug 13, 2026
Merged

Preserve Provider body evidence API compatibility#573
LioRael merged 1 commit into
mainfrom
fix/provider-http-body-evidence-compat

Conversation

@LioRael

@LioRael LioRael commented Aug 13, 2026

Copy link
Copy Markdown
Owner

What changed

  • keep ProviderHttpCallRecord source-compatible for existing struct literals
  • keep insert_provider_http_call as the compatibility entry point with explicit missing-evidence coverage
  • add insert_provider_http_call_with_body_evidence for adapters that capture request and response bodies
  • route the Provider HTTP adapter through the new evidence-aware interface

Why

Release-plz correctly identified the original public struct field additions as breaking and proposed lenso-platform-core 0.2.0 plus a broad dependent release. Body evidence can be added without breaking existing callers.

Validation

  • cargo fmt --all
  • cargo test -p lenso-platform-core -p lenso-platform-provider --all-targets --locked
  • cargo clippy -p lenso-platform-core -p lenso-platform-provider --all-targets --locked
  • real PostgreSQL provider call persistence test
  • git diff --check

Copilot AI lite review requested due to automatic review settings August 13, 2026 19:58
@changeset-bot

changeset-bot Bot commented Aug 13, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 7197dbd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@LioRael
LioRael merged commit 4532cf0 into main Aug 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants