Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled Timeout Promise #1432

Closed
Jason3S opened this issue Mar 17, 2021 · 7 comments
Closed

Unhandled Timeout Promise #1432

Jason3S opened this issue Mar 17, 2021 · 7 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Jason3S
Copy link

Jason3S commented Mar 17, 2021

  • GitLens Version: v11.3.0
  • Git Version: 2.26.0

VS Code:
Version: 1.54.3
Commit: 2b9aebd5354a3629c3aba0a5f5df49f43d6689f8
Date: 2021-03-15T11:57:12.728Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Darwin x64 20.3.0

GitLens has an unhandled rejected promise due to a timeout.
This is only an issue while debugging another VS Code extension.

image

Steps to Reproduce:

  1. Clone a large repository (like VS Code https://github.com/microsoft/vscode-extension-samples.git).
  2. cd to one of the examples: lsp-multi-server-sample
  3. build and launch (open another workspace, like vscode-gitlens).
  4. make changes to a file. (generally the error starts happen once a file is changed.).

Callstack:

image

@Jason3S Jason3S added potential-bug triage Needs to be looked at labels Mar 17, 2021
@eamodio
Copy link
Member

eamodio commented Jun 22, 2021

Can you try to see if the issue is still reproducible in the GitLens insiders edition?

You can install the GitLens insiders edition from here. Be sure to disable/uninstall the stable version of GitLens first.

@eamodio eamodio added needs-more-info Needs further information, steps, details, etc. and removed triage Needs to be looked at labels Jun 22, 2021
@Jason3S
Copy link
Author

Jason3S commented Jun 25, 2021

Thank you. I'll take a look.

@Jason3S
Copy link
Author

Jason3S commented Jun 26, 2021

@eamodio,

Thank you for looking into this issue. I have installed the insiders edition and uninstalled the "standard" edition.

The error is still happening. It happens quite frequently while debugging an extension that is in a git repository.

Exception has occurred: Error: Timed out after 250 ms
  at Timeout.<anonymous> (/Users/jason/.vscode/extensions/eamodio.gitlens-insiders-2021.6.2201/dist/webpack:/gitlens-insiders/src/system/decorators/timeout.ts:51:14)
    at listOnTimeout (internal/timers.js:554:17)
    at processTimers (internal/timers.js:497:7)

This is the line that seems to be throwing the error: vscode-gitlens/timeout.ts#L51

image

@github-actions
Copy link

github-actions bot commented Jul 4, 2021

This issue needs more information and has not had recent activity. Please provide the missing information or it will be closed in 7 days. Thanks!

@github-actions github-actions bot added the inactive Issue has not had recent required feedback label Jul 4, 2021
@Jason3S
Copy link
Author

Jason3S commented Jul 5, 2021

@eamodio,

Any update on this?

The important thing seem to be that the file being edited (in the running debug session) is in a git repository.

@github-actions github-actions bot removed the inactive Issue has not had recent required feedback label Jul 6, 2021
@eamodio eamodio self-assigned this Jul 9, 2021
@eamodio eamodio added bug Something isn't working and removed needs-more-info Needs further information, steps, details, etc. potential-bug labels Jul 9, 2021
@eamodio eamodio added this to the Soon™ milestone Jul 9, 2021
@eamodio eamodio closed this as completed in afa3252 Jul 9, 2021
@Jason3S
Copy link
Author

Jason3S commented Jul 9, 2021

Thank you.

@eamodio eamodio modified the milestones: Soon™, Shipped Jul 13, 2021
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants