Akhilesh Raju

Results 8 comments of Akhilesh Raju

Sorry, I forgot to mention that this job runs within a container using a custom image that had Python 3.11. I forgot to include the container part in my workflow...

Maybe running the `setup-python-dependencies` as part of the init is causing the issue? I see it's run by default https://github.com/github/codeql-action/blob/511f073971a2ce589ceea100a90831c5ca4310bb/init/action.yml#L66-L69 ![image](https://github.com/github/codeql-action/assets/145049628/5af9eda1-2491-47f2-8738-09be5159cbbf)

Now that error is gone but I am presented with a different one ``` /__w/_tool/CodeQL/2.15.3/x64/codeql/codeql database finalize --finalize-dataset --threads=4 --ram=29890 /__w/_temp/codeql_databases/python CodeQL detected code written in Python but could not...

Just tried that by setting `setup-python-dependencies: false`. Same failure unfortunately 😞

> I'm not sure, but even in a container, the workflow will try to use the python version in the toolcache. @aeisenberg Also, may I ask why is this the...

At the outset, thanks for being super responsive and helpful! 🙂 > Could you try running without the `./.github/codeql/codeql-config.yml` configuration file? Perhaps the `paths:` are resolved on the host system,...

> That is actually not a problem, but expected behaviour. Those JavaScript files from CodeQL contain stubs for JS functions that are available by default in (browser) environments. The Python...

> I could reproduce, and narrowed down the problem to cases where `paths` contains globs 😬 As a workaround, can you please use this config file? > > ``` >...