René's URL Explorer Experiment


Title: Improve CodeQL tools download time telemetry by henrymercer · Pull Request #4105 · github/codeql-action · GitHub

Open Graph Title: Improve CodeQL tools download time telemetry by henrymercer · Pull Request #4105 · github/codeql-action

X Title: Improve CodeQL tools download time telemetry by henrymercer · Pull Request #4105 · github/codeql-action

Description: We are considering shipping trimmed CodeQL bundles containing the CLI and a single language, as an alternative to today's combined per-platform bundle. This PR establishes a baseline for how long the current bundle takes, so the effect can be measured. downloadAndExtract has two paths. The streaming path (Zstandard on Linux, which most hosted runners take) downloads and extracts concurrently, and returned an empty status report — so the dominant path reported no timings at all. The download-then-extract path reported the download duration and only logged the extraction duration. Field When populated Meaning tools_download_duration_ms Download-then-extract only Time spent downloading. Unchanged. tools_extraction_duration_ms Download-then-extract only Time spent extracting. tools_total_duration_ms Always Wall-clock for the whole operation. tools_total_duration_ms is the field to compare across the change, being the only one populated on both paths. The component fields are left unpopulated on the streaming path, where downloading and extracting overlap and cannot be told apart. tools_download_duration_ms keeps its existing meaning so earlier data remains comparable. The total is wall-clock across the whole call, so where streaming fails it includes the failed attempt and its cleanup. Those runs stay identifiable: on Linux, a report containing tools_download_duration_ms is one where streaming failed. Compressed bundle size is deliberately not reported. For the common case it is a function of CLI version and platform, so it is already knowable from the release assets — and the size saving is the part of this that can be predicted, whereas the durations are not. No changelog entry, as there is no user-facing change. Risk assessment Low risk: telemetry only. No change to what is downloaded, from where, or in what order, and no new failure modes on the download path. 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. Code Quality - The changes impact analyses when analysis-kinds: code-quality. Other first-party - The changes impact other first-party analyses. 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 - src/tools-download.test.ts covers both paths and the fallback from streaming to download-then-extract. If something goes wrong after this change is released, what are the mitigation and rollback strategies? Rollback - Change can only be disabled by rolling back the release or releasing a new version with a fix. How will you know if something goes wrong after this change is released? Telemetry - This change is itself a telemetry change; the new fields appearing with plausible values is the signal that it works. Are there any special considerations for merging or releasing this change? Special considerations - This change is only useful if it is released before any change to how the bundle is packaged, since its purpose is to establish a baseline. 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: We are considering shipping trimmed CodeQL bundles containing the CLI and a single language, as an alternative to today's combined per-platform bundle. This PR establishes a baseline for how lo...

