Dev Tools · 1h ago
Windows Long Path Bug Breaks Vector Storage in Cognee
A bug in Cognee's vector storage caused OSErrors on Windows when file paths exceeded 260 characters. The issue stemmed from LanceDB subprocesses failing to access deep paths without the \\?\ prefix. Developer Aniruddha Adak fixed it by normalizing paths with the prefix, using Google's Gemini AI to trace the code and understand Windows rules.
Meridian48 take
This fix highlights a persistent cross-platform pain point: Windows' MAX_PATH limit still catches developers off guard, even in modern AI tooling.
Read the full reporting
Windows Said No: The Long Path Bug That Broke Vector Storage in Cognee →
DEV Community
windows-bugvector-database