github / github/codeql

UX: interrupt codeql database analyze should write the already computed results to the output file

オープン
#17,930 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
question
主要言語
CodeQL
スター
10.1k
フォーク
2.1k
平均マージ
2日 15時間
マージ済み PR(30日)
141

説明

When executing `codeql database analyze --format=sarif-latest --output=out.sarif -- ` on a large project it may happen that certain queries evaluation takes a very long time.

In such a case it would be very useful to be able to interrupt the analyze process (e.g., via CTRL+C) and save the output file with results from the queries that have already been evaluated.

This along with #17929 and #17928 would substantially improve the user experience of CodeQL.

PS: Sorry if those issues should belong to the CodeQL CLI binaries repo. I started creating them here and realized it later on. Let me know if I should move them there.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start at the `codeql database analyze --format=sarif-latest --output=out.sarif -- ` entry point and inspect how interruption and output writing are handled. Done means interrupting a long analysis writes results from queries that have already completed to `out.sarif`; related issues #17929 and #17928 provide additional context.

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

評価

領域
cli, security
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。