2 Commits
Author SHA1 Message Date
adnaan 8837d46531 feat(tests): add comprehensive tests for streaming overlay consistency and file change handling
- Introduced tests for streaming overlay consistency to ensure proper handling of assistant messages during state changes.
- Added tests for file change buffering to isolate failed deletions and ensure proper handling of update failures.
- Enhanced indexing service tests to verify concurrent initialization and proper handling of completed-index markers.
- Implemented tests for structural index SQLite store to tolerate repeated chunk IDs without aborting the build.
- Created tests for TreeSitter chunking to prevent duplicate chunk IDs and ensure correct chunk retention.
- Added tests for vector store batch updates to handle deletion failures gracefully.
- Implemented tests for sensitive settings to prevent access to credential keys.
- Enhanced provider credential store tests to ensure non-destructive legacy OAuth migration.
- Added tests for relaunch protocol to handle parent process accessibility issues.
- Introduced tests for large preview write guard to prevent unintended file truncation.
- Enhanced performance monitor memory tests to verify heap limit detection and provider behavior.
2026-08-29 23:20:58 +08:00
adnaan 10d5a3aacd feat: Enhance read_file tool schema to merge path and paths, improving usability
- Updated the read_file schema to allow both path and paths to coexist without conflict, treating them as a union.
- Implemented logic to normalize input, ensuring that empty paths do not persist and that valid single or multi-file requests are processed correctly.
- Added comprehensive tests to cover various scenarios, including regression tests for previously failing cases.
- Introduced memory leak detection improvements in PerformanceMonitor, with new thresholds and conditions to avoid false positives during startup.
- Added synchronous log flushing in Logger to ensure critical logs are not lost during process exit.
- Enhanced AiAttributionService to improve commit analysis and caching of existing notes.
2026-08-25 23:54:57 +08:00