Skip to content

Merge main into releases/v4#3927

Merged
oscarsj merged 73 commits into
releases/v4from
update-v4.36.0-ebc2d9e2b
May 22, 2026
Merged

Merge main into releases/v4#3927
oscarsj merged 73 commits into
releases/v4from
update-v4.36.0-ebc2d9e2b

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

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

Merging ebc2d9e into releases/v4.

Conductor for this PR is @oscarsj.

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/v4 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.

henrymercer and others added 30 commits May 12, 2026 18:24
This feature has been supported since CodeQL CLI v2.18.0, which is below the new minimum version.
This feature has been supported since CodeQL CLI v2.19.0
Bumps [sinon](https://github.com/sinonjs/sinon) from 21.1.2 to 22.0.0.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md)
- [Commits](sinonjs/sinon@v21.1.2...v22.0.0)

---
updated-dependencies:
- dependency-name: sinon
  dependency-version: 22.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
These jobs are not rate-limiting so we don't need to run them on larger runners.
The tests still can't run in parallel so I had to change `test` to `test.serial`, which caused a bunch of formatting changes.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Mergeback v4.35.5 refs/heads/releases/v4 into main
PR checks: Run slowest macOS checks on larger runners
mbg and others added 17 commits May 19, 2026 14:22
…-prs

Release process: Automatically rebuild PRs
…s-advanced-setup

Log error for non-default `analysis-kinds` input outside of managed workflows
Action size: Reduce duplication between `upload-lib` and `entry-points`
To avoid requiring additional dependencies
Specify concurrency groups for non-generated workflows so we can cancel in-progress runs when new commits are pushed to a PR.
CI: Automatically cancel non-generated workflows
Action size: Add a PR check that comments on significant repo size changes
@github-actions github-actions Bot added the size/XXL May be extremely hard to review label May 22, 2026
@oscarsj oscarsj marked this pull request as ready for review May 22, 2026 10:54
@oscarsj oscarsj requested a review from a team as a code owner May 22, 2026 10:54
Copilot AI review requested due to automatic review settings May 22, 2026 10:54
@github-actions
Copy link
Copy Markdown
Contributor Author

Repository checkout size

Compressed archive size
Base (releases/v4) 2173.04 KiB (2225197 bytes)
This PR 1578.59 KiB (1616477 bytes)
Delta -594.45 KiB (-608720 bytes, -27.36%)

Sizes are measured by streaming git archive --format=tar.gz <ref>, which includes tracked files and excludes untracked files such as node_modules. The compressed checkout is downloaded by every consumer of this Action, so changes here directly affect Action download time. See the workflow run for details.

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

Release-merge PR that brings mainline changes into releases/v4 and prepares the 4.36.0 release by bumping the action version and updating the changelog accordingly.

Changes:

  • Bump release version to 4.36.0 and add the 4.36.0 - 22 May 2026 changelog section.
  • Update CodeQL/tooling baselines (minimum CodeQL version, default bundle version) and related CI/PR-check infrastructure.
  • Various maintenance changes across tests, build bundling, PR-check generation, and workflows.
Show a summary per file
File Description
src/util.test.ts Test refactor (sinon stub setup).
src/upload-lib-stub.js.tpl New template for emitting an upload-lib stub that re-exports from shared bundle.
src/tools-features.ts Removes obsolete tool feature flags from enum.
src/tools-features.test.ts Updates feature-flag test to reflect removed/changed feature.
src/testing-utils.ts Splits Actions env setup into setupBaseActionsVars + path-specific vars.
src/overlay/index.test.ts Test refactor removing explicit stub restoration.
src/overlay/caching.test.ts Test refactor removing manual stub bookkeeping/restore loop.
src/git-utils.ts Adds SHA-256 OID support in parsing/validation.
src/git-utils.test.ts Adds SHA-256 OID tests and refactors stubbing/cleanup.
src/feature-flags.ts Clarifies why legacy version constant is retained.
src/diff-informed-analysis-utils.test.ts Test refactor removing explicit stub restores.
src/defaults.json Updates default/prior CodeQL bundle+CLI versions to 2.25.5/2.25.4.
src/codeql.ts Bumps minimum CodeQL version; simplifies overwrite handling; always emits sarif-run-property flag.
src/codeql.test.ts Updates overwrite-flag test to --force-overwrite.
src/analyze-action.test.ts Consolidates analyze-action RAM/threads tests into one file.
src/analyze-action-input.test.ts Deleted (tests moved into src/analyze-action.test.ts).
src/analyze-action-env.test.ts Deleted (tests moved into src/analyze-action.test.ts).
src/analyses.ts Logs error for non-default analysis-kinds in custom workflows; refactors error message creation.
src/analyses.test.ts Adds coverage for new analysis-kinds logging behavior; uses setupBaseActionsVars.
README.md Removes duplicated GHES table entries.
queries/default-setup-environment-variables.ql Restricts query to src/ paths.
pr-checks/sync.ts Extends OS matrix spec to support explicit runner image labels; updates default tested versions.
pr-checks/sync-checks.ts Improves token handling (stdin/env); updates CLI options accordingly.
pr-checks/sync-checks.test.ts Adds unit tests for token resolution logic.
pr-checks/excluded.yml Updates excluded/required check name lists (incl. repo size comment checks).
pr-checks/config.ts Introduces REPO_ROOT to simplify path joins.
pr-checks/checks/swift-autobuild.yml Switches macOS runner to macos-latest-xlarge.
pr-checks/checks/rust.yml Updates Rust check CodeQL version from 2.19.3 to 2.19.4.
pr-checks/checks/multi-language-autodetect.yml Switches macOS runner to macos-latest-xlarge.
pr-checks/check-repo-size.ts New script to measure archive size delta and produce sticky-comment artifacts.
pr-checks/check-repo-size.test.ts Unit/integration tests for repo-size checker utilities and git-archive measurement.
package.json Bumps version to 4.36.0; updates test deps (ava/sinon) and adds update-pr-checks script.
package-lock.json Updates lockfile for version bump and dependency changes.
lib/entry-points.js Generated bundle updates (version, defaults, features, deps, upload-lib export).
lib/defaults.json Generated defaults updated to 2.25.5/2.25.4.
CONTRIBUTING.md Updates sync-checks instructions to use env/stdin token flow.
CHANGELOG.md Adds 4.36.0 section with key release notes.
build.mjs Reworks bundling to expose upload-lib via shared entry-points and emit a stub.
.github/workflows/update-release-branch.yml Switches update script to use token via env var rather than CLI arg.
.github/workflows/test-codeql-bundle-all.yml Adds concurrency controls to cancel redundant PR runs.
.github/workflows/query-filters.yml Adds concurrency controls to cancel redundant PR runs.
.github/workflows/python312-windows.yml Adds concurrency controls to cancel redundant PR runs.
.github/workflows/pr-checks.yml Adds concurrency; reorganizes checks; adds repo-size diff artifact + separate comment-posting job.
.github/workflows/post-release-mergeback.yml Ensures Node 24 setup with npm cache for mergeback workflow.
.github/workflows/debug-artifacts-safe.yml Adds concurrency controls to cancel redundant PR runs.
.github/workflows/debug-artifacts-failure-safe.yml Adds concurrency controls to cancel redundant PR runs.
.github/workflows/codescanning-config-cli.yml Adds concurrency controls to cancel redundant PR runs.
.github/workflows/codeql.yml Moves macOS jobs to macos-*-xlarge runners.
.github/workflows/check-expected-release-files.yml Adds concurrency controls to cancel redundant PR runs.
.github/workflows/__swift-autobuild.yml Generated workflow updated for macos-latest-xlarge.
.github/workflows/__rust.yml Generated workflow updated for stable-v2.19.4.
.github/workflows/__multi-language-autodetect.yml Generated workflow updates for runner sizing + tested versions.
.github/workflows/__go-tracing-legacy-workflow.yml Generated workflow updates for tested versions.
.github/workflows/__go-tracing-custom-build-steps.yml Generated workflow updates for tested versions.
.github/workflows/__go-tracing-autobuilder.yml Generated workflow updates for tested versions.
.github/update-release-branch.py Improves token handling via env; automates rebuild commits; updates PR body guidance.
.github/actions/release-initialise/action.yml Uses Node 24 for release initialisation action.
.github/actions/prepare-mergeback-branch/action.yml Automates rebuild + separate “Rebuild” commit during mergeback branch preparation.

Copilot's findings

  • Files reviewed: 49/59 changed files
  • Comments generated: 2

Comment thread CHANGELOG.md
Comment thread CHANGELOG.md
@oscarsj oscarsj enabled auto-merge May 22, 2026 11:02
@oscarsj oscarsj merged commit 7211b7c into releases/v4 May 22, 2026
228 checks passed
@oscarsj oscarsj deleted the update-v4.36.0-ebc2d9e2b branch May 22, 2026 11:06
@github-actions github-actions Bot mentioned this pull request May 22, 2026
6 tasks
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.

4 participants