Files
kilocode/packages/opencode/test
kirillk e83b25e8d9 fix(cli): stop eager file watchers on JetBrains
The JetBrains backend eagerly warmed the v2 location stack for every
instance, which starts a native @parcel/watcher subscription that lives
for the whole session. On macOS FSEvents watches the entire subtree
recursively (the ignore list is only a userspace filter), so this
always-on watcher burns CPU and leaks native memory while the IDE is
idle — the cause of the 150%+ CPU and multi-GB RSS growth reported in
`kilo serve` on macOS.

The watcher's only consumer is the CLI/TUI sidebar branch label via the
vcs.branch.updated event. JetBrains, like VS Code, has its own git
integration and does not consume that event, so eager watchers are pure
overhead for it. Extend the existing VS Code gate to also exclude
jetbrains; the standalone CLI/TUI stays eager, and editor clients still
build the stack lazily if a real file/pty route needs it.

Fixes #12721
2026-08-05 09:52:59 -04:00
..
2026-07-30 14:24:24 +02:00
2026-07-30 14:24:24 +02:00
2026-07-29 02:06:01 +02:00
2026-07-22 13:31:23 +02:00
2026-07-30 14:24:24 +02:00
2026-07-29 02:06:01 +02:00
2026-07-13 18:00:35 +02:00
2026-07-30 14:24:24 +02:00
2026-07-29 02:06:01 +02:00
2026-07-29 02:06:01 +02:00
2026-07-30 14:24:24 +02:00
2026-07-30 14:24:24 +02:00
2026-07-30 14:24:24 +02:00
2026-07-30 14:24:24 +02:00
2026-07-29 02:06:01 +02:00
2026-07-30 14:24:24 +02:00
2026-07-30 14:24:24 +02:00
2026-07-30 14:24:24 +02:00
2026-07-30 14:24:24 +02:00
2026-07-22 13:31:23 +02:00
2026-07-13 19:15:48 +02:00
2026-07-22 13:31:23 +02:00