Skip to content

ci: detect drift between committed and generated FFI bindings#66

Merged
Morganamilo merged 1 commit into
archlinux:masterfrom
pfeifferj:ci/check-bindings-drift
Jun 19, 2026
Merged

ci: detect drift between committed and generated FFI bindings#66
Morganamilo merged 1 commit into
archlinux:masterfrom
pfeifferj:ci/check-bindings-drift

Conversation

@pfeifferj

@pfeifferj pfeifferj commented Mar 29, 2026

Copy link
Copy Markdown
Contributor

The pre-generated ffi.rs and ffi_git.rs files can silently diverge from what bindgen produces if someone updates libalpm headers without regenerating. Add a diff check after the test step in both CI jobs to catch this.

Related: #67

@pfeifferj pfeifferj force-pushed the ci/check-bindings-drift branch from eb1b649 to 0298ac2 Compare March 29, 2026 12:14
@pfeifferj pfeifferj force-pushed the ci/check-bindings-drift branch 15 times, most recently from fc84cdc to 91bf785 Compare June 19, 2026 19:48
The pre-generated ffi.rs and ffi_git.rs files can silently diverge from
what bindgen produces if someone updates libalpm headers without
regenerating. Add a diff check after the test step in both CI jobs to
catch this.

Signed-off-by: Josephine Pfeiffer <hi@josie.lol>
@pfeifferj pfeifferj force-pushed the ci/check-bindings-drift branch from 91bf785 to e31c638 Compare June 19, 2026 19:51
@Morganamilo Morganamilo merged commit b22d8c2 into archlinux:master Jun 19, 2026
7 checks passed
@pfeifferj pfeifferj deleted the ci/check-bindings-drift branch June 19, 2026 19:57
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