github / github/codeql-cli-binaries

`evaluation/runQueries` query server command fails silently if it fails to acquire the database lock

未關閉
#51 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
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.

貢獻指南

開啟貢獻指南

研究方向

Start at the evaluation/runQueries query server command and trace how database-lock acquisition failures are handled. Reproduce the case with two query servers using the same database; done means the second command returns the reason it could not acquire the lock instead of failing silently.

由索引模型根據 Issue 內容生成。

評估

領域
cli, database
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。