Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Quick query uses incompatible codeql standard library.

Open
#3,602 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript, vscode
Domain
devtools

Research direction

Start with the quick-query creation path and the pack version-selection handling described in the reproduction; reproduce the issue with CodeQL CLI 2.14.6 and the cpp-all pack. Done means a quick query selects a pack compatible with the active CLI and compiles without the reported errors.

Written by the indexing model from the issue text.

Description

bug VSCode

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.

Dominant language
TypeScript
Stars
539
Forks
240
Avg merge
2d 6h
Merged PRs (30d)
29

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/vscode-codeql

All issues in github/vscode-codeql

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.