code-server icon indicating copy to clipboard operation
code-server copied to clipboard

Keep Loading...

Open jefftuschool opened this issue 1 year ago • 3 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

OS/Web Information

  • Web Browser: Chrome
  • Local OS: MacOS
  • Remote OS: Linux
  • Remote Architecture:
  • code-server --version: 4.90.3 and 4.91.0

Steps to Reproduce

  1. Run 4.91.0
  2. Create a HTML file
  3. Hover to a link from HTML comments

Expected

Should show a cmd + click

Actual

show a Loading..., then CPU usage higher like 99%, and this did not happen in version 4.90.3

Logs

No response

Screenshot/Video

Screenshot 2024-07-16 at 8 40 36 PM Screenshot 2024-07-16 at 8 42 24 PM

Does this bug reproduce in native VS Code?

I did not test native VS Code

Does this bug reproduce in GitHub Codespaces?

I did not test GitHub Codespaces

Are you accessing code-server over a secure context?

  • [X] I am using a secure context.

Notes

No response

jefftuschool avatar Jul 17 '24 03:07 jefftuschool

I tried to reproduce in 4.91.0 with a test.html file with just the contents:

<!-- https://web.jefftuschool.com/test.html -->

But the Follow link tooltip shows up immediately for me without any loading or CPU issues. I tested Firefox and Chromium on Linux, so maybe it is only reproducible on macOS. Do you have any settings that might affect this? Maybe I have to enable something.

If you could load into https://vscode.dev or Codespaces and test it there, that would also be helpful since it seems likely to be an upstream issue with VS Code.

code-asher avatar Jul 17 '24 17:07 code-asher

I've found that my repositories contain a different user, other than the current user. That's why causing the git server keep looking or searching... up the CPU. But this behavior was fine until version 4.90.3.

Thank you for the help!

Screenshot 2024-07-17 at 8 19 56 PM

jefftuschool avatar Jul 20 '24 15:07 jefftuschool

Ah interesting! We should try retesting Codespaces and see if we can reproduce. Seems likely to be an issue with the built-in git extension.

code-asher avatar Jul 22 '24 19:07 code-asher

Closing for now but let me know if you come back to this and are able to reproduce with Codespaces.

code-asher avatar Sep 19 '24 19:09 code-asher