Skip to content
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

Run ML-powered queries on Windows with CodeQL CLI 2.9.0+ #1051

Merged
merged 5 commits into from
May 11, 2022

Conversation

henrymercer
Copy link
Contributor

@henrymercer henrymercer commented Apr 28, 2022

Versions 2.9.0+ of the CodeQL CLI run machine learning models from a temporary directory, which resolves an issue on Windows where TensorFlow models are not correctly loaded due to the absolute path of some of their files being greater than MAX_PATH (260 characters).

We should wait until all virtual environments including CodeQL CLI 2.9.0 have been fully rolled out before merging this PR to avoid alert churn from Code Scanning being run intermittently on the new and old bundles and therefore intermittently running with and without ML-powered queries on Windows.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

@henrymercer henrymercer requested a review from a team as a code owner April 28, 2022 18:18
@henrymercer henrymercer force-pushed the henrymercer/run-atm-on-windows branch from fdac77d to ed0abc6 Compare April 28, 2022 18:22
@henrymercer henrymercer added the DO NOT MERGE This pull request should not be merged yet label Apr 29, 2022
@henrymercer
Copy link
Contributor Author

Ready for review, but not ready to be merged yet per the PR description.

src/config-utils.test.ts Outdated Show resolved Hide resolved
@henrymercer
Copy link
Contributor Author

@henrymercer henrymercer removed the DO NOT MERGE This pull request should not be merged yet label May 11, 2022
@henrymercer henrymercer merged commit 1fae5bf into main May 11, 2022
@henrymercer henrymercer deleted the henrymercer/run-atm-on-windows branch May 11, 2022 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants