René's URL Explorer Experiment


Title: Use correct `GitHubApiDetails` instance for `getApiClient` in `getCodeQLAssetDownloadURL` by mbg · Pull Request #4231 · github/codeql-action · GitHub

Open Graph Title: Use correct `GitHubApiDetails` instance for `getApiClient` in `getCodeQLAssetDownloadURL` by mbg · Pull Request #4231 · github/codeql-action

X Title: Use correct `GitHubApiDetails` instance for `getApiClient` in `getCodeQLAssetDownloadURL` by mbg · Pull Request #4231 · github/codeql-action

Description: Based on #4230 with some cherry-picked commits from #4198 along with a final, new commit that passes the correct GitHubApiDetails instance for getApiClient in getCodeQLAssetDownloadURL to address the point discussed in #4198 (comment). 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. 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 - I am depending on unit test coverage (i.e. tests in .test.ts files). End-to-end tests - I am depending on PR checks (i.e. tests in pr-checks). 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 - I rely on existing telemetry or have made changes to the telemetry. Dashboards - I will watch relevant dashboards for issues after the release. Consider whether this requires this change to be released at a particular time rather than as part of a regular release. 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.

Open Graph Description: Based on #4230 with some cherry-picked commits from #4198 along with a final, new commit that passes the correct GitHubApiDetails instance for getApiClient in getCodeQLAssetDownloadURL to address t...

X Description: Based on #4230 with some cherry-picked commits from #4198 along with a final, new commit that passes the correct GitHubApiDetails instance for getApiClient in getCodeQLAssetDownloadURL to address t...

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

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:46390ead-1890-1296-3b74-e367546d0015
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD9D6:A03F5:7EDD6E:ABE6E9:6AED2EC4
html-safe-nonce80b698c04b94a28cabdaf040e77376d2eda051c6bdc9f6b0261c58e5479e5df5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUQ2OkEwM0Y1OjdFREQ2RTpBQkU2RTk6NkFFRDJFQzQiLCJ2aXNpdG9yX2lkIjoiNzg3ODYyMDYyMTUzOTQ1NDY2MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac86edaf45d9def2f3248c3c716b7fea75adbe464eebef8782b9e566eaa843914f
hovercard-subject-tagpull_request:4847185267
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/4231/files
twitter:imagehttps://avatars.githubusercontent.com/u/278086?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/278086?s=400&v=4
og:image:altBased on #4230 with some cherry-picked commits from #4198 along with a final, new commit that passes the correct GitHubApiDetails instance for getApiClient in getCodeQLAssetDownloadURL to address t...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonee51d0b7b5ab34b1688c05b54c3ed17b8658b2fa9bca973a9c740683ccb12cf4a
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
release59ebb7b901cc154ecc179a44f266fcf69f343b30
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql-action/pull/4231/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F4231%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%2F4231%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/4231/files
Reloadhttps://github.com/github/codeql-action/pull/4231/files
Reloadhttps://github.com/github/codeql-action/pull/4231/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
mbghttps://github.com/mbg
mainhttps://github.com/github/codeql-action/tree/main
mbg/use-github-instance-for-getApiClienthttps://github.com/github/codeql-action/tree/mbg/use-github-instance-for-getApiClient
Conversation 11 https://github.com/github/codeql-action/pull/4231
Commits 7 https://github.com/github/codeql-action/pull/4231/commits
Checks 232 https://github.com/github/codeql-action/pull/4231/checks
Files changed https://github.com/github/codeql-action/pull/4231/files
Please reload this pagehttps://github.com/github/codeql-action/pull/4231/files
Use correct GitHubApiDetails instance for getApiClient in getCodeQLAssetDownloadURL https://github.com/github/codeql-action/pull/4231/files#top
Show all changes 7 commits https://github.com/github/codeql-action/pull/4231/files
f728bb6 Add `getDotcomApiDetails` mbg Oct 13, 2026 https://github.com/github/codeql-action/pull/4231/commits/f728bb6678f5d8cfc5a642125ad6c53e7ec7ae42
f2547e0 Use instance in `DownloadSource` and pass it on to `getApiClient` mbg Oct 13, 2026 https://github.com/github/codeql-action/pull/4231/commits/f2547e0e8374552ee8c23aedba4752d85792cc91
b2bf750 Include `apiDetails` in `CodeQLDownloadSource` mbg Oct 14, 2026 https://github.com/github/codeql-action/pull/4231/commits/b2bf75026d97ab337782401fa0d120f524f5541e
8884b5b Add `InstanceApiClient` and incorporate `getAuthorizationHeaderFor` i… mbg Oct 14, 2026 https://github.com/github/codeql-action/pull/4231/commits/8884b5b42398480fefafb763fcb1629864876f8a
1772d44 Merge remote-tracking branch 'origin/main' into mbg/use-github-instan… mbg Oct 16, 2026 https://github.com/github/codeql-action/pull/4231/commits/1772d44790366b9ecd08022074cef7659f37dbe3
1c350b1 Address feedback from previous PR mbg Oct 16, 2026 https://github.com/github/codeql-action/pull/4231/commits/1c350b15646af18665019ea3b44b422207d684a1
d9e3972 Explain when to use `getAuthorizationHeaderFor` mbg Oct 16, 2026 https://github.com/github/codeql-action/pull/4231/commits/d9e3972d38cd6ad0768d732313bd9d865fc30cb8
Clear filters https://github.com/github/codeql-action/pull/4231/files
Please reload this pagehttps://github.com/github/codeql-action/pull/4231/files
Please reload this pagehttps://github.com/github/codeql-action/pull/4231/files
entry-points.js https://github.com/github/codeql-action/pull/4231/files#diff-73697317a7dd14441dcfb24bc586f637ae2b815b5e503a05a81816be74fcd815
api-client.test.ts https://github.com/github/codeql-action/pull/4231/files#diff-c885eacf675ef06f18293958b918f7b8d5faca26b60940bf17da595e6caabaae
api-client.ts https://github.com/github/codeql-action/pull/4231/files#diff-42ff9f1380ec4f23f68cf329edd327ab3298a662fc2df90bd01da76a69fecf59
codeql-bundle.ts https://github.com/github/codeql-action/pull/4231/files#diff-cea61564fba93a2fa38df0337399a2ca4307b305f5097ba6c5ae4f520e7f9854
codeql.test.ts https://github.com/github/codeql-action/pull/4231/files#diff-a59b656ff6cb8e9e4da88f2f927636ffc66ffadca08a86eb1024f9c2690d8ad9
database-upload.test.ts https://github.com/github/codeql-action/pull/4231/files#diff-3c670c636ce19ce0145d7d43352d13dc28a314f2b6264cab4be5f23def1c5edd
database-upload.ts https://github.com/github/codeql-action/pull/4231/files#diff-176a9575a8d49479380a7466f77508cb223b04dc5663a5ed55293f5ae72b234f
setup-codeql.test.ts https://github.com/github/codeql-action/pull/4231/files#diff-f306d28dd1b1b19631643393e111cbf6e6dad30ad83d9eca67f08a64e5e8c324
setup-codeql.ts https://github.com/github/codeql-action/pull/4231/files#diff-1cfeb61aadfc528c554a41781d61b9aea3ea35902cc52b2e1b0ba8d49eb6cda1
repository.ts https://github.com/github/codeql-action/pull/4231/files#diff-d9c356bf9bc3383b86a1958e005a46287c1bfb0b0d9d8e220f705c51455d351e
start-proxy.test.ts https://github.com/github/codeql-action/pull/4231/files#diff-01b1815e9fb7bc72e2a49034f8d40ac9a9cee8eb1bafef7192ae1c78ec8bc456
start-proxy.ts https://github.com/github/codeql-action/pull/4231/files#diff-2361fbfb0d573e13614a296f9a6689d35138bf65f3ec43543b7facd4cff4d415
testing-utils.ts https://github.com/github/codeql-action/pull/4231/files#diff-b5e75f890eca9e7fbfff472427b39ce0f5628833109b50e7b2d165729bd8c124
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/entry-points.jshttps://github.com/github/codeql-action/pull/4231/files#diff-73697317a7dd14441dcfb24bc586f637ae2b815b5e503a05a81816be74fcd815
View file https://github.com/github/codeql-action/blob/d9e3972d38cd6ad0768d732313bd9d865fc30cb8/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/4231/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
src/api-client.test.tshttps://github.com/github/codeql-action/pull/4231/files#diff-c885eacf675ef06f18293958b918f7b8d5faca26b60940bf17da595e6caabaae
View file https://github.com/github/codeql-action/blob/d9e3972d38cd6ad0768d732313bd9d865fc30cb8/src/api-client.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql-action/pull/4231/{{ revealButtonHref }}
https://github.com/github/codeql-action/pull/4231/files#diff-c885eacf675ef06f18293958b918f7b8d5faca26b60940bf17da595e6caabaae
Please reload this pagehttps://github.com/github/codeql-action/pull/4231/files
Please reload this pagehttps://github.com/github/codeql-action/pull/4231/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.