Use linked CodeQL CLI for Kotlin 2.3.x support#197
Conversation
CodeQL CLI 2.24.3 doesn't support Kotlin 2.3.20 yet. Using `tools: linked` tells the action to use its bundled CLI which includes pre-release support. Ref: github/codeql#20661
Sensitive Change Detection (shadow mode)This PR modifies control-plane files:
|
There was a problem hiding this comment.
Pull request overview
This PR updates the CodeQL GitHub Actions workflow to use the action’s linked (bundled) CodeQL CLI so the java-kotlin analysis can handle Kotlin 2.3.x, addressing current CI failures.
Changes:
- Configure the CodeQL
initstep in theanalyzejob to usetools: linkedfor newer Kotlin support. - Document the rationale inline (reference to github/codeql#20661).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
CodeQL CLI 2.24.3 doesn't support Kotlin 2.3.20 (released 2026-03-16). No CodeQL version — stable, linked, or nightly — has the fix yet. Disables java-kotlin in the analysis matrix rather than downgrading Kotlin or swallowing build failures. The Kotlin SDK build and tests still run via test.yml. Tracking: github/codeql#21484
There was a problem hiding this comment.
Pull request overview
This PR is intended to unblock the java-kotlin CodeQL workflow for Kotlin 2.3.x by adjusting how CodeQL tooling is provisioned, so CI can run successfully while retaining Kotlin security scanning.
Changes:
- Disables
java-kotlinfrom the CodeQL language matrix (both default and PR-changes-based paths). - Adds comments indicating Kotlin 2.3.20 is not yet supported (with an upstream issue reference).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
java-kotlinin the CodeQL workflow matrix until CodeQL catches uptest.yml— only static analysis is pausedAlso discovered: the repo runs duplicate CodeQL checks — default setup (org-controlled) produces
Analyze (*)jobs alongside our custom workflow'sCodeQL (*)jobs. The org config can't be disabled per-repo without losing secret scanning/GHAS. Noted in #198.Test plan
CodeQL (java-kotlin)job no longer appears in CIAnalyze (java-kotlin)from default setup is unaffected (currently passing)