Skip to content

Build the committed functions snapshot before regenerating it - #17

Merged
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:ci/drift-check-fails
Aug 29, 2026
Merged

Build the committed functions snapshot before regenerating it#17
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:ci/drift-check-fails

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

Build the committed functions snapshot before regenerating it. The workflow regenerates the functions package and builds the result, so every step speaks for freshly derived code while a go get consumer compiles the committed snapshot; compiling that snapshot first, against the provisioned libmeos, is the only place its own compilability is decided, because afterwards the generator has overwritten it. The drift notice stays informational and says why: MobilityDB master moves independently of this repo, so a difference between the snapshot and a fresh catalog is ordinary and a contributor cannot act on it, while a snapshot that fails to build reaches consumers and is fixable here by regenerating and committing. The step is proven in both directions against the real case: it exits 1 on the snapshot as it stood before the last refresh, naming C.RTreeSearchOp at functions/meos_meos.go:312, and exits 0 on the snapshot in the tree.

The workflow regenerates the functions package and builds the result, so
every step speaks for freshly derived code while a `go get` consumer
compiles the committed snapshot. Compiling that snapshot first, against
the provisioned libmeos, is the only place its own compilability is
decided; afterwards the generator has overwritten it.

The drift notice stays informational, and for a reason: MobilityDB
master moves independently of this repo, so a difference between the
snapshot and a fresh catalog is ordinary and a contributor cannot act on
it. A snapshot that no longer BUILDS is a different thing, it reaches
consumers, and the fix is in this repo: regenerate and commit.

The step fails on the snapshot as it stood before the last refresh,
naming C.RTreeSearchOp, and passes on the snapshot in the tree.
@estebanzimanyi
estebanzimanyi merged commit 4bf270d into MobilityDB:main Aug 29, 2026
2 checks passed
@estebanzimanyi
estebanzimanyi deleted the ci/drift-check-fails branch August 29, 2026 13:19
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