Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick query uses incompatible codeql standard library. #3602

Open
rvermeulen opened this issue May 7, 2024 · 1 comment
Open

Quick query uses incompatible codeql standard library. #3602

rvermeulen opened this issue May 7, 2024 · 1 comment
Labels
bug Something isn't working VSCode

Comments

@rvermeulen
Copy link

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.

@rvermeulen rvermeulen added the bug Something isn't working label May 7, 2024
@github-actions github-actions bot added the VSCode label May 7, 2024
@aeisenberg
Copy link
Contributor

This only comes up when using an older CLI version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working VSCode
Projects
None yet
Development

No branches or pull requests

2 participants