github / github/codeql

Kotlin language database create bug?

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

説明

I tried to build the language database using CodeQL, but encountered an error.

And now I have read this article:
https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build.
I didn't receive any help

Image

However, I used the configuration command when creating the database.
```
codeql database create test --language=kotlin --source-root=/k/test --no-run-unnecessary-builds --command="/k/test/gradlew build" --overwrite
```
I can build success by executing /k/test/gradlew build separately.

I hope to receive assistance. thanks

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

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

調査の方向性

Start by reviewing the reported CodeQL database create command and the linked troubleshooting article, then compare it with the separately successful /k/test/gradlew build. Reproduce the command and capture the missing error details; done means the Kotlin database is created successfully with the given source root and build command.

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

評価

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

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

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