c129badc14
- 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>