Title: Source Control is stuck in 'scanning folder for git repository', fix found · Issue #7806 · coder/code-server · GitHub
Open Graph Title: Source Control is stuck in 'scanning folder for git repository', fix found · Issue #7806 · coder/code-server
X Title: Source Control is stuck in 'scanning folder for git repository', fix found · Issue #7806 · coder/code-server
Description: Is there an existing issue for this? I have searched the existing issues OS/Web Information Web Browser: Chrome Local OS: Macos Remote OS: Debian 12 Remote Architecture: x86 code-server --version: 4.117.0 and more Steps to Reproduce I ha...
Open Graph Description: Is there an existing issue for this? I have searched the existing issues OS/Web Information Web Browser: Chrome Local OS: Macos Remote OS: Debian 12 Remote Architecture: x86 code-server --version: ...
X Description: Is there an existing issue for this? I have searched the existing issues OS/Web Information Web Browser: Chrome Local OS: Macos Remote OS: Debian 12 Remote Architecture: x86 code-server --version: ...
Opengraph URL: https://github.com/coder/code-server/issues/7806
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Source Control is stuck in 'scanning folder for git repository', fix found","articleBody":"### Is there an existing issue for this?\n\n- [x] I have searched the existing issues\n\n### OS/Web Information\n\n- Web Browser: Chrome\n- Local OS: Macos\n- Remote OS: Debian 12\n- Remote Architecture: x86\n- `code-server --version`: 4.117.0 and more\n\n\n### Steps to Reproduce\n\nI have been using version 4.100.3 all along, and today I tried to update to version 4.117.0 (npm install) code-server@4.117.0 --unsafe-perm ), After the update, it was found that the Source Control has been stuck in \"scanning folder for git repository\".\n\n\n### Expected\n\nSource Control should show something\n\n### Actual\n\nI searched for @ builtin git in the extension and found that the git extension is not active.\n\nI found the relevant logs in the 'Issues' window:\n```\n2026-05-21 01:11:21.601 [error] Activating extension vscode.git failed due to an error:\n2026-05-21 01:11:21.601 [error] Error: Cannot find module '@vscode/fs-copyfile'\n```\n\nI also tried switching between 4.116.0 and 4.117.0.\nI am trying to install `npm install @vscode/fs-copyfile` and reload window, and in the end it was fixed.\n\nSo was `@vscode/fs-copyfile` lost in the default installation?\n\n\n### Logs\n\n```shell\n\n```\n\n### Screenshot/Video\n\n_No response_\n\n### Does this bug reproduce in native VS Code?\n\nYes, this is also broken in native VS Code\n\n### Does this bug reproduce in VS Code web?\n\nYes, this is also broken in VS Code web\n\n### Does this bug reproduce in GitHub Codespaces?\n\nYes, this is also broken in GitHub Codespaces\n\n### Are you accessing code-server over a secure context?\n\n- [ ] I am using a secure context.\n\n### Notes\n\n_No response_","author":{"url":"https://github.com/dxkrs","@type":"Person","name":"dxkrs"},"datePublished":"2026-05-20T17:33:48Z","url":"https://github.com/coder/code-server/issues/7806"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5ad8da98-966e-1fbc-da8b-6fd1b8038a0b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D886:29D5D9:18B81:1FC62:6B042F1A |
| html-safe-nonce | 31af433d925252617909af64abb85f7f28ca4022e11f952c1b7d9a65382f0769 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODg2OjI5RDVEOToxOEI4MToxRkM2Mjo2QjA0MkYxQSIsInZpc2l0b3JfaWQiOiI3MzAxNTg3MzgwMTYxNzUyODU4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f1b7ee88d85817dabfe0faa6bdb9bde44e7de53211019a2133a5eb9b2218a142 |
| hovercard-subject-tag | issue:4488601929 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/code-server/7806/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bd9c658f1d9a671b7af7d935b0b4177d272f2a3fa8e9a7c903cd899bd7ea7a4c/coder/code-server/issues/7806 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bd9c658f1d9a671b7af7d935b0b4177d272f2a3fa8e9a7c903cd899bd7ea7a4c/coder/code-server/issues/7806 |
| og:image:alt | Is there an existing issue for this? I have searched the existing issues OS/Web Information Web Browser: Chrome Local OS: Macos Remote OS: Debian 12 Remote Architecture: x86 code-server --version: ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dxkrs |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/code-server git https://github.com/coder/code-server.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 172953845 |
| octolytics-dimension-repository_nwo | coder/code-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 172953845 |
| octolytics-dimension-repository_network_root_nwo | coder/code-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width