Skip to content

bug: schema version mismatch error message lacks binary name and version info #394

Closed

Description

@ajianaz

Description

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

  1. Create a database with uteke v0.2.0 (schema v7)
  2. Attempt to start uteke-serve from an older binary (e.g., v0.0.7, schema v1)
  3. Error message reads:
    database schema version 7 is newer than supported version 1; please upgrade uteke
    

Problem

  1. 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.
  2. What version? No guidance on what version is required to support schema v7.
  3. 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.

Environment

  • uteke version: 0.2.0
  • uteke-serve version: 0.2.0
  • Platform: Linux

Activity

  1. added
    bug
    priority:low
    scope:server
    on Jun 19, 2026
  2. added a commit that references this issue on Jun 19, 2026
  3. added a commit that references this issue on Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority:lowscope:server

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions