Confusing CodeQL Error: Go files were found but not processed
維護者通常 1 天內回覆
@mbg 已經在處理了。
開始於 2024年10月4日。
評估
這個 Issue 還沒有評估資料。
描述
Error: Go files were found but not processed
We are seeing a weird error complaining not all Go files were processed and the error also appears on the default CodeQL scan configuration.
We have some Go files with build tags for testing purposes, for example: https://github.com/linode/terraform-provider-linode/blob/dev/linode/stackscripts/framework_models_unit_test.go#L1, which are the files not included in the scan, but I think it should not trigger an error because generally go build won't build test files (correct me if I'm wrong on this).
Is there any way to get more detailed error message or ignore the error from scanning status reporting?
And I think the correct behavior is to ignore test files not being built in the action.
- 主要語言
- TypeScript
- 星號
- 1.7k
- 分支
- 495
- 平均合併
- 1 天 2 小時
- 30 天內合併 PR
- 47
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
github/codeql-action 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 68/100
github/codeql-action#4052 · 4 則留言 ·
維護者通常 1 天內回覆
-
難度 4/5 3-5 天 新手友好度 45/100
github/codeql-action#4185 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 4/5 3-5 天 新手友好度 48/100
github/codeql-action#4173 · 2 則留言 ·
維護者通常 1 天內回覆
-
難度 4/5 3-5 天 新手友好度 45/100
github/codeql-action#4078 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 4/5 3-5 天 新手友好度 48/100
github/codeql-action#4008 · 9 則留言 ·
維護者通常 1 天內回覆
查看 github/codeql-action 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 67/100
ehmpathy/rhachet-roles-bhrain#586 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 65/100
OHDSI/Data2Evidence#3496 ·
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
apache/rocketmq-dashboard#5594 ·
維護者通常 3 天內回覆
-
react-doctor severity:warning tech-debt
難度 1/5 1 小時以內 新手友好度 88/100
digidem/comapeo-cloud-app#418 ·
維護者通常 1 天內回覆