Source.vectorize() wrapped its own ValueError in DatabaseOperationError, bypassing the stop_on=[ValueError] retry guard in process_source_command. This caused up to 15 retries when processing files with no extractable text, blocking sync API requests indefinitely. - Re-raise ValueError directly in Source.vectorize() instead of wrapping - Add .strip() check to catch whitespace-only content - Skip vectorization gracefully in save_source() when content is empty - Add unit tests for vectorize error handling Fixes #560 |
||
|---|---|---|
| .. | ||
| ask.py | ||
| chat.py | ||
| CLAUDE.md | ||
| prompt.py | ||
| source.py | ||
| source_chat.py | ||
| tools.py | ||
| transformation.py | ||