- Notifications
You must be signed in to change notification settings - Fork358
Bump minimum CodeQL version to 2.16.6#2912
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
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.
Pull Request Overview
This PR raises the minimum supported CodeQL CLI version to 2.16.6, removes legacy guards and features for older releases, and updates CI/test matrices and the action version accordingly.
- Remove version checks and feature flags for CodeQL ≤ 2.16.5
- Add stable-v2.20.7 to defaultTestVersions and workflow matrices; drop v2.15.5
- Bump action minor version to 3.29.0 and record in CHANGELOG
Reviewed Changes
Copilot reviewed 41 out of 41 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
src/analyze.ts | Drop redundant supportsFeature guard around build-mode tracing |
pr-checks/sync.py | Remove stable-v2.15.5, add stable-v2.20.7 in defaultTestVersions |
pr-checks/checks/cpp-deptrace-enabled-on-macos.yml | Include “linked” as a valid version for macOS C/C++ deptrace check |
package.json | Bump action version from 3.28.19 to 3.29.0 |
lib/tracer-config.js | Simplify getCombinedTracerConfig; remove CODEQL_RUNNER fallback logic |
lib/tracer-config.test.js | Rename test and drop outdated runner-env tests |
lib/tools-features.js | Remove deprecated ToolsFeature flags |
lib/tools-features.test.js | Update test to cover new ForceOverwrite flag |
lib/init.js | Eliminate printPathFiltersWarning export and refactor initConfig grouping |
lib/init.test.js | Remove tests for deprecated path-filters warning |
lib/init-action.js | Streamline debug options; remove Go static-binary wrapper |
lib/autobuild.js | Remove legacy feature check, simplify autobuild decision logic |
lib/analyze.js | Remove unused import and obsolete supportsFeature check |
lib/codeql.js | Bump CODEQL_MINIMUM_VERSION to 2.16.6; drop buildModeOption guard |
CHANGELOG.md | Add “Bump minimum CodeQL bundle version to 2.16.6” entry |
.github/workflows/__multi-language-autodetect.yml | Remove v2.15.5 matrix entries; add v2.20.7 |
.github/workflows/__go-tracing-legacy-workflow.yml | Remove v2.15.5 entries; add v2.20.7 |
.github/workflows/__go-tracing-custom-build-steps.yml | Remove v2.15.5 entries; add v2.20.7 |
.github/workflows/__go-tracing-autobuilder.yml | Remove v2.15.5 entries; add v2.20.7 |
.github/workflows/__cpp-deptrace-enabled-on-macos.yml | Add matrix entry for version “linked” on macOS |
Comments suppressed due to low confidence (2)
pr-checks/sync.py:11
- Update this comment to point at the actual file where
CODEQL_MINIMUM_VERSION
lives (now inlib/codeql.js
), so future bumps aren’t missed.
# The oldest supported CodeQL version. If bumping, update `CODEQL_MINIMUM_VERSION` in `codeql.ts`
lib/tracer-config.test.js:62
- Consider adding a test that validates the returned
env
object matches the contents ofstart-tracing.json
(e.g. ensureCODEQL_DIST
andCODEQL_PLATFORM
are mapped correctly), to retain full coverage of tracer-config behavior.
(0, ava_1.default)("getCombinedTracerConfig", async (t) => {
ed2a3d0
tod54c5e2
CompareNote that this PR updates the set of required checks — we'll need to followthese steps before merging. |
This PR bumps the minimum CodeQL version to 2.16.6, as announced by#2859.
Merge / deployment checklist