gitkraken / vscode-gitlens

Supercharge Git inside VS Code and unlock untapped knowledge within each repository — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more
http://gitkraken.com/gitlens
Other
8.94k stars 1.28k forks source link

GitHub request timed out. #3298 #3557

Open brianjmurrell opened 1 week ago

brianjmurrell commented 1 week ago

Type: Bug

https://github.com/gitkraken/vscode-gitlens/issues/3298 was closed and locked before fully resolving the issue.

I still see this issue with current VS Code and GitLens per the version report below.

Extension version: 15.4.0 VS Code version: Code 1.93.0 (4849ca9bdf9666755eb463db297b69e5385090e3, 2024-09-04T13:02:38.431Z) OS version: Linux x64 6.10.6-200.fc40.x86_64 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-10850H CPU @ 2.70GHz (12 x 3799)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off| |Load (avg)|2, 2, 2| |Memory (System)|62.44GB (42.70GB free)| |Process Argv|--crash-reporter-id d33a766b-28e9-45e5-942d-3a9085ddc0c0| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|gnome| |XDG_CURRENT_DESKTOP|GNOME| |XDG_SESSION_DESKTOP|gnome| |XDG_SESSION_TYPE|x11|
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805:30301674 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 2i9eh265:30646982 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonnoceb:30805159 asynctok:30898717 pythonregdiag2:30936856 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 accentitlementsc:30995553 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 724cj586:31013169 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 dwnewjupytercf:31046870 2f103344:31071589 impr_priority:31102340 nativerepl2:31104044 refactort:31108082 pythonrstrctxt:31112756 flightc:31119335 wkspc-onlycs-c:31111717 wkspc-ranged-c:31125598 fje88620:31121564 aajjf12562cf:31125794 ```
brianjmurrell commented 1 week ago

After enabling debug output I see the following in the debug log:

[2024-09-09 15:12:11.132] [  17e →   17f] GitHubApi.searchMyPullRequests(e=GitHub, <token>, r={"baseUrl":"https://api.github.com","silent":true}, i=undefined)
…
[2024-09-09 15:12:34.909] [  17e →   17f] GitHubApi.searchMyPullRequests 
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `3DFC:AF1DA:10F3353D:111C189D:66DF1058` when reporting this issue."}]}
[2024-09-09 15:12:34.909] [  225 →   226] GitHubIntegration.trackRequestException
[2024-09-09 15:12:34.909] [  225 →   226] GitHubIntegration.trackRequestException completed [0ms]
[2024-09-09 15:12:34.909] ShowMessage(error, 'GitHub request timed out.', suppressIntegrationRequestTimedOutWarning, {"title":"Don't Show Again"})
[2024-09-09 15:12:34.910] [  17e →   17f] GitHubApi.searchMyPullRequests 
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `3DFC:AF1DA:10F3353D:111C189D:66DF1058` when reporting this issue."}]}
[2024-09-09 15:12:34.910] [  17e →   17f] GitHubApi.searchMyPullRequests — failed [23777ms]
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `3DFC:AF1DA:10F3353D:111C189D:66DF1058` when reporting this issue."}]}
[2024-09-09 15:12:34.910] [  17a →   17b] GitHubIntegration.searchMyPullRequests 
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `3DFC:AF1DA:10F3353D:111C189D:66DF1058` when reporting this issue."}]}
[2024-09-09 15:12:34.910] [  17a →   17b] GitHubIntegration.searchMyPullRequests(e=undefined, t=undefined, r=true) completed [*23778ms] (slow)
[2024-09-09 15:12:34.910] [  179 →   17a] IntegrationService.getMyPullRequests(e=github,gitlab, i=true) completed [*23778ms] (slow)
[2024-09-09 15:12:34.910] [  178 →   179] FocusProvider.fetchPullRequestsWithSuggestionCounts Failed to get pull requests
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `3DFC:AF1DA:10F3353D:111C189D:66DF1058` when reporting this issue."}]}
[2024-09-09 15:12:34.910] [  178 →   179] FocusProvider.fetchPullRequestsWithSuggestionCounts — failed [23779ms]
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `3DFC:AF1DA:10F3353D:111C189D:66DF1058` when reporting this issue."}]}
[2024-09-09 15:12:34.910] [  177 →   178] FocusProvider.getPullRequestsWithSuggestionCounts — failed [23779ms]
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `3DFC:AF1DA:10F3353D:111C189D:66DF1058` when reporting this issue."}]}
[2024-09-09 15:12:34.910] [  173 →   174] FocusProvider.getCategorizedItems Failed to get pull requests with suggestion counts
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `3DFC:AF1DA:10F3353D:111C189D:66DF1058` when reporting this issue."}]}
brianjmurrell commented 1 day ago

Anything here? This continues to be very distracting as the dialog pops up frequently.