Skip to content

Merge main into releases/v4 - #4102

Merged
henrymercer merged 39 commits into
releases/v4from
update-v4.37.8-9ee088e13
Aug 21, 2026
Merged

henrymercer merged 39 commits into
releases/v4from
update-v4.37.8-9ee088e13

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Merging 9ee088e into releases/v4.

Conductor for this PR is @henrymercer.

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.
  • Approve running the full set of PR checks if you have not pushed any changes.
  • 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 August 6, 2026 16:38
Add six feature flags, overlay_analysis_min_disk_8_gb through
overlay_analysis_min_disk_13_gb, which will be used to control the
amount of available disk space that overlay analysis requires.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Overlay analysis required 20 GB of available disk space, lowered to
14 GB when overlay_analysis_resource_checks_v2 was enabled. That gave
us a single step to roll out, and any further reduction needed another
flag and another release.

Determine the threshold from the new overlay_analysis_min_disk_N_gb
flags instead, taking the lowest one that is enabled so that a lower
limit can be rolled out to a subset of repositories without first
disabling the flag above it. When none are enabled, the 14 GB limit
now applies unconditionally, replacing the 20 GB default.

Thresholds remain in decimal MB, matching the bytes-per-MB convention
the disk check already used, so the effective byte values are unchanged
from the previous 14 GB path. Also log the available and required space
at debug level when the check passes, so that run logs show which
threshold took effect.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The flag no longer has any effect now that its 14 GB threshold is the
unconditional default, so remove it. Setting
CODEQL_ACTION_OVERLAY_ANALYSIS_RESOURCE_CHECKS_V2 no longer does
anything.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Say "at or above" in the debug message logged when the check passes,
since the comparison accepts exactly the minimum.

Check each feature flag against the threshold its name declares, rather
than only exercising a few of them, so that a mistake in one of the
mappings cannot go unnoticed. Both sides of the boundary are needed to
pin a threshold down: a mapping to a lower value would still pass the
case at the limit, and one to a higher value would still fail the case
below it.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The comparison accepts exactly the minimum, so say "at or above", to
match the wording of the disk space check.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This is particularly important for the first time that `getCachedCodeQlVersion` is invoked, as this cache file will not yet exist.
Co-authored-by: Michael B. Gale <mbg@github.com>
This brings them out of the crowded all-purpose `util.ts` and into `cli/output-cache.ts` where they are exclusively used.
This will ensure it works nicely with `JSON.stringify`. And, then we can validate the type before marshaling.
Mergeback v4.37.7 refs/heads/releases/v4 into main
mario-campos and others added 9 commits August 13, 2026 09:14
Persist CodeQL version output to file rather than environment
…ation-error

Make `EACCES` when installing CodeQL CLI a `ConfigurationError`
Resolve the overlap with the separately shipped promotion of the overlay resource checks while preserving the feature-flagged minimum disk thresholds.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Document each minimum disk feature flag individually and replace the tuple list with an explicit feature-to-threshold mapping.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Determine the overlay minimum disk space requirement from feature flags
@github-actions
github-actions Bot requested a review from a team as a code owner August 21, 2026 12:09
@github-actions github-actions Bot added the size/XL May be very hard to review label Aug 21, 2026
@henrymercer
henrymercer enabled auto-merge August 21, 2026 12:10
@henrymercer
henrymercer merged commit db488dd into releases/v4 Aug 21, 2026
213 checks passed
@henrymercer
henrymercer deleted the update-v4.37.8-9ee088e13 branch August 21, 2026 12:24
@github-actions github-actions Bot mentioned this pull request Aug 21, 2026
6 tasks
ryanduguid added a commit to EquityBot/DiogenesLamp that referenced this pull request Aug 31, 2026
The bump moves github/codeql-action/init and /analyze from
ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd to
db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28, and
test_active_workflow_document_is_exact[codeql.yml] refused it, as designed:
EXPECTED_CODEQL is built from EXPECTED_ACTIONS, so the workflow and its
recorded contract have to move in one commit.

Reviewed before recording. db488dde is the merge of github/codeql-action#4102,
update-v4.37.8, and the only tag pointing at it is v4.37.8, one patch on from
the recorded v4.37.7. Both steps move together to the same commit, the
`# v4` comment stays truthful for the major line, and codeql.yml is otherwise
untouched: no permission, trigger or fail-closed change. Worth noting the
floating v4 tag now resolves to cdf488f5 (v4.37.9), so this pin is one patch
behind head of the line by the time it lands; Dependabot will raise that
separately.

EXPECTED_ACTIONS and test_codeql_major_comments_have_reviewed_exact_release_provenance
now name db488dde and v4.37.8. The contract stays coupled: reverting codeql.yml
to the old SHA against the new record still fails the exactness test, checked
locally. 41 passed.
ryanduguid added a commit to EquityBot/DiogenesLamp that referenced this pull request Aug 31, 2026
* Bump the codeql-action group with 2 updates

Bumps the codeql-action group with 2 updates: [github/codeql-action/init](https://github.com/github/codeql-action) and [github/codeql-action/analyze](https://github.com/github/codeql-action).


Updates `github/codeql-action/init` from 4.37.7 to 4.37.8
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@ff2f1c6...db488dd)

Updates `github/codeql-action/analyze` from 4.37.7 to 4.37.8
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@ff2f1c6...db488dd)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.37.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql-action
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.37.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql-action
...

Signed-off-by: dependabot[bot] <support@github.com>

* Record the reviewed provenance for codeql-action v4.37.8

The bump moves github/codeql-action/init and /analyze from
ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd to
db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28, and
test_active_workflow_document_is_exact[codeql.yml] refused it, as designed:
EXPECTED_CODEQL is built from EXPECTED_ACTIONS, so the workflow and its
recorded contract have to move in one commit.

Reviewed before recording. db488dde is the merge of github/codeql-action#4102,
update-v4.37.8, and the only tag pointing at it is v4.37.8, one patch on from
the recorded v4.37.7. Both steps move together to the same commit, the
`# v4` comment stays truthful for the major line, and codeql.yml is otherwise
untouched: no permission, trigger or fail-closed change. Worth noting the
floating v4 tag now resolves to cdf488f5 (v4.37.9), so this pin is one patch
behind head of the line by the time it lands; Dependabot will raise that
separately.

EXPECTED_ACTIONS and test_codeql_major_comments_have_reviewed_exact_release_provenance
now name db488dde and v4.37.8. The contract stays coupled: reverting codeql.yml
to the old SHA against the new record still fails the exactness test, checked
locally. 41 passed.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ryan Duguid <ryan@duguid.com.au>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XL May be very hard to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants