Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-5348

[Build Failure] CodeQL for GitHub Actions is not finding code to test

    • Type: Icon: Build Failure Build Failure
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: greenerbuild
    • None
    • None
    • Python Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Name of Failure:

      CodeQL detected code written in Python, C/C++ and JavaScript/TypeScript, but not any written in GitHub Actions.

      Link to task:

      https://github.com/mongodb/mongo-python-driver/actions/runs/14626045225/job/41037654511

      Context of when and why the failure occurred:

      This appears to be a change in CodeQL, but I couldn't find any tickets or changelog items.

      Stack trace:

        /opt/hostedtoolcache/CodeQL/2.21.1/x64/codeql/codeql database finalize --finalize-dataset --threads=4 --ram=14575 /home/runner/work/_temp/codeql_databases/actions
        CodeQL detected code written in Python, C/C++ and JavaScript/TypeScript, but not any written in GitHub Actions. Confirm that there is some source code for GitHub Actions in the project. 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 "/opt/hostedtoolcache/CodeQL/2.21.1/x64/codeql/codeql database finalize --finalize-dataset --threads=4 --ram=14575 /home/runner/work/_temp/codeql_databases/actions". Exit code was 32 and last log line was: CodeQL detected code written in Python, C/C++ and JavaScript/TypeScript, but not any written in GitHub Actions. Confirm that there is some source code for GitHub Actions in the project. 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.
      

            Assignee:
            steve.silvester@mongodb.com Steve Silvester
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: