Skip to content

fix(server,watcher): stop bridge busy-looping on ignored build dirs - #174

Merged
Anandb71 merged 4 commits into
getArbor-dev:mainfrom
w0wl0lxd:fix/arbor-server-watcher-ignore
Aug 13, 2026
Merged

fix(server,watcher): stop bridge busy-looping on ignored build dirs#174
Anandb71 merged 4 commits into
getArbor-dev:mainfrom
w0wl0lxd:fix/arbor-server-watcher-ignore

Conversation

@w0wl0lxd

Copy link
Copy Markdown
Contributor

Summary

  • Add a shared IgnoreMatcher to arbor-watcher that combines built-in excludes (.git/, .arbor/, target/, node_modules/, ...), root .gitignore/.arborignore, and .arbor/config.json patterns.
  • Use the matcher in arbor-server file watcher so arbor bridge no longer debounces and re-indexes ignored build/dependency directories.
  • Off-load the background indexer graph patch and centrality recompute to tokio::task::spawn_blocking so the Tokio core worker stays responsive and no longer appears as a stuck tokio-rt-worker spinning at 100% CPU.

Test plan

  • cargo test -p arbor-watcher passed
  • cargo test -p arbor-server passed
  • cargo check -p arbor-graph-cli passed
  • Installed binary verified with arbor --version

@w0wl0lxd
w0wl0lxd force-pushed the fix/arbor-server-watcher-ignore branch from 6e8d319 to fb90cd1 Compare August 11, 2026 01:54
@w0wl0lxd
w0wl0lxd marked this pull request as ready for review August 11, 2026 02:18
@Anandb71
Anandb71 merged commit 7efc3a5 into getArbor-dev:main Aug 13, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants