Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
a557e04
fix(search): stop gitignored-directory matches from consuming the rg …
tusharui Sep 17, 2026
29a4d5d
fix(search): harden ignore-file pruning and bound rg output buffering
tusharui Sep 17, 2026
0e3d0c2
chore(scripts): run test:all cross-platform on Windows
tusharui Sep 17, 2026
ca5332b
refactor(search): simplify ignore rule handling and remove unused reb…
tusharui Sep 19, 2026
ed4ab3d
fix(search): correct package name in search-ignored-dir-budget changeset
tusharui Sep 19, 2026
452c100
fix(scripts): adjust shell handling for pnpm.cmd on Windows
tusharui Sep 19, 2026
85d9793
fix(security): add nosemgrep annotations to prevent child process vul…
tusharui Sep 19, 2026
da1e4a8
fix(xml-parser): improve handling of markdown code blocks and attribu…
tusharui Sep 20, 2026
2a7e627
Merge upstream/main into fix/1341-search-ignored-dir-budget
akramcodez Sep 22, 2026
26a6abc
revert(xml-parser): restore the main-branch fallback parser
tusharui Oct 9, 2026
b80f316
chore(semgrep): drop the nosemgrep suppressions added by this branch
tusharui Oct 9, 2026
00a40e9
chore(deps): revert the pnpm-workspace.yaml auditConfig rewrite
tusharui Oct 9, 2026
f31bd6c
chore(tooling): drop test-all.mjs, restore test:all to test.sh
tusharui Oct 9, 2026
aee1965
fix(search): narrow the rg JSON line on type before reading its data
tusharui Oct 9, 2026
590c55c
test(search): prove the walk prunes during traversal, not just in the…
tusharui Oct 9, 2026
ecf728d
fix(search): resolve the search root so anchored ignore rules prune t…
tusharui Oct 9, 2026
3571d3e
Merge remote-tracking branch 'upstream/main' into fix/1341-search-ign…
tusharui Oct 9, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/search-ignored-dir-budget.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@nanocollective/nanocoder': patch
---

Fixed `search_file_contents` returning 0 matches when a gitignored directory sits under the search path. The old code let ripgrep kill itself at the raw-match budget; when the first directory on the walk was gitignored but dense with matches, every kill-slot went to matches the JS-side filter would drop, so the search came back empty even though real files were right there. The ripgrep call now streams JSON through a kept-match counter that ignores gitignored lines before spending the budget, and the project's own ignore rules are also handed to rg as a temp `--ignore-file` so rg prunes ignored paths during traversal. Closes #1341.
Loading
Loading