CodeQL incremental analysis speeds up C/C++ and Go scans
CodeQL scans for C/C++ and Go now run incrementally, significantly reducing analysis time for pull requests. This feature, previously released for other languages, is now available for C/C++ and Go, and also integrated into the CodeQL CLI. Incremental analysis is enabled by default for projects using the default CodeQL query suite and the build mode none extraction mechanism on GitHub.com, and is available in the CodeQL CLI starting with version 2.25.5.
- →Incremental analysis for C/C++ and Go CodeQL scans
- →CodeQL CLI support for incremental analysis
- →Performance improvements for CodeQL analysis
- →Default enablement for CodeQL incremental analysis
Features (2) ›
- Incremental analysis for C/C++ and Go CodeQL scans
CodeQL scans for C/C++ and Go on pull requests now operate incrementally, resulting in faster analysis times. This improvement is also being added to the CodeQL CLI.
- CodeQL CLI support for incremental analysis
Starting with version 2.25.5, the CodeQL CLI now supports incremental analysis, making it available for use in third-party CI systems.
Enhancements (2) ›
- Performance improvements for CodeQL analysis
Incremental analysis, previously rolled out for C#, Java, JavaScript/TypeScript, Python, and Ruby, has now been applied to C/C++ and Go. Performance gains were observed across various repository types, with significant speedups measured for incremental scans.
- Default enablement for CodeQL incremental analysis
Incremental CodeQL analysis is enabled by default for repositories using code scanning with the default CodeQL query suite and the build mode none extraction mechanism on GitHub.com.
https://github.blog/changelog/2026-06-10-incremental-analysis-for-go-c-c-and-codeql-cli
