Commit Graph

730 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] a2fee4d632 Add tests for google_drive.py - achieved 85.61% coverage (up from 81.55%)
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-13 23:18:56 +00:00
copilot-swe-agent[bot] 1eb3473e52 Add comprehensive tests for settings_service.py - achieved 100% coverage
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-13 23:07:49 +00:00
copilot-swe-agent[bot] 5ccdc79e77 Initial plan for increasing test coverage
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-13 23:03:28 +00:00
copilot-swe-agent[bot] e96af1e91f Initial plan 2026-02-13 22:58:21 +00:00
Christian Krakau-Louis a05c5aee45 Merge pull request #299 from christianlouis/copilot/fix-linting-errors
style: fix ruff formatting in 6 files
2026-02-13 23:40:59 +01:00
copilot-swe-agent[bot] e6a4995a5c style: run ruff format on 6 files to fix formatting issues
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-13 22:39:34 +00:00
copilot-swe-agent[bot] f8828db835 Initial plan 2026-02-13 22:38:00 +00:00
github-actions[bot] 70bfd3e489 chore(release): update build metadata files [skip ci] 2026-02-13 22:35:05 +00:00
Christian Krakau-Louis 232aa24511 Merge pull request #296 from christianlouis/copilot/enhance-logging-embed-metadata
feat(api): add diagnostic logging and original_file_path fallback to retry-subtask endpoint
2026-02-13 23:34:45 +01:00
github-actions[bot] 84f4d4d9f6 chore(release): update build metadata files [skip ci] 2026-02-13 22:25:29 +00:00
Christian Krakau-Louis 006b4c26e9 Merge pull request #298 from christianlouis/copilot/fix-ruff-import-errors
fix: resolve ruff linting errors in test file
2026-02-13 23:25:12 +01:00
copilot-swe-agent[bot] 510b10c010 fix: resolve ruff linting errors in test file
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-13 22:20:10 +00:00
copilot-swe-agent[bot] 393bc6f057 Initial plan 2026-02-13 22:18:03 +00:00
Christian Krakau-Louis 3c82f4ea1e Merge pull request #295 from christianlouis/copilot/increase-test-coverage-95-percent
Add test coverage for critical modules (config_validator, settings API, upload tasks, notifications)
2026-02-13 23:16:29 +01:00
copilot-swe-agent[bot] c129badc14 feat(api): add enhanced logging and original_file_path fallback to retry-subtask endpoint
- Add comprehensive logging to all pipeline retry branches (process_document, process_with_azure_document_intelligence, extract_metadata_with_gpt, embed_metadata_into_pdf)
- Add original_file_path as 3rd fallback for embed_metadata_into_pdf (checks: local_filename, processed_file_path, original_file_path, workdir/tmp fallback)
- Include all checked paths with existence status in 400 error responses for easier debugging
- Add enhanced logging to upload task retry path showing which processed file paths were checked
- Log successful file path when found
- Add comprehensive test suite covering new logging and fallback behavior

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-13 22:15:18 +00:00
copilot-swe-agent[bot] 0cf4bb6448 test: fix docstring line references per code review
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-13 22:12:06 +00:00
copilot-swe-agent[bot] c007ebc7e9 test: add comprehensive coverage tests for S3, SFTP uploads, notifications, and send_to_all
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-13 22:11:00 +00:00
copilot-swe-agent[bot] dc9af2bc84 Initial plan 2026-02-13 22:09:34 +00:00
copilot-swe-agent[bot] 33e68452fd test: address code review feedback - add validate_auth_config callable check and improve docstrings
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-13 21:50:58 +00:00
copilot-swe-agent[bot] 5367649b28 test: add comprehensive tests for config_validator, settings API, license routes, diagnostic, and openai endpoints
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-13 21:48:37 +00:00
copilot-swe-agent[bot] 467e4169f2 Initial plan 2026-02-13 21:19:26 +00:00
github-actions[bot] 5f4df0cc66 chore(release): update build metadata files [skip ci] 2026-02-13 21:17:47 +00:00
Christian Krakau-Louis 183f78b532 Merge pull request #294 from christianlouis/copilot/fix-reprocessing-metadata-embed
Fix retry failure when file moved to processed directory
2026-02-13 22:17:26 +01:00
Christian Krakau-Louis ac4ffd9f75 Update README with new logo and CI badges 2026-02-13 22:16:52 +01:00
Christian Krakau-Louis 9117fe58e1 Merge pull request #293 from christianlouis/copilot/add-ruff-setup-and-scripts
feat: add agent pre-PR ruff enforcement script and policy
2026-02-13 22:10:28 +01:00
copilot-swe-agent[bot] d259d58431 refactor: move shutil import to top of test file and fix whitespace
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-13 21:08:48 +00:00
copilot-swe-agent[bot] bcf5f652fc style: fix linting issues in retry and metadata extraction code
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-13 21:07:23 +00:00
copilot-swe-agent[bot] 42d35c7c6f fix: handle file in processed directory when retrying embed_metadata_into_pdf
- Update _retry_pipeline_step to check for file in tmp, processed, and fallback locations
- Pass full path to extract_metadata_with_gpt instead of just basename
- Update extract_metadata_with_gpt to handle both basename and full path parameters
- Add test case for retrying when file is in processed directory

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-13 21:06:20 +00:00
copilot-swe-agent[bot] 4e2353b214 style: ruff auto-fixes 2026-02-13 21:01:04 +00:00
github-actions[bot] 4f395f01f5 chore(release): update build metadata files [skip ci] 2026-02-13 21:00:53 +00:00
copilot-swe-agent[bot] 80bb9cec10 Initial plan 2026-02-13 21:00:30 +00:00
Christian Krakau-Louis 3f03022e61 Merge pull request #292 from christianlouis/copilot/fix-sqlite3-programming-error
fix: serialize dict to JSON in rotate_pdf_pages logging calls
2026-02-13 22:00:06 +01:00
copilot-swe-agent[bot] 529bfba603 Initial plan 2026-02-13 20:58:55 +00:00
github-actions[bot] 3fa9c110a2 chore(release): update build metadata files [skip ci] 2026-02-13 20:54:37 +00:00
copilot-swe-agent[bot] defcf746ea fix: serialize dict to JSON in rotate_pdf_pages log_task_progress calls
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-13 20:54:34 +00:00
Christian Krakau-Louis 46a327c01f Merge pull request #291 from christianlouis/copilot/fix-ruff-format-flag
fix(ci): remove invalid --fix flag from ruff format in CI
2026-02-13 21:54:11 +01:00
copilot-swe-agent[bot] 55ecdca6af fix(ci): remove invalid --fix flag from ruff format in CI
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-13 20:52:35 +00:00
copilot-swe-agent[bot] 91c0b6ad42 Initial plan 2026-02-13 20:52:08 +00:00
copilot-swe-agent[bot] ce75fcd0e1 Initial plan 2026-02-13 20:50:58 +00:00
Christian Krakau-Louis f3863cd094 Update ci.yml 2026-02-13 21:11:28 +01:00
Christian Krakau-Louis 6e54135961 Update Ruff format command to fix formatting issues 2026-02-13 21:07:49 +01:00
github-actions[bot] ece7850ab6 chore(release): update build metadata files [skip ci] 2026-02-13 20:07:17 +00:00
Christian Krakau-Louis 53869bb66c Merge pull request #290 from christianlouis/copilot/fix-test-settings-endpoint
fix: replace websocket session mock with dependency override in settings test
2026-02-13 21:06:36 +01:00
copilot-swe-agent[bot] 6a2166a1df fix: remove websocket_connect and properly mock require_admin dependency
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-13 17:46:56 +00:00
copilot-swe-agent[bot] 390b8e810d Initial plan 2026-02-13 17:42:34 +00:00
github-actions[bot] 5e9c12a2f4 chore(release): update build metadata files [skip ci] 2026-02-13 17:35:27 +00:00
Christian Krakau-Louis 9def41e02d Merge pull request #287 from christianlouis/copilot/fix-tests-module-level-patching
Fix test failures: expose helper functions at module level for patching
2026-02-13 18:35:05 +01:00
copilot-swe-agent[bot] 0edc51d17f fix: expose helper functions at module level for test patching
- Move get_all_settings_from_db import to module level in app/views/settings.py
- Move get_provider_status and get_settings_for_display imports to module level in app/views/status.py
- Fix CI workflow: replace deprecated 'file' parameter with 'files' in codecov-action
- Fix CI workflow: update test results upload to use codecov-action@v5 with report_type instead of deprecated test-results-action@v1

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-13 17:24:22 +00:00
copilot-swe-agent[bot] 4a68d4c42f Initial plan 2026-02-13 17:19:45 +00:00
github-actions[bot] db1c35f8ba chore(release): update build metadata files [skip ci] 2026-02-13 17:00:51 +00:00