René's URL Explorer Experiment


Title: start-proxy selects an AMD64 binary on Linux ARM64 · Issue #4173 · github/codeql-action · GitHub

Open Graph Title: start-proxy selects an AMD64 binary on Linux ARM64 · Issue #4173 · github/codeql-action

X Title: start-proxy selects an AMD64 binary on Linux ARM64 · Issue #4173 · github/codeql-action

Description: Problem The CodeQL CLI now has native Linux ARM64 support in beta, but the managed private-registry proxy still selects and downloads an AMD64 executable on Linux ARM64. This prevents the proxy from running natively even when CodeQL anal...

Open Graph Description: Problem The CodeQL CLI now has native Linux ARM64 support in beta, but the managed private-registry proxy still selects and downloads an AMD64 executable on Linux ARM64. This prevents the proxy fro...

X Description: Problem The CodeQL CLI now has native Linux ARM64 support in beta, but the managed private-registry proxy still selects and downloads an AMD64 executable on Linux ARM64. This prevents the proxy fro...

Opengraph URL: https://github.com/github/codeql-action/issues/4173

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"start-proxy selects an AMD64 binary on Linux ARM64","articleBody":"## Problem\n\nThe CodeQL CLI now has native Linux ARM64 support in beta, but the managed private-registry proxy still selects and downloads an AMD64 executable on Linux ARM64. This prevents the proxy from running natively even when CodeQL analysis itself can run.\n\nThis report concerns the proxy artifact and architecture selection, not generic CodeQL CLI ARM64 support, registry credentials, custom CA certificates, or outbound network access.\n\n## Source and public release evidence\n\nSource inspected on September 25, 2026: [`fa8392b7e54a5d74a53270a4aa7defa307aa415c`](https://github.com/github/codeql-action/commit/fa8392b7e54a5d74a53270a4aa7defa307aa415c).\n\n- [`getProxyPackage()`](https://github.com/github/codeql-action/blob/fa8392b7e54a5d74a53270a4aa7defa307aa415c/src/start-proxy.ts#L371-L382) selects by `process.platform` only. Every Linux host receives `update-job-proxy-linux64.tar.gz`; `process.arch` is not checked.\n- [`getDownloadUrl()`](https://github.com/github/codeql-action/blob/fa8392b7e54a5d74a53270a4aa7defa307aa415c/src/start-proxy.ts#L424-L475) looks for that filename in the CodeQL bundle release, then falls back to the [hard-coded v2.22.0 release](https://github.com/github/codeql-action/blob/fa8392b7e54a5d74a53270a4aa7defa307aa415c/src/start-proxy.ts#L172-L175).\n- The [v2.27.0 release](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.27.0) contains a native `codeql-bundle-linux-arm64` CLI bundle, but the proxy assets are only `linux64`, `osx64`, and `win64`.\n- Fresh inspection of both Linux proxy archives below found ELF `e_machine=62` (`EM_X86_64`), not `183` (`EM_AARCH64`). Downloaded archive hashes match the digests returned by the GitHub Releases API.\n\n| Proxy release | ELF architecture | Archive SHA-256 |\n| --- | --- | --- |\n| v2.27.0 | AMD64 / `e_machine=62` | `77197411d8fe7c6d157f694e2e4edd6b94bf7d9d10c667864cd6a113c31f97b2` |\n| v2.22.0 fallback | AMD64 / `e_machine=62` | `caed6d4ad41849570f6c62f784f20f9414a82738b120f464d7fcad1640f7900b` |\n\n## Public-only reproduction\n\nThis inspects public artifacts without executing them, extracting them to disk, accessing a private registry, or requiring credentials. It can run on any host with curl and Python 3; the affected execution platform is native Linux ARM64 without x86 emulation.\n\n```bash\nfor version in 2.27.0 2.22.0; do\n  curl --fail --silent --show-error --location \\\n    \"https://github.com/github/codeql-action/releases/download/codeql-bundle-v${version}/update-job-proxy-linux64.tar.gz\" \\\n    -o \"proxy-v${version}.tar.gz\" || exit 1\ndone\n\npython3 - \u003c\u003c'PY'\nimport tarfile\nfrom pathlib import Path\n\nfor version in (\"2.27.0\", \"2.22.0\"):\n    with tarfile.open(f\"proxy-v{version}.tar.gz\", \"r:gz\") as archive:\n        members = [\n            member for member in archive.getmembers()\n            if member.isfile() and Path(member.name).name == \"update-job-proxy\"\n        ]\n        assert len(members) == 1\n        header = archive.extractfile(members[0]).read(64)\n        assert header[:4] == b\"\\x7fELF\"\n        assert header[5] in (1, 2)\n        byteorder = \"little\" if header[5] == 1 else \"big\"\n        machine = int.from_bytes(header[18:20], byteorder)\n        print(f\"{version}: ELF e_machine={machine} (62=AMD64, 183=AArch64)\")\nPY\n```\n\nActual output:\n\n```text\n2.27.0: ELF e_machine=62 (62=AMD64, 183=AArch64)\n2.22.0: ELF e_machine=62 (62=AMD64, 183=AArch64)\n```\n\n## Native-run observation and impact\n\nA September 21, 2026 managed CodeQL run on native Linux ARM64, Ubuntu 26.04.1, with CLI 2.27.0 uploaded analyses successfully, but its local registry-proxy connection tests failed with `ECONNREFUSED`; proxy cleanup reported `ESRCH`. This earlier runtime observation is separate from the fresh public-artifact inspection above; no new managed scan was triggered for this report.\n\nSuccessful analysis upload therefore did not establish successful private-dependency resolution. The architecture mismatch can be verified independently of that runner OS version and of any particular private registry. An x64 runner remains the workaround for this proxy path.\n\n## Expected behavior\n\nSelect a native Linux ARM64 proxy artifact when `process.arch === \"arm64\"`, including an architecture-compatible fallback. Until such an artifact is available, fail early with an explicit unsupported-architecture diagnostic rather than attempting to start the AMD64 executable. Tests should cover Linux `x64` and `arm64` selection and fallback behavior.\n\nCould the maintainers confirm whether private-registry proxy support is intended to be part of [Linux ARM64 CodeQL support](https://codeql.github.com/docs/codeql-overview/system-requirements/), or whether this remains an unsupported combination that should be documented explicitly?\n\n## Related, but distinct\n\n#3530 and #3531 address proxy startup retries and false-success/readiness reporting. They may explain why a dead proxy is not surfaced clearly, but they do not add an ARM64 proxy artifact or change architecture selection. This report tracks that architecture gap separately.\n","author":{"url":"https://github.com/debanjanbasu","@type":"Person","name":"debanjanbasu"},"datePublished":"2026-09-25T01:56:10Z","url":"https://github.com/github/codeql-action/issues/4173"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0ede2704-8349-a24c-9607-d5f150bccc96
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC3E2:A3A4:7A7AA:11ABD6:6AED27C6
html-safe-nonce74c63b26d9b50874373919d6268e3a8734ccd4b8d959e8a6da1c0b8427608aa6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDM0UyOkEzQTQ6N0E3QUE6MTFBQkQ2OjZBRUQyN0M2IiwidmlzaXRvcl9pZCI6IjYxMjY1MjY2MzM0MDI1MDkyNTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb2efa695d1bd82403c53726fda4d5470d891562a2b5ee42c80bdd331f7b9a83a
hovercard-subject-tagissue:5576985379
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/codeql-action/4173/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d86d9bb4ad1d27caea0a43cc083ed24b9c40c0b83d403a8826c00fc4b026057f/github/codeql-action/issues/4173
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d86d9bb4ad1d27caea0a43cc083ed24b9c40c0b83d403a8826c00fc4b026057f/github/codeql-action/issues/4173
og:image:altProblem The CodeQL CLI now has native Linux ARM64 support in beta, but the managed private-registry proxy still selects and downloads an AMD64 executable on Linux ARM64. This prevents the proxy fro...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedebanjanbasu
hostnamegithub.com
expected-hostnamegithub.com
None9d95365dda0576efe9b71f45807595e396bd0ca9286fba5367a05048e6ddf8f2
turbo-cache-controlno-preview
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
disable-turbofalse
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
react-app-nameissues

Links:

Skip to contenthttps://github.com/github/codeql-action/issues/4173#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fissues%2F4173
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%2Fissues%2F4173
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=github%2Fcodeql-action
Reloadhttps://github.com/github/codeql-action/issues/4173
Reloadhttps://github.com/github/codeql-action/issues/4173
Reloadhttps://github.com/github/codeql-action/issues/4173
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
https://github.com/github/codeql-action
New issuehttps://github.com/login?return_to=https://github.com/github/codeql-action/issues/4173
New issuehttps://github.com/login?return_to=https://github.com/github/codeql-action/issues/4173
start-proxy selects an AMD64 binary on Linux ARM64https://github.com/github/codeql-action/issues/4173#top
https://github.com/debanjanbasu
debanjanbasuhttps://github.com/debanjanbasu
on Sep 25, 2026https://github.com/github/codeql-action/issues/4173#issue-5576985379
fa8392b7e54a5d74a53270a4aa7defa307aa415chttps://github.com/github/codeql-action/commit/fa8392b7e54a5d74a53270a4aa7defa307aa415c
getProxyPackage()https://github.com/github/codeql-action/blob/fa8392b7e54a5d74a53270a4aa7defa307aa415c/src/start-proxy.ts#L371-L382
getDownloadUrl()https://github.com/github/codeql-action/blob/fa8392b7e54a5d74a53270a4aa7defa307aa415c/src/start-proxy.ts#L424-L475
hard-coded v2.22.0 releasehttps://github.com/github/codeql-action/blob/fa8392b7e54a5d74a53270a4aa7defa307aa415c/src/start-proxy.ts#L172-L175
v2.27.0 releasehttps://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.27.0
Linux ARM64 CodeQL supporthttps://codeql.github.com/docs/codeql-overview/system-requirements/
#3530https://github.com/github/codeql-action/issues/3530
#3531https://github.com/github/codeql-action/pull/3531
https://github.com/mbg
mbghttps://github.com/mbg
on Sep 25, 2026https://github.com/github/codeql-action/issues/4173#issuecomment-5830355945
@debanjanbasuhttps://github.com/debanjanbasu
https://github.com/mbg
mbghttps://github.com/mbg
on Sep 29, 2026https://github.com/github/codeql-action/issues/4173#issuecomment-5896015503
https://github.com/debanjanbasu
debanjanbasuhttps://github.com/debanjanbasu
on Oct 6, 2026https://github.com/github/codeql-action/issues/4173#issuecomment-6008477163
@mbghttps://github.com/mbg
#4181https://github.com/github/codeql-action/pull/4181
Support linux-arm64 assets in start-proxy #4181https://github.com/github/codeql-action/pull/4181
https://github.com/debanjanbasu
debanjanbasuhttps://github.com/debanjanbasu
on Oct 10, 2026https://github.com/github/codeql-action/issues/4173#issuecomment-6103222162
#4181https://github.com/github/codeql-action/pull/4181
#4198https://github.com/github/codeql-action/pull/4198
https://github.com/mbg
mbghttps://github.com/mbg
on Oct 16, 2026https://github.com/github/codeql-action/issues/4173#issuecomment-6216533506
@debanjanbasuhttps://github.com/debanjanbasu
#4198https://github.com/github/codeql-action/pull/4198
#4173 (comment)https://github.com/github/codeql-action/issues/4173#issuecomment-6008477163
https://github.com/debanjanbasu
debanjanbasuhttps://github.com/debanjanbasu
on Oct 18, 2026https://github.com/github/codeql-action/issues/4173#issuecomment-6256208781
@mbghttps://github.com/mbg
#4198https://github.com/github/codeql-action/pull/4198
#4181https://github.com/github/codeql-action/pull/4181
#4198https://github.com/github/codeql-action/pull/4198
https://github.com/mbg
mbghttps://github.com/mbg
on Oct 19, 2026https://github.com/github/codeql-action/issues/4173#issuecomment-6265336860
@debanjanbasuhttps://github.com/debanjanbasu
mbghttps://github.com/mbg
completedhttps://github.com/github/codeql-action/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 19, 2026https://github.com/github/codeql-action/issues/4173#event-33634982908
Sign up for freehttps://github.com/signup?return_to=https://github.com/github/codeql-action/issues/4173
Sign in to commenthttps://github.com/login?return_to=https://github.com/github/codeql-action/issues/4173
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.