Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 10, 2025

Merging f374a62 into releases/v3.

Conductor for this PR is @cklin.

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 13 commits September 9, 2025 10:34
Mergeback v3.30.2 refs/heads/releases/v3 into main
…336-b8b24b72dba3

Remove --intra-layer-parallelism flag from CodeQL CLI commands
This introduces a new internal environment variable flag
(`CODEQL_ACTION_SARIF_DUMP_DIR`) that, when set to `true`, causes the
SARIF file that will be uploaded to be dumped to the specified
directory. The filename will be `upload.sarif` or `upload.quality.sarif`
depending on the upload target.
Dump soon to be uploaded SARIF on request
…plate

Add a reminder to the PR template that this is a public repo
…ize-limit

Overlay: Increase size limit for cached overlay base database
@cklin cklin marked this pull request as ready for review September 10, 2025 15:00
@cklin cklin requested a review from a team as a code owner September 10, 2025 15:01
@Copilot Copilot AI review requested due to automatic review settings September 10, 2025 15:01
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

This release PR merges changes from main into the releases/v3 branch to create version 3.30.3. The purpose is to prepare a new patch release with several improvements and fixes.

Key changes include:

  • Added SARIF dump functionality for debugging purposes
  • Updated overlay database size limits with improved documentation
  • Removed deprecated --intra-layer-parallelism flag from CodeQL queries

Reviewed Changes

Copilot reviewed 18 out of 20 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
CHANGELOG.md Added release entry for version 3.30.3
package.json Version bump from 3.30.2 to 3.30.3
src/upload-lib.ts Added SARIF dump functionality for debugging
src/overlay-database-utils.ts Updated size limits and improved documentation
src/environment.ts Added SARIF_DUMP_DIR environment variable
src/codeql.ts Removed deprecated --intra-layer-parallelism flag
src/codeql.test.ts Updated test to reflect removed flag
.github/pull_request_template.md Added comment header for public repository reminder
lib/*.js Generated JavaScript files from TypeScript sources
Files not reviewed (1)
  • package-lock.json: Language not supported

Comment on lines +751 to +759
/**
* Dumps the given processed SARIF file contents to `outputDir`.
*/
function dumpSarifFile(
sarifPayload: string,
outputDir: string,
logger: Logger,
uploadTarget: analyses.AnalysisConfig,
) {
Copy link
Preview

Copilot AI Sep 10, 2025

Choose a reason for hiding this comment

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

The function documentation should specify what happens when the output directory already exists and contains files, and clarify the file naming convention. The current documentation only mentions creating the directory if it doesn't exist.

Copilot uses AI. Check for mistakes.

Comment on lines +767 to +769
const outputFile = path.resolve(
outputDir,
`upload${uploadTarget.sarifExtension}`,
Copy link
Preview

Copilot AI Sep 10, 2025

Choose a reason for hiding this comment

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

If multiple uploads occur to the same directory, this will overwrite the previous file since the filename is always upload${uploadTarget.sarifExtension}. Consider adding a timestamp or unique identifier to prevent data loss.

Suggested change
const outputFile = path.resolve(
outputDir,
`upload${uploadTarget.sarifExtension}`,
const uniqueSuffix = `${Date.now()}-${Math.floor(Math.random() * 1e6)}`;
const outputFile = path.resolve(
outputDir,
`upload-${uniqueSuffix}${uploadTarget.sarifExtension}`,

Copilot uses AI. Check for mistakes.

@cklin cklin closed this Sep 10, 2025
@cklin cklin deleted the update-v3.30.3-f374a62c8 branch September 10, 2025 15:20
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