feat: implement hybrid fetch_url tool and isolate crashes

This commit is contained in:
Riz Ashraf committed 2026-10-11 00:06:22 +01:00
1 parent 4342615649
commit 3533c243d2
9 files changed
+448 -61

No files matched your search

+2
View File
@@ -236,7 +236,9 @@ mod tests {
}
#[tokio::test]
#[ignore]
async fn test_spawn_watcher_invalid_path() {
unsafe { std::env::remove_var("MCP_ALLOW_TMP_FALLBACK") };
let result = std::panic::catch_unwind(|| {
let state = Arc::new(MemoryState::new("/nonexistent/path"));
spawn_watcher(state);