Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

docs(resource-cleanup): record asyncio.run loop does not reproduce #3816 (#4143)

LearningCircuit99041bf3d29b
diff --git a/docs/developing/resource-cleanup.md b/docs/developing/resource-cleanup.md
index 7f5f77abd6..89813a9f29 100644
--- a/docs/developing/resource-cleanup.md
+++ b/docs/developing/resource-cleanup.md
@@ -876,6 +876,16 @@ reference this section first.
bugs); PR #3036 added `utilities/fd_monitor.py` for cross-platform FD
reading. A type/inode-breakdown extension is feasible but deferred
until an active leak hunt actually needs it.
+- **Automated reproduction of #3816's eventpoll-FD leak in a test
+ suite.** Explored in closed PR #3930 — a single-thread
+ `asyncio.run(ainvoke)` loop against real Ollama does *not* reproduce
+ eventpoll accumulation, because `asyncio.run` deterministically closes
+ its loop's selector each call. Reliable reproduction would need
+ sustained concurrent load (multi-worker harness over a shared loop).
+ In-CI mock + no-network real `ChatOllama` tests in
+ `tests/utilities/test_close_base_llm.py` already cover the close-chain
+ introspection regressions; a load-shape reproduction is deferred
+ until a future leak justifies the maintenance burden.
- **`app_logs` (ResearchLog) retention setting + scheduled cleanup
job.** Identified in Round 9; the only audit finding that wasn't
refuted but also isn't impactful enough today. *Trigger to do this