|
|
8a8a6e1c4b
|
fix: correct critical bugs and improve pipe streaming performance
Critical bug fixes:
- save_item now returns real Item from database, not a hardcoded fake
- AsyncDataService::save() reuses self.sync_service instead of creating redundant instance
- GenerateStatus trait signature mismatch fixed (CLI/API decoupling)
Performance improvements (pipe path untouched):
- CompressionEngine::open() returns Box<dyn Read + Send> enabling true streaming
- mode_get eliminates triple full-file read (was sampling then re-reading entire file)
- FilteringReader adds fast-path bypass when no filters, pre-allocates temp buffer
- text.rs meta plugin processes &[u8] slice directly, eliminates data.to_vec() clone
API correctness:
- Tag parse errors now return 400 instead of being silently discarded
- compute_diff uses similar crate (LCS-based) instead of naive positional comparison
Cleanup:
- Modernize string formatting (format!({x})) across codebase
- Remove redundant DB query in get mode
- Derive Debug/ToSchema on public types
- Delete placeholder test files with no real assertions
- Extract parse_comma_tags utility function
|
2026-03-11 20:45:05 -03:00 |
|
Andrew Phillips
|
5d7c0658b9
|
fix: fix typos and improve error handling in compression engines
Co-authored-by: aider (openai/andrew/openrouter/sonoma-sky-alpha) <aider@aider.chat>
|
2025-09-11 12:00:45 -03:00 |
|
Andrew Phillips
|
4b67ff5763
|
fix: add missing clone_box impls for gzip and lz4 engines
Co-authored-by: aider (openai/andrew/openrouter/sonoma-sky-alpha) <aider@aider.chat>
|
2025-09-11 11:58:19 -03:00 |
|
Andrew Phillips (aider)
|
416c65d177
|
fix: resolve duplicate imports and missing io/Context imports
|
2025-05-12 20:44:47 -03:00 |
|
Andrew Phillips (aider)
|
faff90f5d3
|
fix: resolve Rust compilation errors by fixing imports and missing types
|
2025-05-12 20:43:31 -03:00 |
|
Andrew Phillips (aider)
|
712a820eba
|
fix: Fix missing Write trait and unused imports
|
2025-05-12 20:41:18 -03:00 |
|
Andrew Phillips
|
8d7a1c2eb8
|
refactor: Remove is_supported from LZ4 engine
|
2025-05-12 20:41:08 -03:00 |
|
Andrew Phillips (aider)
|
71a35a77a0
|
fix: correct compression module imports
|
2025-05-12 17:16:52 -03:00 |
|
Andrew Phillips
|
e3159473d0
|
chore: Rename compression directory to compression_engine
|
2025-05-12 17:08:00 -03:00 |
|