ITADN
hugsy/gef/Issues

[Bug] CI infrequently fails with 403 error

#1213Opengordonmessmer 创建于 2026-02-14
bugtriage
G
gordonmessmercommented
### GEF+GDB version ```shell main branch ``` ### Operating System _No response_ ### Describe the issue you encountered CI jobs occasionally fail, reporting a 403 response to a request for the project's tags via api.github.com. This probably indicates that CI is exceeding the rate limit for that endpoint. This might be fixed by authenticating the request with the value of GITHUB_TOKEN, with a header like `"Authorization: Bearer $GITHUB_TOKEN"` https://docs.github.com/en/rest/authentication/authenticating-to-the-rest-api The CI exception looks like: ``` _____________________ GefInstallScript.test_script_gef_sh ______________________ [gw2] linux -- Python 3.14.2 /usr/sbin/python3.14 self = <tests.scripts.test_gef.GefInstallScript testMethod=test_script_gef_sh> def setUp(self): url = "https://api.github.com/repos/hugsy/gef/tags" res = requests.get(url) > assert res.status_code == 200 E assert 403 == 200 E + where 403 = <Response [403]>.status_code ``` ### Do you read the docs and look at previously closed issues/PRs for similar cases? Yes ### Architecture impacted - [ ] X86 - [ ] X64 - [ ] ARM - [ ] ARM64 - [ ] MIPS - [ ] MIPS64 - [ ] PPC - [ ] PPC64 - [ ] RISCV ### Describe your issue. Without a proper reproduction step-by-step, your issue will be ignored. The issue may be difficult to reproduce, other than repeatedly pushing changes to a PR. ### Minimalist test case _No response_ ### Additional context? _No response_
0 条评论