-
Notifications
You must be signed in to change notification settings - Fork 329
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
Enable direct tracing the autobuild build mode by default #2353
Conversation
…lsVersion` If no features have a `toolsVersion` property, we'll never hit those code paths, so it isn't that important to test them. Having a synthetic feature is an option but might create user confusion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I'd say it's unlikely we'll ever need a minimum version feature again since we've moved to toolsVersion
.
CHANGELOG.md
Outdated
@@ -6,6 +6,7 @@ Note that the only difference between `v2` and `v3` of the CodeQL Action is the | |||
|
|||
## [UNRELEASED] | |||
|
|||
- Improve the reliability and performance of analyzing code when analyzing a compiled language with the `autobuild` [build mode](https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages#codeql-build-modes) on GitHub Enterprise Server. This feature is already available to GitHub.com users. [#2235](https://github.com/github/codeql-action/pull/2235) | |||
No user facing changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this line should be deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this was a bad auto merge.
@angelapwen would you mind reviewing the last couple of commits so we can get this in? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep looks good! ✨
Merge this once we've cut the final GHES 3.14 release.
This PR removes the feature flag for using direct tracing for the autobuild build mode, thereby enabling it for GHES.
Probably the most controversial change is removing the tests that require us to have at least one feature with a
minimumVersion
andtoolsVersion
property. I did this because if no features have atoolsVersion
property, we'll never hit those code paths, so it isn't that important to test them. Having a synthetic feature is an option but might create user confusion.Merge / deployment checklist