I started getting it in https://github.com/geany/geany/pull/4205 and now it fails also for the merged https://github.com/geany/geany/pull/4095 in master. Probably nothing to do with the changes made in our code but possibly some change (bug?) on the CodeQL side.
Unfortunately from the error message it's not really clear what's going on.
I started getting it in [#4205](https://github.com/geany/geany/pull/4205) and now it fails also for the merged [#4095](https://github.com/geany/geany/pull/4095) in master.
If you pushed to those branches multiple times, the subsequent builds used cached objects; CodeQL was not built to cope with those:
Since CodeQL observes the activity of the compiler to understand the data flows in a repository, CodeQL requires a complete build to take place in order to perform analysis.
If you pushed to those branches multiple times, the subsequent builds used cached objects; CodeQL was not built to cope with those:
Those failures now happen for every new PR.
I also think caching is not involved here.
To be sure, I removed installing "ccache" in #4208, still I think it never had an effect as the cached artefacts from "ccache" were never persisted between workflow runs.
In #4208 I removed the "autobuild" step and replaced it with "build-mode: autobuild" as mentioned in the docs but it failed with a different error ("could not compile"). So I reverted the changes again.
I also checked the version of the CodeQL action but the last successful build was using the same version as the failing builds.
Finally it got green after I replace "autobuild" with "manual" and added steps for running a simple Meson build.
While this is nice, I still have no clue why it doesn't work anymore with "autobuild" :(.
github-comments@lists.geany.org