Quick query uses incompatible codeql standard library.

オープン
#3,602 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
typescript, vscode
領域
devtools

調査の方向性

再現手順で説明されている quick-query の作成パスと pack のバージョン選択処理から始め、CodeQL CLI 2.14.6 と cpp-all pack で問題を再現してください。quick query がアクティブな CLI と互換性のある pack を選択し、報告されているエラーなしでコンパイルできれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
539
フォーク
240
平均マージ
2日 6時間
マージ済み PR(30日)
29

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github/vscode-codeql のほかの issue

github/vscode-codeql の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。