[Bug]: Sophos CPU usage skyrockets after adding a repository folder to desktop app
@aliarain arbeitet bereits daran.
Seit 07.9.2026.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
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.
- Vorherrschende Sprache
- Shell
- Sterne
- 80
- Forks
- 2
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus CommandCodeAI/desktop
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
CommandCodeAI/desktop#107 ·
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
CommandCodeAI/desktop#94 ·
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
CommandCodeAI/desktop#66 · 1 Kommentar · 2 Reaktionen ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 30/100
CommandCodeAI/desktop#109 · 1 Kommentar ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 30/100
CommandCodeAI/desktop#108 · 1 Kommentar ·
Alle Issues in CommandCodeAI/desktop
Ähnliche Issues
-
area: harness bug status: needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
Human-Agent-Society/reef#625 ·
-
module: core
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
bigbluebutton/bigbluebutton#25849 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
vercel-labs/just-bash#464 ·
-
area:sandbox documentation enhancement platform:linux
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
anthropics/claude-code#96664 ·
-
cost:cheap severity:medium
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
fairagro/m4.2_sql_to_arc#227 ·