Skip to content
Snippets Groups Projects
Closed LSIF uploads fail with abbreviated OID
  • View options
  • LSIF uploads fail with abbreviated OID

  • View options
  • Closed Issue created by Warren Gifford

    Created by: efritz

    Uploading LSIF data with an abbreviated OID produces an error from src lsif upload:

    failed to enqueue payload: pq: new row for relation "lsif_uploads" violates check constraint "lsif_uploads_commit_valid_chars"

    This is the wrong error to display - we should be validating the hash before attempting to insert it. Best implementation would be able to disambiguate an abbreviated OID into a full one, as we need to ensure that the commit exists first anyway.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first