copilot-swe-agent[bot]
|
44c9f6dc38
|
test: fix test_retry_azure_ocr_success to patch process_with_ocr instead of legacy azure task
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
|
2026-02-24 22:55:46 +00:00 |
|
copilot-swe-agent[bot]
|
13a3c41482
|
fix: make log_task_progress resilient to DB errors and fix test assertions
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
|
2026-02-17 11:40:34 +00:00 |
|
github-actions[bot]
|
e84c031538
|
style: apply ruff auto-fix
- Auto-formatted code with ruff format
- Applied ruff linting fixes with --fix
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
2026-02-14 00:16:21 +00:00 |
|
copilot-swe-agent[bot]
|
d23e0044de
|
test: significant coverage improvements for app/api/files.py
- Add comprehensive exception handling tests for delete operations
- Add tests for bulk reprocess error handling
- Add comprehensive retry pipeline step tests (Azure OCR, GPT metadata, embed)
- Add retry upload task tests for various destinations
- Add additional file operation tests for edge cases
- Coverage increased from 60.76% to 76.39% (+15.63%)
- Combined with process.py at 100%, overall improvement is significant
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
|
2026-02-13 23:56:48 +00:00 |
|
copilot-swe-agent[bot]
|
43bc58770d
|
refactor: consolidate linting tools into Ruff
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
|
2026-02-13 09:10:52 +00:00 |
|
copilot-swe-agent[bot]
|
5c18f4c02b
|
feat(tests): add comprehensive unit tests for Tier 1 high-impact files
Add comprehensive unit tests bringing coverage from ~10% to 70-83%:
- app/api/files.py: 11.75% → 69.69% (+58%)
- app/views/files.py: 8.77% → 82.14% (+73%)
- app/api/google_drive.py: 9.45% → 83.64% (+74%)
- app/api/onedrive.py: 10.51% → 82.88% (+72%)
Test coverage includes:
- All API endpoints with success and error cases
- Input validation and edge cases
- Proper mocking of external dependencies (DB, Celery, OAuth)
- Error handling and exception paths
- Helper functions and utility methods
All tests follow existing patterns and use @pytest.mark.unit decorator.
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
|
2026-02-12 09:39:02 +00:00 |
|