René's URL Explorer Experiment


Title: Determine the overlay minimum disk space requirement from feature flags by henrymercer · Pull Request #4080 · github/codeql-action · GitHub

Open Graph Title: Determine the overlay minimum disk space requirement from feature flags by henrymercer · Pull Request #4080 · github/codeql-action

X Title: Determine the overlay minimum disk space requirement from feature flags by henrymercer · Pull Request #4080 · github/codeql-action

Description: Overlay analysis skips runners that don't have enough free disk space. Until now that threshold was a single hard-coded value with one flag-gated alternative: 20 GB normally, or 14 GB when overlay_analysis_resource_checks_v2 was enabled. That gave us exactly one step to roll out, and reaching a lower limit meant another flag and another release. This replaces that with a set of flags that each name a threshold, so we can tune the requirement without shipping code: overlay_analysis_min_disk_8_gb overlay_analysis_min_disk_9_gb overlay_analysis_min_disk_10_gb overlay_analysis_min_disk_11_gb overlay_analysis_min_disk_12_gb overlay_analysis_min_disk_13_gb When several are enabled the lowest threshold wins, so we can roll a lower limit out to a subset of repositories without having to disable the flag above it first. When none are enabled the default of 14 GB applies. overlay_analysis_resource_checks_v2 is removed and its 14 GB value becomes the unconditional baseline, so the 20 GB limit is gone. Note that this part is not itself behind a flag — anyone previously on the 20 GB path moves to 14 GB when this ships. On GHES that only affects users who have explicitly opted into overlay analysis via CODEQL_ACTION_OVERLAY_ANALYSIS, since overlay_analysis defaults to off there. Anyone setting CODEQL_ACTION_OVERLAY_ANALYSIS_RESOURCE_CHECKS_V2 will find it no longer has any effect. Thresholds stay in decimal MB (N * 1000 MB), matching the existing bytes-per-MB convention in the disk check, so the effective byte values are unchanged from the previous 14 GB path. The check also now logs the available and required space at debug level when it passes, so it's possible to tell from a run log which flag took effect. 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. GHES - Impacts CodeQL workflows on GitHub Enterprise Server. How did/will you validate this change? Unit tests - I am depending on unit test coverage (i.e. tests in .test.ts files). If something goes wrong after this change is released, what are the mitigation and rollback strategies? Feature flags - Lowering the threshold below the 14 GB default is fully controlled by the new feature flags and can be reverted by disabling them. Rollback - The change of the default threshold from 20 GB to 14 GB is not behind a feature flag, and would need a rollback or a follow-up release to revert. Overlay analysis as a whole can still be disabled via the overlay_analysis feature flag, the CODEQL_OVERLAY_DATABASE_MODE environment variable, or the disable-overlay repository property. How will you know if something goes wrong after this change is released? Telemetry - I rely on existing telemetry. Dashboards - I will watch relevant dashboards for issues after the release. Are there any special considerations for merging or releasing this change? Special considerations - The six new feature flags need to exist before this is released, otherwise the threshold stays at the 14 GB default. 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.

Open Graph Description: Overlay analysis skips runners that don't have enough free disk space. Until now that threshold was a single hard-coded value with one flag-gated alternative: 20 GB normally, or 14 GB when over...

X Description: Overlay analysis skips runners that don't have enough free disk space. Until now that threshold was a single hard-coded value with one flag-gated alternative: 20 GB normally, or 14 GB when ...

Opengraph URL: https://github.com/github/codeql-action/pull/4080

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:d8ceaac5-114b-c1d2-664a-65de6612d91a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB5A4:D9695:618207:7ED8D2:6AED2BC5
html-safe-noncebc0ef0fb28b96c3f0ab731523ffcef4d6784b9e7c831891929c59c95eb81150d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUE0OkQ5Njk1OjYxODIwNzo3RUQ4RDI6NkFFRDJCQzUiLCJ2aXNpdG9yX2lkIjoiNzI0ODA2NTMyMjA0NDA3NzQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5302ac227262d477aa7720e0bbeb606fbb47f846f52cfc28648e72a8bdbb2016
hovercard-subject-tagpull_request:4222258622
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/github/codeql-action/pull/4080/files
twitter:imagehttps://avatars.githubusercontent.com/u/14129055?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/14129055?s=400&v=4
og:image:altOverlay analysis skips runners that don't have enough free disk space. Until now that threshold was a single hard-coded value with one flag-gated alternative: 20 GB normally, or 14 GB when over...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9d95365dda0576efe9b71f45807595e396bd0ca9286fba5367a05048e6ddf8f2
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/github/codeql-action git https://github.com/github/codeql-action.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id259445878
octolytics-dimension-repository_nwogithub/codeql-action
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id259445878
octolytics-dimension-repository_network_root_nwogithub/codeql-action
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release98b41fa4b5635ceb45a4c54320fced73817ff290
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql-action/pull/4080/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F4080%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F4080%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=github%2Fcodeql-action
Reloadhttps://github.com/github/codeql-action/pull/4080/files
Reloadhttps://github.com/github/codeql-action/pull/4080/files
Reloadhttps://github.com/github/codeql-action/pull/4080/files
githubhttps://github.com/github
codeql-actionhttps://github.com/github/codeql-action
Codehttps://github.com/github/codeql-action
Issues165 (165)https://github.com/github/codeql-action/issues
Pull requests41 (41)https://github.com/github/codeql-action/pulls
Actionshttps://github.com/github/codeql-action/actions
Security and quality2 (2)https://github.com/github/codeql-action/security
Insightshttps://github.com/github/codeql-action/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fgithub%2Fcodeql-action%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgithub%2Fcodeql-action%2Fissues%2Fnew%2Fchoose
henrymercerhttps://github.com/henrymercer
mainhttps://github.com/github/codeql-action/tree/main
henrymercer/studious-gigglehttps://github.com/github/codeql-action/tree/henrymercer/studious-giggle
Conversation 15 https://github.com/github/codeql-action/pull/4080
Commits 7 https://github.com/github/codeql-action/pull/4080/commits
Checks 222 https://github.com/github/codeql-action/pull/4080/checks
Files changed https://github.com/github/codeql-action/pull/4080/files
Please reload this pagehttps://github.com/github/codeql-action/pull/4080/files
Determine the overlay minimum disk space requirement from feature flags https://github.com/github/codeql-action/pull/4080/files#top
Show all changes 7 commits https://github.com/github/codeql-action/pull/4080/files
af767ec Add overlay_analysis_min_disk_N_gb feature flags henrymercer Aug 6, 2026 https://github.com/github/codeql-action/pull/4080/commits/af767ec1f60e6f17d147015c0ec1f8c969172e0f
6117bb5 Derive overlay minimum disk space from feature flags henrymercer Aug 6, 2026 https://github.com/github/codeql-action/pull/4080/commits/6117bb503a0258aa1476e2bd144d82a527ecd739
99caaa8 Remove the overlay_analysis_resource_checks_v2 feature flag henrymercer Aug 6, 2026 https://github.com/github/codeql-action/pull/4080/commits/99caaa8b90b6c06ba323fc5f4c1a097008f2ba31
5410981 Address review feedback on the disk space check henrymercer Aug 6, 2026 https://github.com/github/codeql-action/pull/4080/commits/54109818e0b27705cef089f47289f1c93121a4a4
794f5bc Fix the memory check debug message at equality henrymercer Aug 6, 2026 https://github.com/github/codeql-action/pull/4080/commits/794f5bc38548494f4243638d771a72998c889f3a
508b83b Merge main into overlay minimum disk feature branch henrymercer Aug 18, 2026 https://github.com/github/codeql-action/pull/4080/commits/508b83bc415e8df76ce8ea08c0cf42c2529ebc63
1aef003 Address review feedback on overlay disk flags henrymercer Aug 18, 2026 https://github.com/github/codeql-action/pull/4080/commits/1aef003397c876c0ab5bd118e1b1f34c175622e9
Clear filters https://github.com/github/codeql-action/pull/4080/files
Please reload this pagehttps://github.com/github/codeql-action/pull/4080/files
Please reload this pagehttps://github.com/github/codeql-action/pull/4080/files
entry-points.js https://github.com/github/codeql-action/pull/4080/files#diff-73697317a7dd14441dcfb24bc586f637ae2b815b5e503a05a81816be74fcd815
config-utils.test.ts https://github.com/github/codeql-action/pull/4080/files#diff-b89137bd6c9c170b54007f695c569094adf83a0f79f9f29272cc1a801f34c3e0
config-utils.ts https://github.com/github/codeql-action/pull/4080/files#diff-14691739edd81c7a3c8a30fec2e77ee99f2d57f323523e502a73ab375982d6fa
feature-flags.ts https://github.com/github/codeql-action/pull/4080/files#diff-d6ca7464724b1fe6094ce0912d338e79983058d9acda8717c0469d40f1ae3dbd
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/entry-points.jshttps://github.com/github/codeql-action/pull/4080/files#diff-73697317a7dd14441dcfb24bc586f637ae2b815b5e503a05a81816be74fcd815
View file https://github.com/github/codeql-action/blob/1aef003397c876c0ab5bd118e1b1f34c175622e9/lib/entry-points.js
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/github/codeql-action/pull/4080/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
src/config-utils.test.tshttps://github.com/github/codeql-action/pull/4080/files#diff-b89137bd6c9c170b54007f695c569094adf83a0f79f9f29272cc1a801f34c3e0
View file https://github.com/github/codeql-action/blob/1aef003397c876c0ab5bd118e1b1f34c175622e9/src/config-utils.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql-action/pull/4080/{{ revealButtonHref }}
https://github.com/github/codeql-action/pull/4080/files#diff-b89137bd6c9c170b54007f695c569094adf83a0f79f9f29272cc1a801f34c3e0
https://github.com/github/codeql-action/pull/4080/files#diff-b89137bd6c9c170b54007f695c569094adf83a0f79f9f29272cc1a801f34c3e0
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
src/config-utils.tshttps://github.com/github/codeql-action/pull/4080/files#diff-14691739edd81c7a3c8a30fec2e77ee99f2d57f323523e502a73ab375982d6fa
View file https://github.com/github/codeql-action/blob/1aef003397c876c0ab5bd118e1b1f34c175622e9/src/config-utils.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql-action/pull/4080/{{ revealButtonHref }}
https://github.com/github/codeql-action/pull/4080/files#diff-14691739edd81c7a3c8a30fec2e77ee99f2d57f323523e502a73ab375982d6fa
https://github.com/github/codeql-action/pull/4080/files#diff-14691739edd81c7a3c8a30fec2e77ee99f2d57f323523e502a73ab375982d6fa
https://github.com/github/codeql-action/pull/4080/files#diff-14691739edd81c7a3c8a30fec2e77ee99f2d57f323523e502a73ab375982d6fa
Please reload this pagehttps://github.com/github/codeql-action/pull/4080/files
https://github.com/github/codeql-action/pull/4080/files#diff-14691739edd81c7a3c8a30fec2e77ee99f2d57f323523e502a73ab375982d6fa
https://github.com/github/codeql-action/pull/4080/files#diff-14691739edd81c7a3c8a30fec2e77ee99f2d57f323523e502a73ab375982d6fa
https://github.com/github/codeql-action/pull/4080/files#diff-14691739edd81c7a3c8a30fec2e77ee99f2d57f323523e502a73ab375982d6fa
https://github.com/github/codeql-action/pull/4080/files#diff-14691739edd81c7a3c8a30fec2e77ee99f2d57f323523e502a73ab375982d6fa
https://github.com/github/codeql-action/pull/4080/files#diff-14691739edd81c7a3c8a30fec2e77ee99f2d57f323523e502a73ab375982d6fa
https://github.com/github/codeql-action/pull/4080/files#diff-14691739edd81c7a3c8a30fec2e77ee99f2d57f323523e502a73ab375982d6fa
https://github.com/github/codeql-action/pull/4080/files#diff-14691739edd81c7a3c8a30fec2e77ee99f2d57f323523e502a73ab375982d6fa
https://github.com/github/codeql-action/pull/4080/files#diff-14691739edd81c7a3c8a30fec2e77ee99f2d57f323523e502a73ab375982d6fa
Please reload this pagehttps://github.com/github/codeql-action/pull/4080/files
Please reload this pagehttps://github.com/github/codeql-action/pull/4080/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.