Skip to content

Extension fails to realise that database needs to be upgraded #168

Closed
@max-schaefer

Description

@max-schaefer
Contributor

Steps to reproduce:

  1. Download any JavaScript database from LGTM.com, import it into VSCode
  2. Open a version of https://github.com/Semmle/ql that includes JS: Parse regular expressions from string literals codeql#2252; this PR introduces a dbscheme change that isn't on LGTM.com yet
  3. Try running a JavaScript query

The query fails to run, and opening the Query Server log reveals that this is due to a dbscheme mismatch, yet the dialog for automatically upgrading the database before running the query does not appear. Manually upgrading the database fixes the problem.

(This is the underlying bug causing github/codeql#2354.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @jcreedcmu@max-schaefer

    Issue actions

      Extension fails to realise that database needs to be upgraded · Issue #168 · github/vscode-codeql