Skip to content

Merge releases/v4 into releases/v3#3907

Merged
mbg merged 84 commits into
releases/v3from
backport-v3.35.5-9e0d7b8d2
May 15, 2026
Merged

Merge releases/v4 into releases/v3#3907
mbg merged 84 commits into
releases/v3from
backport-v3.35.5-9e0d7b8d2

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

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

Merging 9e0d7b8 into releases/v3.

Conductor for this PR is @mbg.

Contains the following pull requests:

Please do the following:

  • Ensure package.json file contains the correct version.
  • Add commits to this branch to resolve the merge conflicts in the following files:
    • analyze/action.yml
    • autobuild/action.yml
    • init/action.yml
    • resolve-environment/action.yml
    • setup-codeql/action.yml
    • start-proxy/action.yml
    • upload-sarif/action.yml
  • Ensure another maintainer has reviewed the additional commits you added to this branch to resolve the merge conflicts.
  • 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.
  • Remove and re-add the "Rebuild" label to the PR to trigger just this workflow.
  • Wait for the "Rebuild" workflow to push a commit updating the distribution files.
  • 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.

sam-robson and others added 30 commits April 23, 2026 12:10
Bumps the npm-minor group with 4 updates in the / directory: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node), [eslint](https://github.com/eslint/eslint), [typescript](https://github.com/microsoft/TypeScript) and [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint).


Updates `@types/node` from 20.19.9 to 20.19.39
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `eslint` from 9.39.2 to 9.39.4
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](eslint/eslint@v9.39.2...v9.39.4)

Updates `typescript` from 6.0.2 to 6.0.3
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v6.0.2...v6.0.3)

Updates `typescript-eslint` from 8.58.2 to 8.59.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.59.1/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 20.19.39
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: eslint
  dependency-version: 9.39.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: typescript
  dependency-version: 6.0.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: typescript-eslint
  dependency-version: 8.59.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Do not run `bundle-metadata.ts` as part of `npm run build`
Tests: Run slow `scanArtifactsForTokens` test in CI only by default
Co-authored-by: Michael B. Gale <[email protected]>
@github-actions github-actions Bot added the Rebuild Re-transpile JS & re-generate workflows label May 15, 2026
@github-actions github-actions Bot added the size/XXL May be extremely hard to review label May 15, 2026
@mbg mbg added Rebuild Re-transpile JS & re-generate workflows and removed Rebuild Re-transpile JS & re-generate workflows labels May 15, 2026
@github-actions github-actions Bot removed the Rebuild Re-transpile JS & re-generate workflows label May 15, 2026
@github-actions
Copy link
Copy Markdown
Contributor Author

Pushed a commit to rebuild the Action. Please mark the PR as ready for review to trigger PR checks.

@mbg mbg marked this pull request as ready for review May 15, 2026 12:22
Copilot AI review requested due to automatic review settings May 15, 2026 12:22
@mbg mbg requested a review from a team as a code owner May 15, 2026 12:22
Copy link
Copy Markdown
Contributor

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 PR merges changes from releases/v4 into releases/v3, bringing along recent release work such as the new shared JavaScript bundling layout (entry-point stubs + shared bundle), incremental-analysis behavior adjustments (diff-informed gating / overlay fallback), feature-flag/default CLI version selection updates, and routine dependency/version bumps for the v3 line.

Changes:

  • Switch action entrypoints to lightweight *-entry.js wrappers backed by a shared entry-points bundle to reduce duplicated bundled code.
  • Update incremental-analysis behavior to compute diff ranges up-front and disable overlay analysis when diff-informed analysis isn’t available.
  • Refactor feature-flag default CLI selection to return an ordered set of enabled versions, and apply new selection logic (including overlay-aware version preference behind feature flags).
