Skip to content

fix: limit recursive file watcher usage#9839

Draft
oz-for-oss[bot] wants to merge 1 commit intomasterfrom
oz-agent/implement-issue-7205
Draft

fix: limit recursive file watcher usage#9839
oz-for-oss[bot] wants to merge 1 commit intomasterfrom
oz-agent/implement-issue-7205

Conversation

@oz-for-oss
Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot commented May 1, 2026

Closes #7205

Summary

  • Replaced project-scoped file-based MCP recursive repo watching with non-recursive watches on known config parent directories.
  • Applied repository ignore filtering when registering recursive repository watchers so ignored trees do not consume watcher budget.
  • Added unit coverage for MCP config path bookkeeping.

Validation

  • cargo fmt --manifest-path /workspace/warp/Cargo.toml --all
  • CARGO_BUILD_JOBS=1 cargo test --manifest-path /workspace/warp/Cargo.toml -p repo_metadata --features local_fs
  • CARGO_BUILD_JOBS=1 cargo check --manifest-path /workspace/warp/Cargo.toml -p warp --features local_fs --lib
  • CARGO_BUILD_JOBS=1 cargo clippy --manifest-path /workspace/warp/Cargo.toml -p repo_metadata -p warp --features local_fs --all-targets -- -D warnings

Notes

  • The warp lib test harness for file_mcp_watcher_tests was attempted twice with single-job compilation, but the sandbox killed rustc with SIGKILL before tests could run.

Co-Authored-By: oz-for-oss[bot] <277970191+oz-for-oss[bot]@users.noreply.github.com>
@cla-bot cla-bot Bot added the cla-signed label May 1, 2026
@oz-for-oss oz-for-oss Bot mentioned this pull request May 1, 2026
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Warp exhausts file watchers

1 participant