The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test: gate the ACP crash-retry count on #121467 (merge-order safe)
teknium19a6108fdf29b
diff --git a/tests/e2e/core/providers/test_native_copilot_acp_errors.py b/tests/e2e/core/providers/test_native_copilot_acp_errors.pyindex ff7c65d9288..62a65150500 100644--- a/tests/e2e/core/providers/test_native_copilot_acp_errors.py+++ b/tests/e2e/core/providers/test_native_copilot_acp_errors.py@@ -27,6 +27,7 @@ from typing import Anyimport pytest+from tests.e2e.core._pending_fixes import known_failurefrom tests.e2e.core.providers._native_helpers import (ChatResult,KnownSymptom,@@ -126,8 +127,10 @@ def test_acp_failure_is_retried_per_semantics_and_surfaced_once(outcomes, name):row, out = ROWS[name], outcomes[name]run, fake = out.run, out.fakeassert fake.invalid() == [], f"requests rejected by the ACP schema: {fake.invalid()}"- assert len(fake.main_prompts()) == row.model_calls, (- f"{name}: {len(fake.main_prompts())} model calls, expected {row.model_calls}\n{run.describe()}")+ with known_failure(r"^crash_\w+: [3-9] model calls, expected 2",+ "#121467 a crash whose stderr lags the exit reads as a timeout and is retried past the budget"):+ assert len(fake.main_prompts()) == row.model_calls, (+ f"{name}: {len(fake.main_prompts())} model calls, expected {row.model_calls}\n{run.describe()}")assert (run.returncode == 0) is row.succeeds, run.describe()assert run.stdout.count(row.visible) == 1, f"{row.visible!r} must be shown exactly once\n{run.describe()}"rows = messages(out.nh, latest_session(out.nh))