github / github/codeql-cli-binaries
`evaluation/runQueries` query server command fails silently if it fails to acquire the database lock
オープン
CLI
- 主要言語
- 言語のデータがありません
- スター
- 1k
- フォーク
- 184
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hi!
When having several query servers running on the same database (eg: VSCode + CodeQL.nvim) the first one running a query acquires a lock for the database, and running a query using `evaluation/runQueries` command on the second one fails silently without returning the reason of the failure.
コントリビューションガイド
調査の方向性
evaluation/runQueries のクエリサーバーコマンドから始め、データベースロックの取得失敗がどのように処理されるかを追跡します。同じデータベースを使用する2つのクエリサーバーでこのケースを再現します。完了の条件は、2番目のコマンドがロックを取得できなかった理由を返し、黙って失敗しないことです。
索引モデルが issue の本文から書いたものです。
評価
- 領域
- cli, database
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100