Title: go build hangs after codeql init · Issue #2589 · github/codeql-action · GitHub
Open Graph Title: go build hangs after codeql init · Issue #2589 · github/codeql-action
X Title: go build hangs after codeql init · Issue #2589 · github/codeql-action
Description: Hi, I'm trying out codeql, after running codeql init for go language and with the debug flag I build my app with go build -x and it just hangs, no output. I use the same steps to build my app in a separate workflow where there's no codeq...
Open Graph Description: Hi, I'm trying out codeql, after running codeql init for go language and with the debug flag I build my app with go build -x and it just hangs, no output. I use the same steps to build my app in a ...
X Description: Hi, I'm trying out codeql, after running codeql init for go language and with the debug flag I build my app with go build -x and it just hangs, no output. I use the same steps to build my app i...
Opengraph URL: https://github.com/github/codeql-action/issues/2589
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"go build hangs after codeql init","articleBody":"Hi, \r\n\r\nI'm trying out codeql, after running codeql init for go language and with the debug flag I build my app with `go build -x` and it just hangs, no output. I use the same steps to build my app in a separate workflow where there's no codeql and it works just fine. Running locally with codeql CLI (macos arm64) also works.\r\n\r\nMy workflow (simplified):\r\n\r\n```yml\r\n runs-on: ubuntu-latest\r\n steps:\r\n - uses: actions/checkout@v4\r\n\r\n - name: Initialize CodeQL\r\n uses: github/codeql-action/init@v3\r\n with:\r\n languages: go\r\n debug: true\r\n\r\n - name: Build app\r\n run: go build -x\r\n\r\n - name: Perform CodeQL Analysis\r\n uses: github/codeql-action/analyze@v3\r\n```\r\n\r\nI tried autobuild but after a few minutes it just hangs on one of the go files and I don't know why, would be great to learn how can I debug this. \r\n\r\nThank you.","author":{"url":"https://github.com/csandanov","@type":"Person","name":"csandanov"},"datePublished":"2024-11-11T10:35:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/2589/codeql-action/issues/2589"}
| 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:c792b5a2-9a9e-1629-bd45-e0cc0b925d20 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EE08:215E69:13270A:198EB1:6A515DA0 |
| html-safe-nonce | 0d6f2e3b13b91b2aa578833f2a2477366f4978d724244546c0192a545f7dc719 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRTA4OjIxNUU2OToxMzI3MEE6MTk4RUIxOjZBNTE1REEwIiwidmlzaXRvcl9pZCI6IjQ3OTI2MzU5NTQ3OTI2MDU3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5afb3cff274f68d8060a45eaa091c4c48591838d50a73bb6f1bab1e224e70698 |
| hovercard-subject-tag | issue:2648901415 |
| 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/2589/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d2c30ca57c3fdaf29532b8cf389a46217c90033a2b6030af71e72d3fd607bd04/github/codeql-action/issues/2589 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d2c30ca57c3fdaf29532b8cf389a46217c90033a2b6030af71e72d3fd607bd04/github/codeql-action/issues/2589 |
| og:image:alt | Hi, I'm trying out codeql, after running codeql init for go language and with the debug flag I build my app with go build -x and it just hangs, no output. I use the same steps to build my app in a ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | csandanov |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 2eeb434949a926fad21064b4d395a54759f7a0b2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width