Quick-eval results cannot be compared
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- typescript, vscode
調査の方向性
Query History ビューの Compare Results コマンドと、Quick Evaluation の実行に使用される比較ビューから始めます。同じ述語の場合と異なる述語の場合の両方を再現し、その後、述語名と結果スキーマがテーブル名のドロップダウンにどのように到達するかを追跡します。完了の条件は、一致する述語が正しく比較され、互換性のある異なるスキーマではプレースホルダーが使用され、互換性のないスキーマでは適切な警告とともに空の比較が表示されることです。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
When running the Compare Results command from the Query History view on the results of Quick Evaluation queries, the comparison view is empty, with no table names in the dropdown. If two different predicates were run, this also throws an error Schema undefined not found..
Version
CodeQL extension version: 1.4.8
CodeQL CLI version: 2.5.5
To reproduce
- Create a query file with two predicates.
int i1() { result = 1 } int i2() { result = 2 } select 1 - Quick-evaluate
i1twice. Select the two runs in Query History, right click, Compare Results.- This produces an empty compare view with no table names in the dropdown.
- Quick-evaluate
i1theni2. Select the two runs in Query History, right click, Compare Results.- This fails with an error
Schema undefined not found. - It also produces the same empty compare view with no table names in the dropdown.
- This fails with an error
Expected behavior
- When the predicate name and columns match, show the quick-eval predicate name in the dropdown, and show a comparison of results.
- If the predicate names do not match, but the two schemas are compatible, attempt to compare the results, with a placeholder table name in the dropdown.
- If the schemas aren't compatible, show an empty comparison with a suitable warning message.
- 主要言語
- TypeScript
- スター
- 539
- フォーク
- 240
- 平均マージ
- 2日 6時間
- マージ済み PR(30日)
- 29
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/vscode-codeql のほかの issue
-
bug VSCode
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
github/vscode-codeql#4471 · コメント 1 件 ·
-
bug enhancement VSCode
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
github/vscode-codeql#592 · コメント 2 件 ·
-
enhancement VSCode
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
github/vscode-codeql#4432 · コメント 1 件 ·
-
bug VSCode
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
github/vscode-codeql#4356 ·
-
bug VSCode
難易度 3/5 1〜2日 初心者へのやさしさ 64/100
github/vscode-codeql#4339 · コメント 1 件 ·
github/vscode-codeql の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
safetrustcr/dApp-SafeTrust#426 ·
-
area:workflow bug ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
fil-donadoni/tolaria#4409 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Fission-AI/OpenSpec#1960 ·
-
Add dependabot オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
corsairdev/corsair#1764 ·