Skip to content

[0.10.8/Windows] Background watcher never picks up committed new files (120s+) #2167

Description

@huymai96

Environment

  • Version: 0.10.8 (Windows, installed 2026-08-19 per installer timestamp)
  • OS: Windows 11, PowerShell 5.1, NTFS local disk
  • Config: auto_index=true, auto_index_limit=50000, auto_watch=true (\watcher_enabled\ does not appear in \config list\ output on this build)

Reproduction (synthetic, public-safe)

  1. Create a fresh git repo with one committed .ps1\ file defining a function.
  2. \codebase-memory-mcp cli index_repository --repo_path \ -> status indexed, baseline symbol queryable.
  3. Add a second .ps1\ file with a uniquely-named function, \git add -A && git commit.
  4. Wait 120+ seconds (also reproduced at 100+ seconds in a prior run).
  5. Query the new symbol via search_graph/name_pattern -> 0 results. Node count unchanged.

Expected

The background watcher detects the committed create and re-indexes incrementally within its poll bound.

Actual

No pickup after 120s. A manual \index_repository\ re-run indexes the new file immediately, so parsing is fine — only the watch trigger misses.

Notes

  • No private paths or source in this report; repro uses disposable synthetic repos.
  • Happy to test a candidate build with watcher diagnostics (poll interval, last-scan timestamp per project).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    editor/integrationEditor compatibility and CLI integrationparsing/qualityGraph extraction bugs, false positives, missing edgesux/behaviorDisplay bugs, docs, adoption UXwindowsWindows-specific issues

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions