Skip to content

Add a scheduled bot that refreshes the CFFI surface from MobilityDB stable-1.3 - #24

Open
estebanzimanyi wants to merge 1 commit into
MobilityDB:masterfrom
estebanzimanyi:tooling/meos-surface-drift-bot
Open

Add a scheduled bot that refreshes the CFFI surface from MobilityDB stable-1.3#24
estebanzimanyi wants to merge 1 commit into
MobilityDB:masterfrom
estebanzimanyi:tooling/meos-surface-drift-bot

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

.github/workflows/meos-surface-refresh.yml re-derives the committed CFFI surface (builder/meos.h, pymeos_cffi/functions.py, pymeos_cffi/__init__.py) daily against the MobilityDB stable-1.3 line this package pins — via the shared MobilityDB/MEOS-API provision-meos action with -DNPOINT=ON — and opens a PR only when the surface has drifted. It is non-blocking: it gates nothing, and the refresh PR it opens runs the normal build and ruff CI like any other change.

The workflow mirrors the same drift bot MobilityDuck runs. A MEOS_AUTOBUMP_TOKEN secret (PAT) makes the opened refresh PR trigger CI; it falls back to GITHUB_TOKEN (the PR opens but is re-triggered manually) when the secret is absent.

…hedule

A scheduled workflow re-derives builder/meos.h and the pymeos_cffi wrappers from the MobilityDB stable-1.3 line this package pins (via the shared MEOS-API provision-meos action) and opens a PR only when the committed surface has drifted. The normal build and ruff CI then gates that refresh PR.
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.

1 participant