Skip to content

Upgrade to codeql cli 2.27.4 - #471

Merged
data-douser merged 4 commits into
mainfrom
fix/codeql-2.27.4-model-compatibility
Nov 11, 2026
Merged

data-douser merged 4 commits into
mainfrom
fix/codeql-2.27.4-model-compatibility

Conversation

@mbaluda

@mbaluda mbaluda commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

This pull request upgrades the CodeQL JavaScript packs and all related dependencies to version 3.0.0, aligning all qlpack.yml and lock files accordingly. It also updates the automation workflow to ensure JavaScript dependency versions are automatically aligned with the selected CodeQL CLI release. All relevant package versions have been bumped to 2.27.4 to reflect these changes.

Dependency and Version Alignment

  • Upgraded codeql/javascript-all dependency to ^3.0.0 across all qlpack.yml files for CAP, UI5, and XSJS frameworks, and updated internal package dependencies to version 2.27.4 for consistency.
  • Updated all codeql-pack.lock.yml files to reference codeql/javascript-all version 3.0.0 and bumped all other CodeQL dependencies to their latest compatible versions.

Automation and Workflow Improvements

  • Enhanced the update-codeql.yml GitHub Actions workflow to automatically align JavaScript dependency and model target ranges with the selected CodeQL CLI release, ensuring consistency and reducing manual intervention.

General Maintenance

  • Bumped the CodeQL CLI version from 2.27.3 to 2.27.4 in .codeql-version for consistency with the new pack versions.

These changes ensure compatibility with the latest CodeQL JavaScript libraries and streamline future updates.

data-douser and others added 3 commits November 3, 2026 01:18
CodeQL 2.27.4 bundles codeql/javascript-all 3.0.0. The SAP model packs
targeted ^2.6.24, so CodeQL ignored them and dropped CAP, UI5, and XSJS
Code Scanning results.

Upgrade all javascript-all dependencies and extension targets to ^3.0.0,
regenerate the pack lock files, and align these ranges automatically in
future CodeQL upgrade PRs.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 10, 2026 18:15
CodeQL upgrade PRs updated qlt.conf.json but left .codeql-version stale.
Update the pinned CLI version with the other version-bearing files and
validate it in --check. Skip missing pins so older release tags remain
checkable.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The javascript-all 3.0.0 major upgrade requires CodeQL test and model-regression confirmation that could not be obtained because runtimes were unavailable and upstream release metadata was inaccessible.

No open issues 🎉

What changed in this PR

This PR aligns the repository’s SAP CodeQL packs with CodeQL CLI 2.27.4 and JavaScript library 3.0.0, updating model compatibility ranges and automating alignment for future upgrades.

Changes:

  • Bumps CLI configuration and internal pack versions to 2.27.4.
  • Updates JavaScript dependencies and model extension targets to ^3.0.0, with refreshed lock files.
  • Adds workflow automation to derive JavaScript library versions from the selected CLI release.
File Description
qlt.conf.json Updates CLI, standard-library, and bundle references to 2.27.4.
javascript/​heuristic-models/​tests/​qlpack.yml Aligns heuristic test pack versions and dependencies.
javascript/​heuristic-models/​tests/​codeql-pack.lock.yml Refreshes heuristic test dependency locks.
javascript/​heuristic-models/​ext/​qlpack.yml Updates heuristic model version and extension target.
javascript/​frameworks/​xsjs/​test/​qlpack.yml Aligns XSJS test pack versions and dependencies.
javascript/​frameworks/​xsjs/​test/​codeql-pack.lock.yml Refreshes XSJS test dependency locks.
javascript/​frameworks/​xsjs/​src/​qlpack.yml Updates XSJS query pack version and dependencies.
javascript/​frameworks/​xsjs/​src/​codeql-pack.lock.yml Refreshes XSJS query dependency locks.
javascript/​frameworks/​xsjs/​lib/​qlpack.yml Updates XSJS library version and JavaScript dependency.
javascript/​frameworks/​xsjs/​lib/​codeql-pack.lock.yml Refreshes XSJS library dependency locks.
javascript/​frameworks/​xsjs/​ext/​qlpack.yml Updates XSJS model version and extension target.
javascript/​frameworks/​ui5/​test/​qlpack.yml Aligns UI5 test pack versions and dependencies.
javascript/​frameworks/​ui5/​test/​codeql-pack.lock.yml Refreshes UI5 test locks, including JavaScript queries 2.5.0.
javascript/​frameworks/​ui5/​src/​qlpack.yml Updates UI5 query pack version and dependencies.
javascript/​frameworks/​ui5/​src/​codeql-pack.lock.yml Refreshes UI5 query dependency locks.
javascript/​frameworks/​ui5/​lib/​qlpack.yml Updates UI5 library version and JavaScript dependency.
javascript/​frameworks/​ui5/​lib/​codeql-pack.lock.yml Refreshes UI5 library dependency locks.
javascript/​frameworks/​ui5/​ext/​qlpack.yml Updates UI5 model version and extension target.
javascript/​frameworks/​ui5-webcomponents/​test/​qlpack.yml Aligns Web Components test versions and dependencies.
javascript/​frameworks/​ui5-webcomponents/​test/​codeql-pack.lock.yml Refreshes Web Components test dependency locks.
javascript/​frameworks/​cap/​test/​qlpack.yml Aligns CAP test pack versions and dependencies.
javascript/​frameworks/​cap/​test/​codeql-pack.lock.yml Refreshes CAP test dependency locks.
javascript/​frameworks/​cap/​src/​qlpack.yml Updates CAP query pack version and dependencies.
javascript/​frameworks/​cap/​src/​codeql-pack.lock.yml Refreshes CAP query dependency locks.
javascript/​frameworks/​cap/​lib/​qlpack.yml Updates CAP library version and JavaScript dependency.
javascript/​frameworks/​cap/​lib/​codeql-pack.lock.yml Refreshes CAP library dependency locks.
javascript/​frameworks/​cap/​ext/​qlpack.yml Updates CAP model version and extension target.
.github/​workflows/​update-codeql.yml Automates JavaScript dependency and model-target alignment.
.codeql-version Sets the CLI version to v2.27.4.

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 10, 2026 18:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The javascript-all 3.0.0 major upgrade still needs cross-platform tests, bundle-loading regression checks, and code-scanning CI confirmation, while access restrictions blocked upstream compatibility and manifest validation.

No open issues 🎉

Review effort: Balanced

@mbaluda mbaluda changed the title Fix/codeql 2.27.4 model compatibility Upgrade to codeql cli 2.27.4 Nov 10, 2026

@data-douser data-douser left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@data-douser
data-douser merged commit 6942f11 into main Nov 11, 2026
20 checks passed
@data-douser
data-douser deleted the fix/codeql-2.27.4-model-compatibility branch November 11, 2026 03:02
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.

3 participants