l0ng-ai 827bded10b fix(agents): wait for the agent to exit before deleting its worktree
On Windows, deleting an agent task together with its worktree failed with "os error 32" when the task's agent was still running. Agents that can't reload their session (`session/load`) stay running until the task is deleted. Deleting sent the kill and then removed the worktree right away, while the agent's processes still had the folder as their working directory and files in it open.

`Peer::exited` now resolves once the child process has been killed along with what it started and has been reaped. Deleting a task waits for it (up to 5 s) before it removes the worktree. Removing the folder also retries for a few seconds while a file in it is still in use (a helper process that outlived the agent, an antivirus scan, the search indexer).

Fixes #969.
2026-11-04 17:54:42 +08:00
2026-11-04 11:43:30 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00

OpenIDEA

The IDE you know, rebuilt in Rust.

Download  ·  Benchmark  ·  Discord

https://github.com/user-attachments/assets/234dd54c-1255-4b3a-b35c-533d78d737c0

OpenIDEA brings the IntelliJ IDEA way of working — its keymap, its tool windows, its search-everything habits — to a native app with a Rust core.

Editor, code insight, debugger, Git, terminal, database and HTTP clients, for 60+ languages. Builds for macOS, Windows and Linux.

Benchmark

Opening freqtrade (Python, ~770 files) with warm caches, median of 5 runs:

OpenIDEA IntelliJ IDEA 2026.2.3
Window with the project 0.9 s 3.1 s
Ready (CPU settled) 1.1 s 13.2 s
Memory (USS, all processes) 169 MB 2011 MB
CPU time until ready 2.4 s 47.9 s
Idle CPU 4 % of a core 7 % of a core
Quit 0.3 s 5.9 s

A release build of OpenIDEA from main and IDEA with default settings and plugins, on Windows 11, 32-core AMD, 62 GB RAM. IDEA analyses Python more deeply, so "ready" doesn't mean the same work on both sides. Both are measured from the outside, the same way: see perf/compare to run it on your machine and projects.

License

Apache 2.0. Bundled third-party assets are listed in THIRD_PARTY_LICENSES.md.

Not affiliated with JetBrains. IntelliJ IDEA is a trademark of JetBrains s.r.o.

Мови
TypeScript 54%
Rust 42.7%
CSS 2%
Python 0.4%
Java 0.4%
Інші 0.3%