From 5a8aab5237a74bf416ebee03a19b118aee6ba69f Mon Sep 17 00:00:00 2001 From: Gros Frumos Date: Tue, 17 Mar 2026 16:04:57 +0200 Subject: [PATCH] =?UTF-8?q?kin:=20KIN-ARCH-019=20=D0=9F=D0=BE=D1=87=D0=B8?= =?UTF-8?q?=D0=BD=D0=B8=D1=82=D1=8C=20KIN-055=20=D1=80=D0=B5=D0=B3=D1=80?= =?UTF-8?q?=D0=B5=D1=81=D1=81=D0=B8=D1=8E:=20execution=5Fmode=20=D0=BD?= =?UTF-8?q?=D0=B5=20=D1=81=D0=BE=D1=85=D1=80=D0=B0=D0=BD=D1=8F=D0=B5=D1=82?= =?UTF-8?q?=D1=81=D1=8F=20=D0=BF=D1=80=D0=B8=20review?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_qa_gaps.py | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/tests/test_qa_gaps.py b/tests/test_qa_gaps.py index 8922325..3f91e68 100644 --- a/tests/test_qa_gaps.py +++ b/tests/test_qa_gaps.py @@ -172,15 +172,12 @@ class TestBlockedReasonPropagation: ) assert dept_result["success"] is False - # BUG: 'error' key is missing — sub_result['error'] is not forwarded - assert "error" not in dept_result, ( - f"Unexpected: 'error' key is now in dept_result={dept_result}. " - "Issue 1 (first level) may be fixed — update this test!" + # FIXED (KIN-ARCH-014): 'error' and 'blocked_reason' are now forwarded from sub_result + assert "error" in dept_result, ( + f"Expected 'error' key in dept_result={dept_result}" ) - # BUG: 'blocked_reason' key is also missing - assert "blocked_reason" not in dept_result, ( - f"Unexpected: 'blocked_reason' key is now in dept_result={dept_result}. " - "Issue 1 (first level) may be fixed — update this test!" + assert "blocked_reason" in dept_result, ( + f"Expected 'blocked_reason' key in dept_result={dept_result}" ) @patch("agents.runner._run_autocommit")