| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix(cli): isolate doctor in a child process to avoid libc++ mutex abort `wigolo doctor` loads the embedding model (onnxruntime-node) and the ML reranker session to verify both work. Both keep native thread pools alive that race libc++ static destructors on macOS exit, surfacing as: libc++abi: mutex lock failed: Invalid argument exit 134 (SIGABRT) The abort is unrecoverable from JS — `session.release()`, `process.reallyExit`, and a SIGABRT handler all run too early; the crash fires during C++ global dtors when the JS VM is gone. The user sees the full diagnostic but the exit code is poisoned (bad for shell scripts and CI gates). Fix: run doctor in a child process. The child inherits stdio so output is byte-identical, runs the diagnostic, writes its intended exit code to a sentinel file, then exits. The parent never loads onnxruntime so its own exit is clean. If the child crashes with SIGABRT after the sentinel was written, we use the sentinel code. The cosmetic `libc++abi:` line is filtered out of inherited child stderr so users do not see a fake-looking crash trailer. Opt out with WIGOLO_DOCTOR_INPROC=1 (used by tests / sandboxed CI). Reproduction (before): `node dist/index.js doctor; echo $?` → 134 Reproduction (after): `node dist/index.js doctor; echo $?` → 0 or 1 | 3 个月前 | |
test(fetch): challenge fast-fail integration + e2e coverage at tool boundary | 2 个月前 | |
docs(cli): stop advertising the retired --non-interactive alias in init help | 2 个月前 | |
test: mcp-startup asserts no model-load stderr at boot; fix stale comment (D2) Capture stderr under LOG_LEVEL=info and assert no model-load line appears at boot even after a short idle settle. Updates the cold-start test comment to reflect that the embedding model now loads lazily on first use, not at startup. | 2 个月前 | |
refactor: tighten all tool handlers to StageResult<T> return type | 4 个月前 | |
test: rewrite searxng cold-bootstrap e2e as negative gate + positive probe control (D1) | 2 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 3 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 4 个月前 | ||
| 2 个月前 |