[Bug]: Sophos CPU usage skyrockets after adding a repository folder to desktop app
@aliarain ci sta già lavorando.
Dal 7/9/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
GUI version
0.1.26
Operating system
macOS (Apple silicon)
Reproduction steps
With Command Code Desktop installed but not adding a repository, Sophos is essentially idle:
com.sophos.endpoint.scanextension 0.1%
SophosEventMonitor 0.1%
SophosCryptoGuard 0.1%
After adding a repository and using Command Code with it, Sophos CPU usage progressively increases.
For example:
com.sophos.endpoint.scanextension 133.2%
SophosEventMonitor 74.2%
SophosCryptoGuard 165.2%
and shortly afterwards:
com.sophos.endpoint.scanextension 154.2%
SophosEventMonitor 73.6%
SophosCryptoGuard 189.3%
So Sophos reaches roughly 370–420% combined CPU.
Removing the repository from Command Code immediately brings Sophos back to approximately 1–3% CPU.
I reproduced the same behaviour after reinstalling Command Code Desktop.
No issues with the CLI
Expected behavior
Adding a repository, including one containing tens of thousands of files and normal dependency/build directories, should not cause the system's antivirus/security software to enter a sustained hundreds-of-percent CPU state.
I would expect Command Code's indexing/file-watching logic to avoid unnecessary directories such as node_modules, build output, coverage, etc., particularly when they are excluded by .gitignore.
Actual behavior
This looks like an interaction between Command Code Desktop's repository discovery/indexing/file-watching behaviour and Sophos Endpoint's on-access scanning.
I do not know whether the underlying issue is excessive filesystem activity generated by Command Code, Sophos's handling of that activity, or an interaction between the two.
The fact that removing the repository immediately stops the Sophos CPU storm makes the repository/indexing behaviour in Command Code the most obvious place to investigate.
Happy to provide additional diagnostics if useful.
Screenshots, recordings, or sanitized logs
Here is a video where I open the app, let it run without doing anything, the CPU goes up, then as soon as I close it, Sophos CPU usage drops immediately
https://github.com/user-attachments/assets/3d53447f-cb07-48b6-857f-fafc0c05c579
Safety check
- I removed credentials and private project information from this report.
- Lingua principale
- Shell
- Stelle
- 80
- Fork
- 2
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di CommandCodeAI/desktop
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
CommandCodeAI/desktop#94 ·
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
CommandCodeAI/desktop#66 · 1 commento · 2 reazioni ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
CommandCodeAI/desktop#100 ·
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
CommandCodeAI/desktop#99 ·
-
[Bug]: Copying a text selection in chat replaces the clipboard with the entire session transcript Apertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 76/100
CommandCodeAI/desktop#98 · 1 commento ·
Tutte le issue di CommandCodeAI/desktop
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
community-scripts/ProxmoxVE#17396 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
mattpocock/skills#1099 ·
-
Update Vish to 1.1.5 Apertapackage-update
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
oSoWoSo/vOid_Community_repOsitory#144 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
help wanted new command
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
tldr-pages/tldr#24151 ·