From f8a8620e583924d7f10f147ffd22ef37f90e5964 Mon Sep 17 00:00:00 2001 From: Gabriel Mechali Date: Mon, 20 Jul 2026 11:11:01 -0400 Subject: [PATCH] Add preprocessing stage to workflow --- infra/dcp/modules/ingestion/workflow/workflow.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/infra/dcp/modules/ingestion/workflow/workflow.yaml b/infra/dcp/modules/ingestion/workflow/workflow.yaml index bd131922..9f0536c8 100644 --- a/infra/dcp/modules/ingestion/workflow/workflow.yaml +++ b/infra/dcp/modules/ingestion/workflow/workflow.yaml @@ -11,7 +11,7 @@ main: - execution_error: null - postprocessing_result: null - embedding_result: null - - current_stage: "dataflow" + - current_stage: "preprocessing" - job_id: null - lock_timeout: ${lock_acquisition_timeout} - lock_retries: 0 @@ -96,6 +96,15 @@ main: - sanitized_short_import: '$${text.substring(combined_import_name, 0, substring_end)}' - dataflow_job_name: '$${"${clean_namespace_prefix}" + sanitized_short_import + "-" + string(int(sys.now()))}' + - update_history_preprocessing: + call: update_history + args: + workflow_id: '$${workflow_id}' + status: 'RUNNING' + stage: 'preprocessing' + job_id: null + import_list: '$${imports_history_list}' + - run_preprocessing: call: launch_and_poll_preprocessing_job args: