-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Compiled CodeQL packs cannot reference another pack from one of its query suites #8412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@dbartol or @aeisenberg could you take a look, please? |
I was on vacation and back now. I'll pick this up. |
The reason behind this error is that we need to ensure that all of a compiled query pack's dependencies are contained within the pack. This ensures that once a pack is compiled, the query results will remain constant because it does not depend on anything external that can change. There are two things here:
I will make both fixes. @Jeeppler, you can manually edit the compiled qlpack as I describe in (1), which should get this working again. |
Fixes #8412 See #8412 (comment) for more detail.
Will be fixed in the 2.9.0 CodeQL CLI release. |
Description of the issue
I am unable to run queries for a project written in C. The queries keep failing with the same error: Compiled CodeQL packs cannot reference another pack from one of its query suites.
CodeQL CLI version:
I was unable to find anything regarding the issue in the documentation. What are Compiled CodeQL packs? Why do I get this error?
The text was updated successfully, but these errors were encountered: