Skip to content

Restarting vscode while the extension is starting up can remove databases. #1489

@alexet

Description

@alexet

Describe the bug
Restarting the extension before all databases have been reloaded means we lose the databases that haven't been loaded yet.

Version

CodeQL extension version: 1.6.11
CodeQL CLI version: 2.10.3
Platform: linux x64

To reproduce

  • Start vscode with the extension and add some large databases.
  • Restart vscode.
  • Close it while some but not all databases have been loaded.
  • Reopen it and notice that the databases are missing.

Expected behavior

The databases that weren't loaded were loaded the next time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    VSCodebugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions