From 5b09a15e8a15b3b0ee66bd577226f13f86f39eef Mon Sep 17 00:00:00 2001 From: harini-venkataraman Date: Mon, 20 Apr 2026 15:31:08 +0530 Subject: [PATCH] UN-3420 [FIX] Remove duplicate INFILE write in _write_pipeline_outputs The INFILE overwrite (fs.json_dump to input_file_path) appeared twice in _write_pipeline_outputs(), causing an unnecessary extra MinIO PUT per file execution. Remove the duplicate that was a copy-paste artifact from PR #1849. Co-Authored-By: Claude Opus 4.6 --- workers/file_processing/structure_tool_task.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/workers/file_processing/structure_tool_task.py b/workers/file_processing/structure_tool_task.py index f36e8afff0..8df8603855 100644 --- a/workers/file_processing/structure_tool_task.py +++ b/workers/file_processing/structure_tool_task.py @@ -673,9 +673,6 @@ def _write_pipeline_outputs( copy_output_path, ) - logger.info("Overwriting INFILE with %s output: %s", label, input_file_path) - fs.json_dump(path=input_file_path, data=structured_output) - logger.info("Output written successfully to workflow storage") return None except Exception as e: