Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Distribution is invalid after an upgrade

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
typescript, vscode
領域
tooling

調査の方向性

レポートには実装ファイルもテストも記載されていません。まず、アップグレード中に workspace の状態が CodeQL ディストリビューションをどのように選択して削除するかを追跡し、続いて説明されている 2 つの workspace のシーケンスを再現してください。アップグレードされていない workspace が削除済みのディストリビューションを解決しなくなり、CodeQL コマンドが実行できれば完了です。

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

説明

bug VSCode

Describe the bug

A bug was reported where a user upgraded and then was no longer able to run any codeql commands. On deeper inspection, we noticed that the path to the distribution was incorrect. The user was getting errors like:

Caused by: java.nio.file.NoSuchFileException: /Users/.../Library/Application Support/Code/User/globalStorage/github.vscode-codeql/distribution9/codeql/tools/codeql.jar

The actual distribution was located at .../distribution10/..., not .../distribution9/....

To reproduce

I haven't tried to reproduce, but suspect that the problem is the following:

  1. Open two workspaces and ensure the installed version of the cli is outdated
  2. Upgrade the cli versin in one of the workspaces
  3. Do not upgrade in the other workspace
  4. I think the non-upgraded workspace will still point to the old distribution even though it has been deleted.
    • It might be that you need to ensure the non-upgraded workspace has already initialized its codeql instance.
  5. Now, doing anything codeql related in the non-upgraded workspace will cause the error.
主要言語
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 を短くまとめたダイジェスト。