The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(e2e): retire the #121320/#109988 known-bug pins now that the bugs are fixed
kshitijk4poor13ff15abc510
diff --git a/tests/e2e/core/providers/test_anthropic_errors.py b/tests/e2e/core/providers/test_anthropic_errors.pyindex 952bad2c87a..9feecd6c0f3 100644--- a/tests/e2e/core/providers/test_anthropic_errors.py+++ b/tests/e2e/core/providers/test_anthropic_errors.py@@ -31,10 +31,7 @@ class StreamDropAcceptedAsAnswer(AssertionError):# Red on current main for a tracked, open bug: key -> (the bug's own failure-message pattern, reason).-KNOWN: dict[str, tuple[str, str]] = {- "stream_drop_retry": (r"user got .*(PARTIAL-THOUGHT|FRAGMENT).* instead of exactly one '(RECOVERED-ANSWER|TURN-ONE)'",- "#121320 stream closed before message_stop is accepted as a complete answer"),-}+KNOWN: dict[str, tuple[str, str]] = {}def _answer_must_be(stdout: str, expected: str, fragment: str) -> None:diff --git a/tests/e2e/core/providers/test_native_bedrock_converse_faults.py b/tests/e2e/core/providers/test_native_bedrock_converse_faults.pyindex 0adb9cb2ae9..f4f65df802d 100644--- a/tests/e2e/core/providers/test_native_bedrock_converse_faults.py+++ b/tests/e2e/core/providers/test_native_bedrock_converse_faults.py@@ -39,8 +39,6 @@ IAM_DENIAL = ("User: arn:aws:iam::123456789012:user/e2e is not authorized to perKNOWN: dict[str, tuple[str, str]] = {"validation_retried": (r"^400 ValidationException retried: fake saw [2-9]\d* requests","#121294 a Bedrock 400 ValidationException is retried and reported as 'temporarily unavailable'"),- "eof_before_message_stop": (r"^truncated stream accepted as the answer: requests=1 rows=",- "#109988 a ConverseStream that ends before messageStop is accepted as the answer"),}@@ -142,10 +140,7 @@ def test_stream_ending_before_message_stop_is_not_accepted(runs: dict[str, Any])assert run["requests"] and run["requests"][0]["reply"] == "Drop", run["requests"]rows = [r["content"] for r in _assistant_rows(run["nh"])]sent = len(run["requests"])- # Symptom: the truncated first stream is persisted as the final answer and never retried.- with known_gate(KNOWN, "eof_before_message_stop", raises=KnownSymptom):- if sent == 1 and rows and FINAL.startswith(rows[-1]) and rows[-1] != FINAL:- raise KnownSymptom(f"truncated stream accepted as the answer: requests={sent} rows={rows}")+ # #109988: a stream cut before messageStop is retried, never persisted as the answer.assert (sent, rows) == (2, [FINAL]), f"requests={sent} rows={rows}"