Skip to content

feat/tests: automatic API coverage checks#93

Merged
alemidev merged 13 commits intodevfrom
ffi-coverage-tests
Mar 10, 2026
Merged

feat/tests: automatic API coverage checks#93
alemidev merged 13 commits intodevfrom
ffi-coverage-tests

Conversation

@ghyatzo
Copy link
Member

@ghyatzo ghyatzo commented Mar 8, 2026

adds mechanism to "automatically" discover the API surface and match the various glues against that surface.
It's not 100% reliable. since it does a direct string matching for calls to the surface. So the idea is that for each method in the API surface a call to that method must happen at least somewhere in the FFI source.

Given that we're trying to have a 1 to 1 mapping in our APIs this seems good enough.
It should support Traits and supertraits as well

@ghyatzo ghyatzo requested review from alemidev and zaaarf March 8, 2026 12:58
cschen and others added 4 commits March 9, 2026 19:31
so it's easier to manage feature flag switches
they could all run together but it's convenient to have 4 different
checks on github, easy to see right away
alemidev
alemidev previously approved these changes Mar 9, 2026
Copy link
Member

@alemidev alemidev left a comment

Choose a reason for hiding this comment

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

With or without requested changes, LGTM and want this merged asap!! :)

this is probably useless once we bump pyo3 but at least we know how to
fix it now
alemidev
alemidev previously approved these changes Mar 10, 2026
alemidev
alemidev previously approved these changes Mar 10, 2026
i wish it was easier but apparently we need 2 actions and all this setup
to make it work...
alemidev
alemidev previously approved these changes Mar 10, 2026
@alemidev alemidev merged commit 0eb0650 into dev Mar 10, 2026
18 of 21 checks passed
@alemidev alemidev deleted the ffi-coverage-tests branch March 10, 2026 11:14
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.

2 participants