Repository navigation
Replies: 1 comment
|
Sounds like a good idea. Allow drift between patch releases, but not between major/minor. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Motivation
#903 shows INSTALL/LOAD can report success while a version-mismatched
.lbug_extensionlater SIGSEGVs. Publish-side cache issues are being mitigated; the dangerous gap is the missing hard refusal. DuckDB-style extension version checks fail closed; Ladybug should too.Research Summary
Evidence Vault
LBUG_EXTENSION_VERSIONbut load path lacks ABI/metadata refusal.Proposed Solution
LBUG_EXTENSION_VERSION/ ABI tag; on mismatch raise a typed error (no dlopen of incompatible code if detectable before call, or immediate version entry-point check before any other symbol use).SHOW LOADED EXTENSIONS(loaded / refused / reason).docs/extensions.md.Approach
Discussion-first on Ideas. Implementation touches extension loader/manager + tests that stage a mismatched stub.
Test Strategy
E2E: matching loads; mismatched refuses with stable error substring; no segfault fixture.
Alternatives Considered
PR Strategy
Ideas Discussion; PR after maintainer direction.
Related open bug: #903 (publish side is being mitigated; this proposal is the durable fail-closed LOAD contract).
Happy to open a draft PR if this shape looks right. Looking for maintainer signal before writing code.
All reactions