Show a summary per file
File Description
upload-sarif/action.yml Point main/post to new upload-sarif-*-entry.js wrappers.
start-proxy/action.yml Point main/post to new start-proxy-*-entry.js wrappers.
src/workflow.test.ts Test typing cleanup (remove type assertion).
src/upload-sarif.test.ts Test update for new analysis-kind typing/indexing.
src/upload-sarif-action.ts Export runWrapper (entrypoint now invoked via wrapper).
src/upload-sarif-action-post.ts Export runWrapper (post entrypoint now invoked via wrapper).
src/upload-lib.ts Update default CLI lookup API and pass new init/setup parameters.
src/testing-utils.ts Update test fixtures/helpers for new default CLI version shape/API.
src/start-proxy.ts Update default CLI selection and adapt to enabled-versions list.
src/start-proxy.test.ts Update stubs for renamed CLI default API and enabled-versions shape.
src/start-proxy-action.ts Export runWrapper (entrypoint now invoked via wrapper).
src/start-proxy-action-post.ts Export runWrapper (post entrypoint now invoked via wrapper).
src/setup-codeql.ts Add overlay-aware default CLI version selection and new parameters.
src/setup-codeql.test.ts Add/adjust tests for overlay-aware default CLI selection.
src/setup-codeql-action.ts Pass raw languages / analysis kinds into init for version selection.
src/resolve-environment-action.ts Export runWrapper (entrypoint now invoked via wrapper).
src/overlay/diagnostics.ts Add a new overlay-disabled reason for missing diff-informed analysis.
src/overlay/caching.ts Deduplicate resolved language aliases before building cache key prefix.
src/overlay/caching.test.ts Add test ensuring language alias de-duplication behavior.
src/init.ts Thread raw languages / overlay-aware version selection through init.
src/init-action.ts Use new analysis-kinds signature; compute diff ranges moved out; export wrapper.
src/init-action-post.ts Export runWrapper (post entrypoint now invoked via wrapper).
src/init-action-post-helper.test.ts Remove type assertion in test fixture.
src/feature-flags.ts Refactor default CLI selection to return ordered enabled version set; add new FFs.
src/feature-flags.test.ts Update tests for enabled-versions default CLI selection behavior.
src/entry-wrapper.js.tpl New template for per-action wrapper exports inside shared bundle.
src/diff-informed-analysis-utils.ts Refactor into “prepare diff-informed analysis” + persist diff ranges helper.
src/diff-informed-analysis-utils.test.ts Update/expand tests for new diff-informed analysis preparation flow.
src/debug-artifacts.ts Minor typing cleanup in matrix parsing.
src/config-utils.ts Compute diff ranges during config init; apply overlay fallback + exclusions via helper.
src/config-utils.test.ts Update existing overlay tests and add tests for incremental-analysis settings helper.
src/codeql.ts Thread raw languages / overlay-aware version selection into setup pipeline.
src/codeql.test.ts Update tests for new setup signature and default CLI version shape.
src/autobuild-action.ts Export runWrapper (entrypoint now invoked via wrapper).
src/artifact-scanner.ts Add Windows guard for archive scanning.
src/artifact-scanner.test.ts Skip archive-scanning test on Windows; remove timeout override.
src/analyze-action.ts Remove module-level execution; export wrapper and run action via wrapper.
src/analyze-action-post.ts Export runWrapper (post entrypoint now invoked via wrapper).
src/analyze-action-input.test.ts Invoke exported runWrapper instead of requiring module side effects.
src/analyze-action-env.test.ts Invoke exported runWrapper instead of requiring module side effects.
src/analyses.ts Require features in getAnalysisKinds; enforce single kind outside test mode unless FF enabled.
src/analyses.test.ts Update tests for new getAnalysisKinds signature and new enforcement behavior.
src/action-entry.js.tpl New template for per-action stub entry files requiring shared bundle.
setup-codeql/action.yml Add languages + analysis-kinds inputs; point to setup-codeql-entry.js.
resolve-environment/action.yml Point to resolve-environment-entry.js.
pr-checks/package.json Bump yaml and @types/node.
package.json Bump version to 3.35.5; remove bundle-metadata from build; bump dev deps.
package-lock.json Update lockfile for dependency bumps (note: version metadata updated too).
lib/upload-sarif-post-entry.js Generated entry stub (not reviewed).
lib/upload-sarif-entry.js Generated entry stub (not reviewed).
lib/upload-lib.js Generated JS output from TS (not reviewed).
lib/start-proxy-post-entry.js Generated entry stub (not reviewed).
lib/start-proxy-entry.js Generated entry stub (not reviewed).
lib/setup-codeql-entry.js Generated entry stub (not reviewed).
lib/resolve-environment-entry.js Generated entry stub (not reviewed).
lib/init-post-entry.js Generated entry stub (not reviewed).
lib/init-entry.js Generated entry stub (not reviewed).
lib/autobuild-entry.js Generated entry stub (not reviewed).
lib/analyze-post-entry.js Generated entry stub (not reviewed).
lib/analyze-entry.js Generated entry stub (not reviewed).
init/action.yml Point main/post to new init entry stubs.
CHANGELOG.md Add v3.35.5 release notes.
build.mjs Implement shared-bundle + per-action entry stub generation via esbuild plugin.
autobuild/action.yml Point to autobuild-entry.js.
analyze/action.yml Point main/post to new analyze entry stubs.
.github/workflows/update-release-branch.yml Bump actions/create-github-app-token to v3.2.0.
.github/workflows/rollback-release.yml Bump actions/create-github-app-token to v3.2.0.
.github/workflows/post-release-mergeback.yml Bump actions/create-github-app-token to v3.2.0.
.github/workflows/codescanning-config-cli.yml Simplify test workflow; remove overlay-specific env and PR/non-PR split.

Copilot's findings

  • Files reviewed: 56/81 changed files
  • Comments generated: 3

Comment thread src/artifact-scanner.ts
Comment on lines +159 to +161
if (process.platform === "win32") {
throw new Error("Scanning archives is not supported on Windows.");
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I believe this is OK, because the whole process is guarded by isInTestMode().

Comment on lines +74 to +78
// If we cannot determine whether diff-informed analysis applies (for
// example, because a feature-flag lookup failed), treat it as not
// applicable rather than triggering the overlay fallback.
logger.warning(
`Failed to determine branch information for diff-informed analysis: ${getErrorMessage(e)}`,
Comment thread src/start-proxy.test.ts
Comment on lines 1012 to +1016
const getDefaultCliVersion = sinon
.stub(features, "getDefaultCliVersion")
.resolves({ cliVersion: "2.20.1", tagName: expectedTag });
.stub(features, "getEnabledDefaultCliVersions")
.resolves({
enabledVersions: [{ cliVersion: "2.20.1", tagName: expectedTag }],
});
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

True, but this is a release PR.

@mbg mbg enabled auto-merge May 15, 2026 12:33
@mbg mbg merged commit 458d36d into releases/v3 May 15, 2026
272 of 447 checks passed
@mbg mbg deleted the backport-v3.35.5-9e0d7b8d2 branch May 15, 2026 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XXL May be extremely hard to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants