Skip to content

Local-review validate on an auth site prints Better Auth's "Could not validate the database schema" while passing #1013

Closed

Description

@jimhoyd

Observed while fixing #1001 (PR #1012). urlcode validate --local --local-review on a site with the auth extension passes, but Better Auth prints a line to stderr: "Could not validate the database schema". It was already there before #1012.

The local-review run starts from a throwaway database, and auth creates its tables there (#947). The message probably comes from a schema check that runs before, or outside, that creation. Unverified: which Better Auth call prints it.

Expected: a passing local-review validate prints nothing that looks like a failure. An agent or operator reading stderr can take this line for a real problem.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions