René's URL Explorer Experiment


Title: Don't record an overlay status when the job was cancelled by henrymercer · Pull Request #4122 · github/codeql-action · GitHub

Open Graph Title: Don't record an overlay status when the job was cancelled by henrymercer · Pull Request #4122 · github/codeql-action

X Title: Don't record an overlay status when the job was cancelled by henrymercer · Pull Request #4122 · github/codeql-action

Description: The overlay status mechanism records a marker in the Actions cache when building an overlay-base database fails, so that later runs skip overlay analysis instead of failing the same way, but it records one whenever the analyze step did not report success, which also covers runs that were cancelled, since the init post step still runs in that case. A cancellation tells us nothing about whether the analysis would have succeeded, and a marker disables overlay analysis for the whole repository until the next CodeQL release, so this adds an internal job-status input defaulting to ${{ job.status }} and skips recording when the job was cancelled. 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? Test repository - This change will be tested on a test repository before merging, specifically to confirm that a cancelled run reports cancelled to the post step. 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 - The behaviour change only takes effect where overlay_analysis_status_save is enabled, so disabling that flag restores the previous behaviour. The new input is inert on its own. How will you know if something goes wrong after this change is released? Telemetry - I rely on existing telemetry. The codeql-action/overlay-disabled diagnostic reports skipped-due-to-cached-status, so the rate of that reason shows whether we are recording fewer markers as intended, and overlay adoption shows whether we have stopped recording ones we needed. 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. Not added, since the behaviour is gated behind an existing feature flag, matching earlier changes to this mechanism. Confirm the readme and docs have been updated if necessary.

Open Graph Description: The overlay status mechanism records a marker in the Actions cache when building an overlay-base database fails, so that later runs skip overlay analysis instead of failing the same way, but it rec...

X Description: The overlay status mechanism records a marker in the Actions cache when building an overlay-base database fails, so that later runs skip overlay analysis instead of failing the same way, but it rec...

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

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:438d82ee-9d6d-9d0c-f443-a2ee665be27c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8390:142296:453D85:5A23C2:6AED234B
html-safe-nonce4232a85eba0936a3a094155c353bdf10639cfb92ba0c20cb88479d07dacd5c91
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzkwOjE0MjI5Njo0NTNEODU6NUEyM0MyOjZBRUQyMzRCIiwidmlzaXRvcl9pZCI6IjM1OTMyODczMzk4NzY3NzAwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac11366ade83aecbc5e6bc1c13eb063298e6ae6be6ebc7775bafe047c9508904a3
hovercard-subject-tagpull_request:4435302654
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/4122/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:altThe overlay status mechanism records a marker in the Actions cache when building an overlay-base database fails, so that later runs skip overlay analysis instead of failing the same way, but it rec...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonee3e0f7f63e50c6fe879198a93a0a023a648ecc0a5e9bc3b5e033ac57172237e6
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
release707a24b346ac8a82878b9c084efaa38a997660cb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql-action/pull/4122/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F4122%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%2F4122%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/4122/files
Reloadhttps://github.com/github/codeql-action/pull/4122/files
Reloadhttps://github.com/github/codeql-action/pull/4122/files
githubhttps://github.com/github
codeql-actionhttps://github.com/github/codeql-action
Codehttps://github.com/github/codeql-action
Issues164 (164)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/friendly-potatohttps://github.com/github/codeql-action/tree/henrymercer/friendly-potato
Conversation 12 https://github.com/github/codeql-action/pull/4122
Commits 4 https://github.com/github/codeql-action/pull/4122/commits
Checks 224 https://github.com/github/codeql-action/pull/4122/checks
Files changed https://github.com/github/codeql-action/pull/4122/files
Please reload this pagehttps://github.com/github/codeql-action/pull/4122/files
Don't record an overlay status when the job was cancelled https://github.com/github/codeql-action/pull/4122/files#top
Show all changes 4 commits https://github.com/github/codeql-action/pull/4122/files
2f3c1c9 Add an internal `job-status` input to the `init` Action henrymercer Sep 3, 2026 https://github.com/github/codeql-action/pull/4122/commits/2f3c1c964a44e3cb80f182ee1d38fc341e7aad63
38dd4a0 Don't record an overlay status when the job was cancelled henrymercer Sep 3, 2026 https://github.com/github/codeql-action/pull/4122/commits/38dd4a088a2d38c5d48640c3506dc86215880d92
657964c Read the job status from a `ReadOnlyEnv` in `recordOverlayStatus` henrymercer Sep 4, 2026 https://github.com/github/codeql-action/pull/4122/commits/657964c39f90c08ebf0224f0e2e264eab1d5fc15
a48f2d3 Record an overlay status only for conclusive job statuses henrymercer Sep 4, 2026 https://github.com/github/codeql-action/pull/4122/commits/a48f2d30771d5b2b049495b82e4e6b1eeeac932d
Clear filters https://github.com/github/codeql-action/pull/4122/files
Please reload this pagehttps://github.com/github/codeql-action/pull/4122/files
Please reload this pagehttps://github.com/github/codeql-action/pull/4122/files
action.yml https://github.com/github/codeql-action/pull/4122/files#diff-fd71db664f07e928bfadb8476a94d8c04c0cb181d42073444aa140a3906d9cde
entry-points.js https://github.com/github/codeql-action/pull/4122/files#diff-73697317a7dd14441dcfb24bc586f637ae2b815b5e503a05a81816be74fcd815
init-action-post-helper.test.ts https://github.com/github/codeql-action/pull/4122/files#diff-62c5bc1fe681a41f34d74ef117f4aa52ae21023a6f78abe2655e635afa48b08a
init-action-post-helper.ts https://github.com/github/codeql-action/pull/4122/files#diff-b5d09ae3a926294c25f263fe282f10168d52ee21a08447eade997108a11523bd
init-action-post.ts https://github.com/github/codeql-action/pull/4122/files#diff-b20d2e5b98b2b7bb62f615d46b97c30d07e8c1f12e2f263a3a323d5ecf8b5ca6
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
init/action.ymlhttps://github.com/github/codeql-action/pull/4122/files#diff-fd71db664f07e928bfadb8476a94d8c04c0cb181d42073444aa140a3906d9cde
View file https://github.com/github/codeql-action/blob/a48f2d30771d5b2b049495b82e4e6b1eeeac932d/init/action.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql-action/pull/4122/{{ revealButtonHref }}
https://github.com/github/codeql-action/pull/4122/files#diff-fd71db664f07e928bfadb8476a94d8c04c0cb181d42073444aa140a3906d9cde
mbghttps://github.com/mbg
Sep 4, 2026https://github.com/github/codeql-action/pull/4122/files#r3934513240
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/4122/files
henrymercerhttps://github.com/henrymercer
Sep 4, 2026https://github.com/github/codeql-action/pull/4122/files#r3935809044
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/4122/files
https://github.com/github/codeql-action/pull/4122/files#diff-fd71db664f07e928bfadb8476a94d8c04c0cb181d42073444aa140a3906d9cde
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/entry-points.jshttps://github.com/github/codeql-action/pull/4122/files#diff-73697317a7dd14441dcfb24bc586f637ae2b815b5e503a05a81816be74fcd815
View file https://github.com/github/codeql-action/blob/a48f2d30771d5b2b049495b82e4e6b1eeeac932d/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/4122/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
src/init-action-post-helper.test.tshttps://github.com/github/codeql-action/pull/4122/files#diff-62c5bc1fe681a41f34d74ef117f4aa52ae21023a6f78abe2655e635afa48b08a
View file https://github.com/github/codeql-action/blob/a48f2d30771d5b2b049495b82e4e6b1eeeac932d/src/init-action-post-helper.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql-action/pull/4122/{{ revealButtonHref }}
https://github.com/github/codeql-action/pull/4122/files#diff-62c5bc1fe681a41f34d74ef117f4aa52ae21023a6f78abe2655e635afa48b08a
https://github.com/github/codeql-action/pull/4122/files#diff-62c5bc1fe681a41f34d74ef117f4aa52ae21023a6f78abe2655e635afa48b08a
https://github.com/github/codeql-action/pull/4122/files#diff-62c5bc1fe681a41f34d74ef117f4aa52ae21023a6f78abe2655e635afa48b08a
https://github.com/github/codeql-action/pull/4122/files#diff-62c5bc1fe681a41f34d74ef117f4aa52ae21023a6f78abe2655e635afa48b08a
https://github.com/github/codeql-action/pull/4122/files#diff-62c5bc1fe681a41f34d74ef117f4aa52ae21023a6f78abe2655e635afa48b08a
https://github.com/github/codeql-action/pull/4122/files#diff-62c5bc1fe681a41f34d74ef117f4aa52ae21023a6f78abe2655e635afa48b08a
https://github.com/github/codeql-action/pull/4122/files#diff-62c5bc1fe681a41f34d74ef117f4aa52ae21023a6f78abe2655e635afa48b08a
https://github.com/github/codeql-action/pull/4122/files#diff-62c5bc1fe681a41f34d74ef117f4aa52ae21023a6f78abe2655e635afa48b08a
https://github.com/github/codeql-action/pull/4122/files#diff-62c5bc1fe681a41f34d74ef117f4aa52ae21023a6f78abe2655e635afa48b08a
https://github.com/github/codeql-action/pull/4122/files#diff-62c5bc1fe681a41f34d74ef117f4aa52ae21023a6f78abe2655e635afa48b08a
https://github.com/github/codeql-action/pull/4122/files#diff-62c5bc1fe681a41f34d74ef117f4aa52ae21023a6f78abe2655e635afa48b08a
https://github.com/github/codeql-action/pull/4122/files#diff-62c5bc1fe681a41f34d74ef117f4aa52ae21023a6f78abe2655e635afa48b08a
https://github.com/github/codeql-action/pull/4122/files#diff-62c5bc1fe681a41f34d74ef117f4aa52ae21023a6f78abe2655e635afa48b08a
https://github.com/github/codeql-action/pull/4122/files#diff-62c5bc1fe681a41f34d74ef117f4aa52ae21023a6f78abe2655e635afa48b08a
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
src/init-action-post-helper.tshttps://github.com/github/codeql-action/pull/4122/files#diff-b5d09ae3a926294c25f263fe282f10168d52ee21a08447eade997108a11523bd
View file https://github.com/github/codeql-action/blob/a48f2d30771d5b2b049495b82e4e6b1eeeac932d/src/init-action-post-helper.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql-action/pull/4122/{{ revealButtonHref }}
https://github.com/github/codeql-action/pull/4122/files#diff-b5d09ae3a926294c25f263fe282f10168d52ee21a08447eade997108a11523bd
https://github.com/github/codeql-action/pull/4122/files#diff-b5d09ae3a926294c25f263fe282f10168d52ee21a08447eade997108a11523bd
https://github.com/github/codeql-action/pull/4122/files#diff-b5d09ae3a926294c25f263fe282f10168d52ee21a08447eade997108a11523bd
https://github.com/github/codeql-action/pull/4122/files#diff-b5d09ae3a926294c25f263fe282f10168d52ee21a08447eade997108a11523bd
https://github.com/github/codeql-action/pull/4122/files#diff-b5d09ae3a926294c25f263fe282f10168d52ee21a08447eade997108a11523bd
https://github.com/github/codeql-action/pull/4122/files#diff-b5d09ae3a926294c25f263fe282f10168d52ee21a08447eade997108a11523bd
mbghttps://github.com/mbg
Sep 4, 2026https://github.com/github/codeql-action/pull/4122/files#r3934566075
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/4122/files
henrymercerhttps://github.com/henrymercer
Sep 4, 2026https://github.com/github/codeql-action/pull/4122/files#r3935838422
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/4122/files
https://github.com/github/codeql-action/pull/4122/files#diff-b5d09ae3a926294c25f263fe282f10168d52ee21a08447eade997108a11523bd
https://github.com/github/codeql-action/pull/4122/files#diff-b5d09ae3a926294c25f263fe282f10168d52ee21a08447eade997108a11523bd
Please reload this pagehttps://github.com/github/codeql-action/pull/4122/files
Please reload this pagehttps://github.com/github/codeql-action/pull/4122/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.