Skip to content

fix: skip binary detection for PDF and DOCX files#7

Merged
aksOps merged 1 commit into
mainfrom
claude/fix-codecontext-config-DR15O
Mar 20, 2026
Merged

fix: skip binary detection for PDF and DOCX files#7
aksOps merged 1 commit into
mainfrom
claude/fix-codecontext-config-DR15O

Conversation

@aksOps

@aksOps aksOps commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

No description provided.

PDF and DOCX files are inherently binary (contain null bytes) but have
dedicated parsers. The isBinary() check was rejecting them before the
PDF/DOCX loaders could run, causing indexing to silently skip these
files with only a debug-level log.

Now skips the binary heuristic for known binary formats that have
dedicated loaders (.pdf, .docx).

https://claude.ai/code/session_011Ryet7uu9j6VyzNGmUuaaj
@aksOps aksOps merged commit 229519d into main Mar 20, 2026
4 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.

2 participants