X Description: We are considering shipping trimmed CodeQL bundles containing the CLI and a single language, as an alternative to today's combined per-platform bundle. This PR establishes a baseline for ho...

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

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:d6ae5bf2-4203-0598-1da8-4fa3a4b0c454
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id895A:3B3F35:552FF7:6F2A16:6AED2921
html-safe-nonce7890f5585b12b3a302458a18fcee12842a89b84787cd1c0f5606b26f30555d0d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTVBOjNCM0YzNTo1NTJGRjc6NkYyQTE2OjZBRUQyOTIxIiwidmlzaXRvcl9pZCI6IjYxMTcwNTQ0NjA5ODgzMDM2NDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac9712ee378ad3207d7b4ed5ab28d8133eafc19781d77e9880c83563379986f86e
hovercard-subject-tagpull_request:4350869326
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/4105/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:altWe are considering shipping trimmed CodeQL bundles containing the CLI and a single language, as an alternative to today's combined per-platform bundle. This PR establishes a baseline for how lo...
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/4105/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F4105%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%2F4105%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/4105/files
Reloadhttps://github.com/github/codeql-action/pull/4105/files
Reloadhttps://github.com/github/codeql-action/pull/4105/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/tools-download-telemetryhttps://github.com/github/codeql-action/tree/henrymercer/tools-download-telemetry
Conversation 2 https://github.com/github/codeql-action/pull/4105
Commits 3 https://github.com/github/codeql-action/pull/4105/commits
Checks 223 https://github.com/github/codeql-action/pull/4105/checks
Files changed https://github.com/github/codeql-action/pull/4105/files
Please reload this pagehttps://github.com/github/codeql-action/pull/4105/files
Improve CodeQL tools download time telemetry https://github.com/github/codeql-action/pull/4105/files#top
Show all changes 3 commits https://github.com/github/codeql-action/pull/4105/files
c05e445 Report tools download durations on both download paths henrymercer Aug 24, 2026 https://github.com/github/codeql-action/pull/4105/commits/c05e4456966d95a9899fe19d6f0dddcba28231f9
bee82de Add tools download durations to the init status report henrymercer Aug 24, 2026 https://github.com/github/codeql-action/pull/4105/commits/bee82de8ba4472941ae3a399ce0e402e30f0cdb4
9d89e2d Rebuild henrymercer Aug 24, 2026 https://github.com/github/codeql-action/pull/4105/commits/9d89e2d1d6874f3f7fab0eacb3e77d4150f1833c
Clear filters https://github.com/github/codeql-action/pull/4105/files
Please reload this pagehttps://github.com/github/codeql-action/pull/4105/files
Please reload this pagehttps://github.com/github/codeql-action/pull/4105/files
entry-points.js https://github.com/github/codeql-action/pull/4105/files#diff-73697317a7dd14441dcfb24bc586f637ae2b815b5e503a05a81816be74fcd815
init-action.ts https://github.com/github/codeql-action/pull/4105/files#diff-87bf9e0a2a9244ba1f26eb01d404deaccbc9580479d2e2530a4ff2fd5bd91565
setup-codeql-action.ts https://github.com/github/codeql-action/pull/4105/files#diff-03d2b2bd0e1c4d4ed0fd6ddac8033710b48fb01370983c27b17b3cab5ea0a8ba
setup-codeql.test.ts https://github.com/github/codeql-action/pull/4105/files#diff-f306d28dd1b1b19631643393e111cbf6e6dad30ad83d9eca67f08a64e5e8c324
status-report.ts https://github.com/github/codeql-action/pull/4105/files#diff-3abb83ffc5df1d349d32759ed4876c4c1a50b63d3187ec177d67cb76f0bd50e7
tools-download.test.ts https://github.com/github/codeql-action/pull/4105/files#diff-ebadd2e3dcb51075cbd718340c3d85b2c75312b8849c4b7a23f3bb78a63925fe
tools-download.ts https://github.com/github/codeql-action/pull/4105/files#diff-cd03b91ca9b1e470e1f8e42a40c548162a7bea2343ff7d257aeb58747cbee7a3
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/entry-points.jshttps://github.com/github/codeql-action/pull/4105/files#diff-73697317a7dd14441dcfb24bc586f637ae2b815b5e503a05a81816be74fcd815
View file https://github.com/github/codeql-action/blob/9d89e2d1d6874f3f7fab0eacb3e77d4150f1833c/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/4105/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
src/init-action.tshttps://github.com/github/codeql-action/pull/4105/files#diff-87bf9e0a2a9244ba1f26eb01d404deaccbc9580479d2e2530a4ff2fd5bd91565
View file https://github.com/github/codeql-action/blob/9d89e2d1d6874f3f7fab0eacb3e77d4150f1833c/src/init-action.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql-action/pull/4105/{{ revealButtonHref }}
https://github.com/github/codeql-action/pull/4105/files#diff-87bf9e0a2a9244ba1f26eb01d404deaccbc9580479d2e2530a4ff2fd5bd91565
https://github.com/github/codeql-action/pull/4105/files#diff-87bf9e0a2a9244ba1f26eb01d404deaccbc9580479d2e2530a4ff2fd5bd91565
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
src/setup-codeql-action.tshttps://github.com/github/codeql-action/pull/4105/files#diff-03d2b2bd0e1c4d4ed0fd6ddac8033710b48fb01370983c27b17b3cab5ea0a8ba
View file https://github.com/github/codeql-action/blob/9d89e2d1d6874f3f7fab0eacb3e77d4150f1833c/src/setup-codeql-action.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql-action/pull/4105/{{ revealButtonHref }}
https://github.com/github/codeql-action/pull/4105/files#diff-03d2b2bd0e1c4d4ed0fd6ddac8033710b48fb01370983c27b17b3cab5ea0a8ba
https://github.com/github/codeql-action/pull/4105/files#diff-03d2b2bd0e1c4d4ed0fd6ddac8033710b48fb01370983c27b17b3cab5ea0a8ba
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
src/setup-codeql.test.tshttps://github.com/github/codeql-action/pull/4105/files#diff-f306d28dd1b1b19631643393e111cbf6e6dad30ad83d9eca67f08a64e5e8c324
View file https://github.com/github/codeql-action/blob/9d89e2d1d6874f3f7fab0eacb3e77d4150f1833c/src/setup-codeql.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql-action/pull/4105/{{ revealButtonHref }}
https://github.com/github/codeql-action/pull/4105/files#diff-f306d28dd1b1b19631643393e111cbf6e6dad30ad83d9eca67f08a64e5e8c324
https://github.com/github/codeql-action/pull/4105/files#diff-f306d28dd1b1b19631643393e111cbf6e6dad30ad83d9eca67f08a64e5e8c324
https://github.com/github/codeql-action/pull/4105/files#diff-f306d28dd1b1b19631643393e111cbf6e6dad30ad83d9eca67f08a64e5e8c324
https://github.com/github/codeql-action/pull/4105/files#diff-f306d28dd1b1b19631643393e111cbf6e6dad30ad83d9eca67f08a64e5e8c324
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
src/status-report.tshttps://github.com/github/codeql-action/pull/4105/files#diff-3abb83ffc5df1d349d32759ed4876c4c1a50b63d3187ec177d67cb76f0bd50e7
View file https://github.com/github/codeql-action/blob/9d89e2d1d6874f3f7fab0eacb3e77d4150f1833c/src/status-report.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql-action/pull/4105/{{ revealButtonHref }}
https://github.com/github/codeql-action/pull/4105/files#diff-3abb83ffc5df1d349d32759ed4876c4c1a50b63d3187ec177d67cb76f0bd50e7
https://github.com/github/codeql-action/pull/4105/files#diff-3abb83ffc5df1d349d32759ed4876c4c1a50b63d3187ec177d67cb76f0bd50e7
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
src/tools-download.test.tshttps://github.com/github/codeql-action/pull/4105/files#diff-ebadd2e3dcb51075cbd718340c3d85b2c75312b8849c4b7a23f3bb78a63925fe
View file https://github.com/github/codeql-action/blob/9d89e2d1d6874f3f7fab0eacb3e77d4150f1833c/src/tools-download.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql-action/pull/4105/{{ revealButtonHref }}
https://github.com/github/codeql-action/pull/4105/files#diff-ebadd2e3dcb51075cbd718340c3d85b2c75312b8849c4b7a23f3bb78a63925fe
https://github.com/github/codeql-action/pull/4105/files#diff-ebadd2e3dcb51075cbd718340c3d85b2c75312b8849c4b7a23f3bb78a63925fe
https://github.com/github/codeql-action/pull/4105/files#diff-ebadd2e3dcb51075cbd718340c3d85b2c75312b8849c4b7a23f3bb78a63925fe
https://github.com/github/codeql-action/pull/4105/files#diff-ebadd2e3dcb51075cbd718340c3d85b2c75312b8849c4b7a23f3bb78a63925fe
https://github.com/github/codeql-action/pull/4105/files#diff-ebadd2e3dcb51075cbd718340c3d85b2c75312b8849c4b7a23f3bb78a63925fe
https://github.com/github/codeql-action/pull/4105/files#diff-ebadd2e3dcb51075cbd718340c3d85b2c75312b8849c4b7a23f3bb78a63925fe
https://github.com/github/codeql-action/pull/4105/files#diff-ebadd2e3dcb51075cbd718340c3d85b2c75312b8849c4b7a23f3bb78a63925fe
https://github.com/github/codeql-action/pull/4105/files#diff-ebadd2e3dcb51075cbd718340c3d85b2c75312b8849c4b7a23f3bb78a63925fe
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
src/tools-download.tshttps://github.com/github/codeql-action/pull/4105/files#diff-cd03b91ca9b1e470e1f8e42a40c548162a7bea2343ff7d257aeb58747cbee7a3
View file https://github.com/github/codeql-action/blob/9d89e2d1d6874f3f7fab0eacb3e77d4150f1833c/src/tools-download.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql-action/pull/4105/{{ revealButtonHref }}
https://github.com/github/codeql-action/pull/4105/files#diff-cd03b91ca9b1e470e1f8e42a40c548162a7bea2343ff7d257aeb58747cbee7a3
https://github.com/github/codeql-action/pull/4105/files#diff-cd03b91ca9b1e470e1f8e42a40c548162a7bea2343ff7d257aeb58747cbee7a3
https://github.com/github/codeql-action/pull/4105/files#diff-cd03b91ca9b1e470e1f8e42a40c548162a7bea2343ff7d257aeb58747cbee7a3
https://github.com/github/codeql-action/pull/4105/files#diff-cd03b91ca9b1e470e1f8e42a40c548162a7bea2343ff7d257aeb58747cbee7a3
https://github.com/github/codeql-action/pull/4105/files#diff-cd03b91ca9b1e470e1f8e42a40c548162a7bea2343ff7d257aeb58747cbee7a3
https://github.com/github/codeql-action/pull/4105/files#diff-cd03b91ca9b1e470e1f8e42a40c548162a7bea2343ff7d257aeb58747cbee7a3
https://github.com/github/codeql-action/pull/4105/files#diff-cd03b91ca9b1e470e1f8e42a40c548162a7bea2343ff7d257aeb58747cbee7a3
Please reload this pagehttps://github.com/github/codeql-action/pull/4105/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.