coder / code-server

VS Code in the browser
https://coder.com
MIT License
67.36k stars 5.52k forks source link

Keep Loading... #6902

Open jefftuschool opened 1 month ago

jefftuschool commented 1 month ago

Is there an existing issue for this?

OS/Web Information

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?

Notes

No response

code-asher commented 1 month ago

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.

jefftuschool commented 1 month ago

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
code-asher commented 1 month ago

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.