Skip to content

Track upstream master for the MEOS derivation#39

Merged
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:tooling/track-master-meos-derivation
Jul 16, 2026
Merged

Track upstream master for the MEOS derivation#39
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:tooling/track-master-meos-derivation

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

Derives the catalog, libmeos, and the JMEOS jar all from MobilityDB master (and JMEOS main) through the shared provision-meos action.

What

  • Sets mobilitydb-ref: master for provision-meos and removes tools/meos-source-commit.txt and its resolve step.
  • Builds the JMEOS jar in CI from JMEOS main against the same master catalog + libmeos, installed as org.jmeos:meos:1.0, and removes the committed libs/*.jar binaries.

Why

A pinned source under a @master derivation toolchain (provision-meos / run.py) drifts: deriving from a fixed commit with a moving run.py yields a different catalog, so the generated UDF surface diverges from the code. Tracking master keeps the source and the toolchain in lockstep, mirroring the JMEOS binding. The master-derived jar's FFI signatures match the generated calls (e.g. union_float_span(double, Pointer)), so the jar and the generated UDFs stay compatible.

Surface

GeneratedSurfaceTest covers 12 cases against the master catalog — tint_value_at_timestamptz, jsonb_path_exists, and the arg-kind-dispatch surface all bind and run against the master-built libmeos through the master JMEOS jar.

Derive the catalog, libmeos, and the JMEOS jar all from MobilityDB
master (and JMEOS main) through the shared provision-meos action,
instead of pinning a MobilityDB commit in tools/meos-source-commit.txt
against a committed JMEOS jar. Tracking master keeps the source in
lockstep with the @master derivation toolchain (provision-meos /
run.py), so the derived catalog can no longer thin out under a moving
generator and drop functions the generated UDF surface needs.

Build the JMEOS jar in CI from JMEOS main against that same master
catalog and libmeos, and install it as org.jmeos:meos:1.0; drop the
committed libs/*.jar binaries and the source-commit pin.
@estebanzimanyi
estebanzimanyi merged commit 615d006 into MobilityDB:main Jul 16, 2026
1 of 2 checks passed
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