-
Notifications
You must be signed in to change notification settings - Fork 190
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
CodeQL CLI enter path to executable creates odd query failures #2199
Comments
Hmmm...it looks like the language server wasn't retarted when you added the new CLI version. It was stil using 2.10, which would explain the error message "Unknown pragma..." since the To be honest, I'm not entirely sure what the lifecycle of the language server is. I don't think the language server is restarted when there is a new CLI version being used. The second error is something different and I will need to explore some more. |
I'm thinking that the error with running the queries has to do with using the bundle. As a workaround, can you try using a non-bundle version of the CLI? (It's supposed to work with a bundle, but it's looking like for some reason, there is an issue). |
@aeisenberg yep you were totally right, tried it today with a pack install and just CLI binary workflow and the reload window does clear up the error message! |
I tried a few ways to reproduce this part of the error:
but I could not. It sounds like you are currently unblocked and there are no more reproducible errors, so I'll be closing this issue. |
Describe the bug
CodeQL extension shows red error squiggles but is able to execute query.
This happens to me specifically when:
Additionally , reload window does make the error squiggles go away , but then the query actually becomes un-runnable, seemingly no matter what else is done.
Version
The CodeQL and VS Code version in which the bug occurs.
CodeQL version: 2.12.2
CodeQL extension version: 1.8.0
To reproduce
listed above.
sample query:
sample qlpack.yml:
Expected behavior
No red squiggles present. and for reload window to not mysteriously break the environment.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: