Skip to content

Quick query uses incompatible codeql standard library. #3602

Open
@rvermeulen

Description

@rvermeulen

Describe the bug
The extension supports a range of CLI versions.
When creating a quick-query, the created pack will favor the latest available pack for the language through the version specification *. However, this pack might not be compatible with the current CodeQL CLI version.

Version
CodeQL extension version: 1.13.0
CodeQL CLI version: 2.14.6
Platform: darwin x64

To reproduce

  1. codeql pack download "codeql/cpp-all" this downloads 0.13.0, the latest pack as of writing.
  2. Create a quick-query using the extension.
  3. Since the CLI has version 2.14.6 this immediately triggers errors and the query cannot compile.

Expected behavior
The quick-query should select a pack that is compatible with the current used CLI.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    VSCodebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions