Title: No way to configure CODEQL_THREADS with an environment variable · Issue #2890 · github/codeql-action · GitHub
Open Graph Title: No way to configure CODEQL_THREADS with an environment variable · Issue #2890 · github/codeql-action
X Title: No way to configure CODEQL_THREADS with an environment variable · Issue #2890 · github/codeql-action
Description: The source says this action respects both CODEQL_RAM and CODEQL_THREADS https://github.com/github/codeql-action/blob/5eb3ed6614230b1931d5c08df9e096e4ba524f21/lib/init-action.js#L315C12-L319 this is true for CODEQL_RAM codeql-action/lib/i...
Open Graph Description: The source says this action respects both CODEQL_RAM and CODEQL_THREADS https://github.com/github/codeql-action/blob/5eb3ed6614230b1931d5c08df9e096e4ba524f21/lib/init-action.js#L315C12-L319 this is...
X Description: The source says this action respects both CODEQL_RAM and CODEQL_THREADS https://github.com/github/codeql-action/blob/5eb3ed6614230b1931d5c08df9e096e4ba524f21/lib/init-action.js#L315C12-L319 this is...
Opengraph URL: https://github.com/github/codeql-action/issues/2890
X: @github
Domain: redirect.github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"No way to configure CODEQL_THREADS with an environment variable","articleBody":"The source says this action respects both CODEQL_RAM and CODEQL_THREADS\n\nhttps://github.com/github/codeql-action/blob/5eb3ed6614230b1931d5c08df9e096e4ba524f21/lib/init-action.js#L315C12-L319\n\nthis is true for CODEQL_RAM\n\nhttps://github.com/github/codeql-action/blob/5eb3ed6614230b1931d5c08df9e096e4ba524f21/lib/init-action.js#L320\n\nbut not true for CODEQL_THREADS\n\nhttps://github.com/github/codeql-action/blob/5eb3ed6614230b1931d5c08df9e096e4ba524f21/lib/init-action.js#L322\n\nIs this an oversight or is there a good reason for this?\n\nMy use case is I'm running this on a big 48 core kubernetes but the codeql runner pod is only allowed to use 16 cores. The autodetection is not factoring in the pod limits, it's looking at the node's available resources. I want to hint to codeql that it only has 16 threads available via the CODEQL_THREADS env var.","author":{"url":"https://github.com/austinpray-mixpanel","@type":"Person","name":"austinpray-mixpanel"},"datePublished":"2025-05-06T02:26:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/2890/codeql-action/issues/2890"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6d80b9e6-303e-6898-9fd2-97061e594a10 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 846E:237528:65BB65:896D1F:6A4C7DEA |
| html-safe-nonce | cd31b175d2e44237793a76c3456a31748b82bb6c6d82c8bfe95081f59d9541d3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDZFOjIzNzUyODo2NUJCNjU6ODk2RDFGOjZBNEM3REVBIiwidmlzaXRvcl9pZCI6Ijc3NzczMTk5MDk0MzI1MjQyNjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f1f458de2672bf4cd9c53e6443a991f6b6a903083e87b510e4c9e15ce5fe0bda |
| hovercard-subject-tag | issue:3041343797 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/codeql-action/2890/issue_layout |
| twitter:image | https://opengraph.githubassets.com/69f198519319490043d40629075cb1b82f172f80c5338f3d9d9b9b93c5a89c08/github/codeql-action/issues/2890 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/69f198519319490043d40629075cb1b82f172f80c5338f3d9d9b9b93c5a89c08/github/codeql-action/issues/2890 |
| og:image:alt | The source says this action respects both CODEQL_RAM and CODEQL_THREADS https://github.com/github/codeql-action/blob/5eb3ed6614230b1931d5c08df9e096e4ba524f21/lib/init-action.js#L315C12-L319 this is... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | austinpray-mixpanel |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/github/codeql-action git https://github.com/github/codeql-action.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 259445878 |
| octolytics-dimension-repository_nwo | github/codeql-action |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 259445878 |
| octolytics-dimension-repository_network_root_nwo | github/codeql-action |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cd470457e909b9d062f8002cf438ba870e6acff6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width