Skip to content

Merge main into releases/v3 #2814

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 32 commits into from
Mar 19, 2025
Merged

Merge main into releases/v3 #2814

merged 32 commits into from
Mar 19, 2025

Conversation

github-actions[bot]
Copy link
Contributor

Merging 6349095 into releases/v3.

Conductor for this PR is @smowton.

Contains the following pull requests:

Please do the following:

  • Ensure the CHANGELOG displays the correct version and date.
  • Ensure the CHANGELOG includes all relevant, user-facing changes since the last release.
  • Check that there are not any unexpected commits being merged into the releases/v3 branch.
  • Ensure the docs team is aware of any documentation changes that need to be released.
  • Mark the PR as ready for review to trigger the full set of PR checks.
  • Approve and merge this PR. Make sure Create a merge commit is selected rather than Squash and merge or Rebase and merge.
  • Merge the mergeback PR that will automatically be created once this PR is merged.
  • Merge all backport PRs to older release branches, that will automatically be created once this PR is merged.

github-actions bot and others added 30 commits March 7, 2025 16:09
Mergeback v3.28.11 refs/heads/releases/v3 into main
When a user specifies "cleanup-level: overlay", it suggests that the
user wishes to preserve the evaluation cache for future use. So in this
case we should not set --expect-discarded-cache when running queries.
Bumps the npm group with 3 updates: [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js), [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser).


Updates `@eslint/js` from 9.21.0 to 9.22.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.22.0/packages/js)

Updates `@typescript-eslint/eslint-plugin` from 8.26.0 to 8.26.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.26.1/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 8.26.0 to 8.26.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.26.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps the actions group with 1 update: [ruby/setup-ruby](https://github.com/ruby/setup-ruby).


Updates `ruby/setup-ruby` from 1.221.0 to 1.222.0
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb)
- [Commits](ruby/setup-ruby@32110d4...277ba2a)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <[email protected]>
…0c3752

build(deps-dev): bump the npm group with 3 updates
This commit adds a OverlayDatabaseMode parameter to
databaseInitCluster(). The parameter controls the "codeql database init"
flags concerning overlay database creation.

There is no behavior change in this commit because we always pass
OverlayDatabaseMode.None to databaseInitCluster(). That will change in
the next commit.
This commit adds support for creating overlay-base and overlay
databases, controlled via the CODEQL_OVERLAY_DATABASE_MODE environment
variable.
Basic support for overlay databases
…s-96d25c356e

build(deps): bump ruby/setup-ruby from 1.221.0 to 1.222.0 in the actions group
I explicitly had to downgrade "@octokit/plugin-retry" to "^6.0.0". Other
dependencies were upgraded.
Bumps the actions group with 1 update: [ruby/setup-ruby](https://github.com/ruby/setup-ruby).


Updates `ruby/setup-ruby` from 1.222.0 to 1.226.0
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb)
- [Commits](ruby/setup-ruby@277ba2a...922ebc4)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <[email protected]>
…s-c2c311daa1

build(deps): bump ruby/setup-ruby from 1.222.0 to 1.226.0 in the actions group
…dless

Set and cache dependency directory for Java `build-mode: none`
@smowton smowton marked this pull request as ready for review March 19, 2025 12:18
@Copilot Copilot AI review requested due to automatic review settings March 19, 2025 12:18
@smowton smowton requested a review from a team as a code owner March 19, 2025 12:18
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Merging main into releases/v3 to integrate new overlay database mode support and dependency caching enhancements.

  • Introduces overlay database mode constants and logic in initialization and CodeQL operations.
  • Enhances dependency caching for Java build-mode: none and propagates new cleanup-level parameters to query execution.
  • Updates test cases and workflow configuration to reflect these changes.

Reviewed Changes

Copilot reviewed 1685 out of 1686 changed files in this pull request and generated no comments.

Show a summary per file
File Description
lib/overlay-database-utils.js Adds overlay database mode constants and exports.
lib/init-action.js Integrates overlay database mode logic and logging into initialization.
lib/init.js Exports and implements getOverlayDatabaseMode; updates runInit to pass the overlay mode.
lib/analyze.js Adds dependency caching logic for Java and configures extractor options.
lib/git-utils.js Removes unused Git merge utility functions.
lib/analyze-action-post.js Adds cleanup for temporary Java dependency directory post-action.
.github/workflows/__rubocop-multi-language.yml Updates Ruby setup action version.
lib/dependency-caching.js Exports a function for obtaining the Java temporary dependency directory and adds it to the cache directories.
CHANGELOG.md Documents dependency caching changes and CLI version update.
lib/analyze-action.js Introduces a cleanup-level parameter for query execution and cleanup functions.
lib/codeql.js Propagates overlay database mode to the database initialization and adjusts query flags.
lib/analyze.test.js Provides updated test calls for runQueries with the new cleanup-level parameter.
lib/codeql.test.js Adjusts database initialization tests to include overlay database mode.
Files not reviewed (1)
  • lib/defaults.json: Language not supported

Tip: Copilot only keeps its highest confidence comments to reduce noise and keep you focused. Learn more

@smowton smowton merged commit 5f8171a into releases/v3 Mar 19, 2025
265 checks passed
@smowton smowton deleted the update-v3.28.12-6349095d1 branch March 19, 2025 12:40
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.

6 participants