You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: schema version mismatch error message lacks binary name and version info #394
When uteke-serve encounters a database with a newer schema than it supports, the error message doesn't include the binary name or version, making it unclear which binary needs upgrading and what version to target.
Steps to Reproduce
Create a database with uteke v0.2.0 (schema v7)
Attempt to start uteke-serve from an older binary (e.g., v0.0.7, schema v1)
Error message reads:
database schema version 7 is newer than supported version 1; please upgrade uteke
Problem
Which binary? The message says "please upgrade uteke" but the failure is in uteke-serve. With two binaries at different versions, users may upgrade uteke (the CLI) while uteke-serve remains old — or vice versa.
What version? No guidance on what version is required to support schema v7.
No binary identification: The error doesn't say which binary produced the message.
Suggested Fix
Include binary name and version in the error:
uteke-serve v0.0.7 cannot open database with schema v7 (requires v0.2.0+)
Or more verbosely:
uteke-serve v0.0.7 found database schema version 7 but only supports up to version 1.
Please upgrade uteke-serve to v0.2.0 or later to use this database.
Activity
fix(#394): include binary name+version in schema mismatch error (#398)
fix(#394): include binary name+version in schema mismatch error (#398)