-
Type:
Build Failure
-
Resolution: Done
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: winkerberos
-
🔵 Done
-
Python Drivers
-
Not Needed
-
-
None
-
None
-
None
-
None
-
None
-
None
Name of Failure:
CodeQL detected code written in Python but could not process any of it
Link to task:
https://github.com/mongodb/winkerberos/actions/runs/18813633466/job/53678806056
Context of when and why the failure occurred:
GitHub appears to have added a check to see whether any files were scanned for a given scan type. Since Winkerberos is a pure C extension, there is no python code to scan. We should remove the check for python code.
Stack trace:
C:\hostedtoolcache\windows\CodeQL\2.23.3\x64\codeql\codeql.exe database finalize --finalize-dataset --threads=4 --ram=14437 D:\a\_temp\codeql_databases\python CodeQL detected code written in Python but could not process any of it. Check the workflow run logs (see https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/using-workflow-run-logs). For more information, review our troubleshooting guide at https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build . Error: Encountered a fatal error while running "C:\hostedtoolcache\windows\CodeQL\2.23.3\x64\codeql\codeql.exe database finalize --finalize-dataset --threads=4 --ram=14437 D:\a\_temp\codeql_databases\python". Exit code was 32 and last log line was: CodeQL detected code written in Python but could not process any of it. Check the workflow run logs (see https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/using-workflow-run-logs). For more information, review our troubleshooting guide at https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build . See the logs for more details.