René's URL Explorer Experiment


Title: Respect Linux `cgroup` CPU number for `--threads` value by angelapwen · Pull Request #2083 · github/codeql-action · GitHub

Open Graph Title: Respect Linux `cgroup` CPU number for `--threads` value by angelapwen · Pull Request #2083 · github/codeql-action

X Title: Respect Linux `cgroup` CPU number for `--threads` value by angelapwen · Pull Request #2083 · github/codeql-action

Description: We want to respect cgroup constraints so that when we run in a container, we respect the limits set for the container rather than use the host OS's number of cores. We check both /sys/fs/cgroup/cpu...

Open Graph Description: We want to respect cgroup constraints so that when we run in a container, we respect the limits set for the container rather than use the host OS's number of cores. We check both /sys/fs/cgroup...

X Description: We want to respect cgroup constraints so that when we run in a container, we respect the limits set for the container rather than use the host OS's number of cores. We check both /sys/fs/cg...

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:4b3729f1-b701-336d-8c1e-4d28c71f5ba8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9E1E:39B4F8:20420F:2AC32C:6969D71D
html-safe-nonce883ac0f78b418bff4771a014e0aa508c0dcdf37f59894bc0c7a1527276cf3634
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTFFOjM5QjRGODoyMDQyMEY6MkFDMzJDOjY5NjlENzFEIiwidmlzaXRvcl9pZCI6IjQ4MTMyOTcyNzgzMzMzNDM1MTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac62051aea7d84158a548f8a27d228219766f0a58873ab01611ef5b054ca75f5cc
hovercard-subject-tagpull_request:1677299260
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/github/codeql-action/2083/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5c9ed2cf767d2416ad0801109a85080229c5b813fe90d000365c90ad26b28458/github/codeql-action/pull/2083
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5c9ed2cf767d2416ad0801109a85080229c5b813fe90d000365c90ad26b28458/github/codeql-action/pull/2083
og:image:altWe want to respect cgroup constraints so that when we run in a container, we respect the limits set for the container rather than use the host OS's number of cores. We check both /sys/fs/cgroup...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameangelapwen
hostnamegithub.com
expected-hostnamegithub.com
Noneacedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056
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
release83c08c21cdda978090dc44364b71aa5bc6dcea79
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql-action/pull/2083#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F2083
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F2083
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=github%2Fcodeql-action
Reloadhttps://github.com/github/codeql-action/pull/2083
Reloadhttps://github.com/github/codeql-action/pull/2083
Reloadhttps://github.com/github/codeql-action/pull/2083
github https://github.com/github
codeql-actionhttps://github.com/github/codeql-action
Notifications https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Fork 434 https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Star 1.5k https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Code https://github.com/github/codeql-action
Issues 145 https://github.com/github/codeql-action/issues
Pull requests 15 https://github.com/github/codeql-action/pulls
Actions https://github.com/github/codeql-action/actions
Models https://github.com/github/codeql-action/models
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/github/codeql-action/security
Please reload this pagehttps://github.com/github/codeql-action/pull/2083
Insights https://github.com/github/codeql-action/pulse
Code https://github.com/github/codeql-action
Issues https://github.com/github/codeql-action/issues
Pull requests https://github.com/github/codeql-action/pulls
Actions https://github.com/github/codeql-action/actions
Models https://github.com/github/codeql-action/models
Security https://github.com/github/codeql-action/security
Insights https://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
Jump to bottomhttps://github.com/github/codeql-action/pull/2083#issue-comment-box
angelapwenhttps://github.com/angelapwen
github:mainhttps://github.com/github/codeql-action/tree/main
angelapwen:use-cgroup-for-threadshttps://github.com/angelapwen/codeql-action/tree/use-cgroup-for-threads
Respect Linux cgroup CPU number for --threads value https://github.com/github/codeql-action/pull/2083#top
angelapwenhttps://github.com/angelapwen
github:mainhttps://github.com/github/codeql-action/tree/main
angelapwen:use-cgroup-for-threadshttps://github.com/angelapwen/codeql-action/tree/use-cgroup-for-threads
Conversation 10 https://github.com/github/codeql-action/pull/2083
Commits 6 https://github.com/github/codeql-action/pull/2083/commits
Checks 0 https://github.com/github/codeql-action/pull/2083/checks
Files changed https://github.com/github/codeql-action/pull/2083/files
Please reload this pagehttps://github.com/github/codeql-action/pull/2083
https://github.co/hiddenchars
https://github.com/github/codeql-action/pull/{{ revealButtonHref }}
https://github.com/angelapwen
angelapwenhttps://github.com/angelapwen
Jan 12, 2024https://github.com/github/codeql-action/pull/2083#issue-2079759951
Please reload this pagehttps://github.com/github/codeql-action/pull/2083
readmehttps://github.com/github/codeql-action/blob/main/README.md
changeloghttps://github.com/github/codeql-action/blob/main/CHANGELOG.md
Please reload this pagehttps://github.com/github/codeql-action/pull/2083
https://github.com/angelapwen
angelapwenhttps://github.com/angelapwen
force-pushedhttps://github.com/github/codeql-action/compare/9ce11464bb7d1257bda208617c6bbbcf83b80405..744f96973269675be941b7aabc9479314e6ab838
9ce1146https://github.com/github/codeql-action/commit/9ce11464bb7d1257bda208617c6bbbcf83b80405
744f969https://github.com/github/codeql-action/commit/744f96973269675be941b7aabc9479314e6ab838
Compare https://github.com/github/codeql-action/compare/9ce11464bb7d1257bda208617c6bbbcf83b80405..744f96973269675be941b7aabc9479314e6ab838
January 12, 2024 23:13https://github.com/github/codeql-action/pull/2083#event-11474930632
https://github.com/angelapwen
angelapwenhttps://github.com/angelapwen
force-pushedhttps://github.com/github/codeql-action/compare/d93d38bcb7176cc6aa7810589a4810a86e58ca41..75788e9b30fe38415957c1c3fff799d3dceff108
d93d38bhttps://github.com/github/codeql-action/commit/d93d38bcb7176cc6aa7810589a4810a86e58ca41
75788e9https://github.com/github/codeql-action/commit/75788e9b30fe38415957c1c3fff799d3dceff108
Compare https://github.com/github/codeql-action/compare/d93d38bcb7176cc6aa7810589a4810a86e58ca41..75788e9b30fe38415957c1c3fff799d3dceff108
January 22, 2024 12:58https://github.com/github/codeql-action/pull/2083#event-11556406690
https://github.com/angelapwen
Respect Linux cgroup CPU number for --threads valuehttps://github.com/github/codeql-action/pull/2083/commits/b0e35ba42939d3a32998d31f96753cc2a8b26c14
b0e35bahttps://github.com/github/codeql-action/pull/2083/commits/b0e35ba42939d3a32998d31f96753cc2a8b26c14
https://github.com/angelapwen
angelapwenhttps://github.com/angelapwen
force-pushedhttps://github.com/github/codeql-action/compare/75788e9b30fe38415957c1c3fff799d3dceff108..b0e35ba42939d3a32998d31f96753cc2a8b26c14
75788e9https://github.com/github/codeql-action/commit/75788e9b30fe38415957c1c3fff799d3dceff108
b0e35bahttps://github.com/github/codeql-action/commit/b0e35ba42939d3a32998d31f96753cc2a8b26c14
Compare https://github.com/github/codeql-action/compare/75788e9b30fe38415957c1c3fff799d3dceff108..b0e35ba42939d3a32998d31f96753cc2a8b26c14
January 22, 2024 13:01https://github.com/github/codeql-action/pull/2083#event-11556445035
angelapwenhttps://github.com/angelapwen
January 22, 2024 14:01https://github.com/github/codeql-action/pull/2083#commits-pushed-354aec0
https://github.com/angelapwen
Merge remote-tracking branch 'upstream' into use-cgroup-for-threadshttps://github.com/github/codeql-action/pull/2083/commits/354aec0c1d7b260b8a8c4b0dec8f8c651be67544
354aec0https://github.com/github/codeql-action/pull/2083/commits/354aec0c1d7b260b8a8c4b0dec8f8c651be67544
https://github.com/angelapwen
Add changenotehttps://github.com/github/codeql-action/pull/2083/commits/dd78af3bda2dcef2443f798df01782fa49a90a22
dd78af3https://github.com/github/codeql-action/pull/2083/commits/dd78af3bda2dcef2443f798df01782fa49a90a22
https://github.com/angelapwen
angelapwenhttps://github.com/angelapwen
January 22, 2024 13:11https://github.com/github/codeql-action/pull/2083#event-11556563570
https://github.com/angelapwen
angelapwenhttps://github.com/angelapwen
code ownerhttps://github.com/github/codeql-action/blob/b96e5e1158e8b8f7694d677976037b27efd275d4/CODEOWNERS#L1
January 22, 2024 13:11https://github.com/github/codeql-action/pull/2083#event-11556563653
https://github.com/angelapwen
Also respect limit from cgroup/cpu.maxhttps://github.com/github/codeql-action/pull/2083/commits/ef58de38d4c6706f5d54f80528c948ed60444fc4
ef58de3https://github.com/github/codeql-action/pull/2083/commits/ef58de38d4c6706f5d54f80528c948ed60444fc4
https://github.com/henrymercer
henrymercerhttps://github.com/henrymercer
Jan 23, 2024 https://github.com/github/codeql-action/pull/2083#pullrequestreview-1838645944
View reviewed changes https://github.com/github/codeql-action/pull/2083/files/ef58de38d4c6706f5d54f80528c948ed60444fc4
henrymercerhttps://github.com/henrymercer
https://github.com/github/codeql-action/pull/2083#pullrequestreview-1838645944
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/2083
src/util.tshttps://github.com/github/codeql-action/pull/2083/files/ef58de38d4c6706f5d54f80528c948ed60444fc4#diff-3294a832ea2276e554177e0b3007cc2d401c082912c7fbde49fa09141bf1aed1
henrymercerhttps://github.com/henrymercer
Jan 23, 2024https://github.com/github/codeql-action/pull/2083#discussion_r1463197979
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/2083
angelapwenhttps://github.com/angelapwen
Jan 23, 2024https://github.com/github/codeql-action/pull/2083#discussion_r1463215767
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/2083
src/util.tshttps://github.com/github/codeql-action/pull/2083/files/ef58de38d4c6706f5d54f80528c948ed60444fc4#diff-3294a832ea2276e554177e0b3007cc2d401c082912c7fbde49fa09141bf1aed1
Please reload this pagehttps://github.com/github/codeql-action/pull/2083
https://github.com/angelapwen
Address PR review commentshttps://github.com/github/codeql-action/pull/2083/commits/8e735f0e015836e38b8f7129a572347429cba393
8e735f0https://github.com/github/codeql-action/pull/2083/commits/8e735f0e015836e38b8f7129a572347429cba393
https://github.com/angelapwen
angelapwenhttps://github.com/angelapwen
force-pushedhttps://github.com/github/codeql-action/compare/bf7632c1aa6c5039ee315fafaa8763bd2b438664..8e735f0e015836e38b8f7129a572347429cba393
bf7632chttps://github.com/github/codeql-action/commit/bf7632c1aa6c5039ee315fafaa8763bd2b438664
8e735f0https://github.com/github/codeql-action/commit/8e735f0e015836e38b8f7129a572347429cba393
Compare https://github.com/github/codeql-action/compare/bf7632c1aa6c5039ee315fafaa8763bd2b438664..8e735f0e015836e38b8f7129a572347429cba393
January 23, 2024 12:30https://github.com/github/codeql-action/pull/2083#event-11569678552
https://github.com/henrymercer
henrymercerhttps://github.com/henrymercer
Jan 23, 2024 https://github.com/github/codeql-action/pull/2083#pullrequestreview-1838799249
View reviewed changes https://github.com/github/codeql-action/pull/2083/files/8e735f0e015836e38b8f7129a572347429cba393
src/util.tshttps://github.com/github/codeql-action/pull/2083/files/8e735f0e015836e38b8f7129a572347429cba393#diff-3294a832ea2276e554177e0b3007cc2d401c082912c7fbde49fa09141bf1aed1
henrymercerhttps://github.com/henrymercer
Jan 23, 2024https://github.com/github/codeql-action/pull/2083#discussion_r1463286907
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/2083
angelapwenhttps://github.com/angelapwen
Jan 23, 2024https://github.com/github/codeql-action/pull/2083#discussion_r1463361650
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/2083
src/util.tshttps://github.com/github/codeql-action/pull/2083/files/8e735f0e015836e38b8f7129a572347429cba393#diff-3294a832ea2276e554177e0b3007cc2d401c082912c7fbde49fa09141bf1aed1
henrymercerhttps://github.com/henrymercer
Jan 23, 2024https://github.com/github/codeql-action/pull/2083#discussion_r1463287734
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/2083
https://github.com/angelapwen
Allow for multi-digit core indiceshttps://github.com/github/codeql-action/pull/2083/commits/4acf5bea32045067041f573e3804bd8ff9f265d4
4acf5behttps://github.com/github/codeql-action/pull/2083/commits/4acf5bea32045067041f573e3804bd8ff9f265d4
https://github.com/henrymercer
henrymercerhttps://github.com/henrymercer
Jan 23, 2024 https://github.com/github/codeql-action/pull/2083#pullrequestreview-1838947351
View reviewed changes https://github.com/github/codeql-action/pull/2083/files/4acf5bea32045067041f573e3804bd8ff9f265d4
henrymercerhttps://github.com/henrymercer
https://github.com/github/codeql-action/pull/2083#pullrequestreview-1838947351
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/2083
https://github.com/angelapwen
angelapwenhttps://github.com/angelapwen
January 23, 2024 14:37https://github.com/github/codeql-action/pull/2083#event-11571217963
https://github.com/angelapwen
angelapwenhttps://github.com/angelapwen
65c7496https://github.com/github/codeql-action/commit/65c74964a9ed8c44ed9f19d4bbc5757a6a8e9ab9
Jan 23, 2024https://github.com/github/codeql-action/pull/2083#event-11571392897
https://github.com/angelapwen
angelapwenhttps://github.com/angelapwen
January 23, 2024 14:56https://github.com/github/codeql-action/pull/2083#event-11571488555
Merge main into releases/v3 #2099 https://github.com/github/codeql-action/pull/2099
Merge releases/v3 into releases/v2 #2102 https://github.com/github/codeql-action/pull/2102
https://github.com/thomas-koppera-keenfinity
thomas-koppera-keenfinityhttps://github.com/thomas-koppera-keenfinity
Feb 14, 2024 https://github.com/github/codeql-action/pull/2083#ref-issue-2134110033
Executing the CodeQL GitHub Action within a Docker container results in the detection of only a single CPU, due to the /sys/fs/cgroup/cpuset.cpus file being empty. #2139 https://github.com/github/codeql-action/issues/2139
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F2083
https://github.com/henrymercer
henrymercer https://github.com/henrymercer
https://github.com/github/codeql-action/pull/2083/files/4acf5bea32045067041f573e3804bd8ff9f265d4
Please reload this pagehttps://github.com/github/codeql-action/pull/2083
https://github.com/angelapwen
https://github.com/henrymercer
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.