kin: KIN-FIX-005 Починить регрессию KIN-055: execution_mode=NULL после pipeline→review

This commit is contained in:
Gros Frumos 2026-03-16 17:34:56 +02:00
parent c67fa379b3
commit 16a463f79b

View file

@ -1120,8 +1120,8 @@ def run_pipeline(
except Exception:
pass
else:
# Review mode: wait for manual approval (don't overwrite execution_mode)
models.update_task(conn, task_id, status="review")
# Review mode: wait for manual approval
models.update_task(conn, task_id, status="review", execution_mode="review")
# Run post-pipeline hooks (failures don't affect pipeline status)
try: