github / github/codeql

UX: codeql database analyze should display timestamps

未關閉
#17,928 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
question
主要語言
CodeQL
星號
10.1k
分支
2.1k
平均合併
2 天 15 小時
30 天內合併 PR
141

描述

When executing the `codeql database analyze [] -- ` the CodeQL runs the queries from the given query suite by first loading them, compiling a query plan and then evaluating the queries.

The evaluation of certain queries can have a very pessimistic execution time and in some cases, when a project (database) is huge or/and for complex or poorly written queries, the execution of a given query may never finish.

It would be awesome if the CodeQL CLI would show timestamps by default so that one could see when the `Starting evaluation of ` actually started to see how long it is being executed already, to decide whether to stop it etc.

Please see also: #17930 and #17929.

貢獻指南

開啟貢獻指南

研究方向

該 issue 未指出原始檔案、測試或進入點。先找出 `codeql database analyze` 的實作和現有的 `Starting evaluation of ` 輸出,然後識別相關的 CLI 測試;完成的標準是該命令預設顯示時間戳記,以便判斷評估持續時間。

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

評估

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

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

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