From 157b76040f2ab68dd28f54f331897f03220b5ed1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Guti=C3=A9rrez?= <35082514+alezmad@users.noreply.github.com> Date: Thu, 29 Jan 2026 03:19:09 +0000 Subject: [PATCH] fix(synthesis): Use correct column name 'id' instead of 'execution_id' Co-Authored-By: Claude Opus 4.5 --- .../src/reviewiq_pipeline/stages/stage5_synthesize.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/reviewiq-pipeline/src/reviewiq_pipeline/stages/stage5_synthesize.py b/packages/reviewiq-pipeline/src/reviewiq_pipeline/stages/stage5_synthesize.py index 65acb1b..b2471c3 100644 --- a/packages/reviewiq-pipeline/src/reviewiq_pipeline/stages/stage5_synthesize.py +++ b/packages/reviewiq-pipeline/src/reviewiq_pipeline/stages/stage5_synthesize.py @@ -433,10 +433,8 @@ Generate a complete synthesis with actionable insights. """Store synthesis in database.""" await self.pool.execute(""" UPDATE pipeline.executions - SET - synthesis = $2, - updated_at = NOW() - WHERE execution_id = $1::uuid + SET synthesis = $2 + WHERE id = $1::uuid """, execution_id, json.dumps({ "executive_narrative": synthesis.executive_narrative, "sentiment_insight": synthesis.sentiment_insight,