Skip to content

Upgrade CodeQL CLI dependency to v2.25.3#269

Merged
data-douser merged 5 commits intomainfrom
codeql/upgrade-to-v2.25.3
May 4, 2026
Merged

Upgrade CodeQL CLI dependency to v2.25.3#269
data-douser merged 5 commits intomainfrom
codeql/upgrade-to-v2.25.3

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 1, 2026

This PR upgrades the CodeQL CLI version to v2.25.3.

Changes made:

  • Updated .codeql-version to v2.25.3
  • Updated all version-bearing files (package.json, extensions/vscode/package.json, codeql-pack.yml) to 2.25.3
  • Regenerated package-lock.json
  • Upgraded CodeQL pack lock files
  • Build and tests passed ✅

@github-actions github-actions Bot requested review from a team, data-douser and enyil as code owners May 1, 2026 15:16
@data-douser data-douser closed this May 1, 2026
@data-douser data-douser reopened this May 1, 2026
@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented May 1, 2026

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 2 package(s) with unknown licenses.
See the Details below.

License Issues

package-lock.json

PackageVersionLicenseIssue Type
extensions/vscode2.25.3NullUnknown License
server2.25.3NullUnknown License

OpenSSF Scorecard

PackageVersionScoreDetails
npm/extensions/vscode 2.25.3 UnknownUnknown
npm/server 2.25.3 UnknownUnknown

Scanned Files

  • package-lock.json

@github-actions github-actions Bot force-pushed the codeql/upgrade-to-v2.25.3 branch from f8bc894 to e0071fa Compare May 2, 2026 06:35
Previously, codeql pack upgrade was a no-op for packs with pinned
codeql/<lang>-all dependencies because the existing pin already
satisfied the constraint. This left codeql-pack.lock.yml files
unchanged across CLI bumps, even though newer compatible library
pack versions were available.

The fix temporarily rewrites the pinned dependency to a wildcard
before running codeql pack upgrade, then restores the manifest and
pins it to the version resolved into the lock file.

Also regenerates all pack lock files and re-pins manifests against
CodeQL CLI v2.25.3, and refreshes ruby/rust/swift PrintAST/PrintCFG
.expected files for benign output ordering and library behavior
changes introduced by the upgraded codeql/*-all packs.
Adds a 'check-existing-branch' job that runs after detect-update and
gates the create-pr job. On scheduled (cron) runs, if the target
'codeql/upgrade-to-vX.Y.Z' branch already exists on origin, the rest
of the pipeline is skipped so peter-evans/create-pull-request does
not force-push over reviewer commits or follow-up fixes (such as
manually-applied lock-file refreshes).

The check is bypassed on workflow_dispatch so a maintainer can
always force a refresh by re-running the workflow manually.
CI runs query unit tests with install-language-runtimes: true, which
makes rustc/cargo available to the rust extractor and causes println!
and similar macros to be expanded to their stdlib internals
was performed without rust installed locally, so the expected files
captured the collapsed output and did not match CI.

Re-learned with rustc 1.95.0 installed via rustup, matching the CI
runner environment.
Copilot stopped work on behalf of enyil due to an error May 4, 2026 18:17
…ut (#270)

Agent-Logs-Url: https://github.com/advanced-security/codeql-development-mcp-server/sessions/beb1ad8c-da44-4beb-8483-c2b6d9e1f2b7

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: enyil <87337678+enyil@users.noreply.github.com>
@data-douser
Copy link
Copy Markdown
Collaborator

Thanks @enyil

@data-douser data-douser merged commit e23c9f4 into main May 4, 2026
31 checks passed
@data-douser data-douser deleted the codeql/upgrade-to-v2.25.3 branch May 4, 2026 19:17
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.

2 participants