pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/github/codeql-action/pull/3515

ets.com/assets/actions-109fb3a41bacb1c2.css" /> Skip overlay memory check for CodeQL 2.24.3 and later by henrymercer · Pull Request #3515 · github/codeql-action · GitHub
Skip to content

Skip overlay memory check for CodeQL 2.24.3 and later#3515

Open
henrymercer wants to merge 1 commit intohenrymercer/overlay-repo-propertyfrom
henrymercer/drop-ram-limit
Open

Skip overlay memory check for CodeQL 2.24.3 and later#3515
henrymercer wants to merge 1 commit intohenrymercer/overlay-repo-propertyfrom
henrymercer/drop-ram-limit

Conversation

@henrymercer
Copy link
Contributor

RAM usage with overlay analysis enabled should generally be no higher than it is without overlay analysis for these versions.

Risk assessment

For internal use only. Please select the risk level of this change:

  • Low risk: Changes are fully under feature flags, or have been fully tested and validated in pre-production environments and are highly observable, or are documentation or test only.

Which use cases does this change impact?

Workflow types:

  • Advanced setup - Impacts users who have custom CodeQL workflows.
  • Managed - Impacts users with dynamic workflows (Default Setup, Code Quality, ...).

Products:

  • Code Scanning - The changes impact analyses when analysis-kinds: code-scanning.

Environments:

  • Dotcom - Impacts CodeQL workflows on github.com and/or GitHub Enterprise Cloud with Data Residency.

How did/will you validate this change?

These changes will be validated as part of the next release process.

If something goes wrong after this change is released, what are the mitigation and rollback strategies?

Disable via broader overlay feature flags, or CodeQL version feature flags.

  • Feature flags - All new or changed code paths can be fully disabled with corresponding feature flags.

How will you know if something goes wrong after this change is released?

  • Telemetry - I rely on existing telemetry or have made changes to the telemetry.
    • Alerts - New or existing monitors will trip if something goes wrong with this change.

Are there any special considerations for merging or releasing this change?

  • No special considerations - This change can be merged at any time.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Consider adding a changelog entry for this change.
  • Confirm the readme and docs have been updated if necessary.

@henrymercer henrymercer requested a review from a team as a code owner February 25, 2026 19:09
@github-actions github-actions bot added the size/S Should be easy to review label Feb 25, 2026
Copy link
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

Updates overlay analysis resource checking so that the minimum-memory gating is skipped for CodeQL CLI versions where overlay no longer increases peak RAM usage (2.24.3+).

Changes:

  • Introduce a CodeQL version threshold (2.24.3) after which overlay’s minimum-memory check is skipped.
  • Refactor overlay resource checks into separate disk-space and memory helpers, with additional debug logging.
  • Add regression tests asserting overlay remains enabled on low-memory settings when CodeQL >= 2.24.3.

Reviewed changes

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

File Description
src/config-utils.ts Skips overlay minimum-memory check for CodeQL >= 2.24.3 and refactors disk/memory resource checks.
src/config-utils.test.ts Adds test cases for the new version-gated memory-check behavior on default branch and PR runs.
lib/init-action.js Generated JS update corresponding to the TypeScript changes (not reviewed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Should be easy to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy