Skip to content

The agent that grows with you

test: anchor four KNOWN patterns on the bug itself, not its symptom class

teknium178a2745b4042
diff --git a/tests/e2e/core/dashboard/test_dashboard_mcp_install.py b/tests/e2e/core/dashboard/test_dashboard_mcp_install.py
index b1327cafbed..e9dda1d889b 100644
--- a/tests/e2e/core/dashboard/test_dashboard_mcp_install.py
+++ b/tests/e2e/core/dashboard/test_dashboard_mcp_install.py
@@ -41,7 +41,9 @@ FIXTURE = Path(__file__).with_name("fixture_catalog_mcp.py")
# fix lands; delete the entry then.
KNOWN: dict[str, tuple[str, str]] = {
"test_catalog_install_from_tty_launched_dashboard_never_wedges_the_server": (
- r"^dashboard wedged by an MCP catalog install \(stdin=/dev/pts/\d+\): install -> ReadTimeout after ",
+ # A slow install whose follow-ups both answer is not the wedge; it must stay red.
+ r"^dashboard wedged by an MCP catalog install \(stdin=/dev/pts/\d+\): install -> ReadTimeout after [^;]*; "
+ r"(?!GET /api/config -> HTTP 200; /api/ws -> accepted\n)",
"#120527 dashboard MCP catalog install reaches the interactive tool checklist on the serve "
"worker thread when stdin is a TTY and wedges _SKILLS_PROFILE_LOCK"),
}
diff --git a/tests/e2e/core/providers/test_native_codex_app_server_faults.py b/tests/e2e/core/providers/test_native_codex_app_server_faults.py
index 02d89275b8b..1b5c098fd6a 100644
--- a/tests/e2e/core/providers/test_native_codex_app_server_faults.py
+++ b/tests/e2e/core/providers/test_native_codex_app_server_faults.py
@@ -28,7 +28,7 @@ pytestmark = [
KNOWN: dict[str, tuple[str, str]] = {
"q_approval": (r"^approval parked \d+\.\ds on a prompt nobody can answer in -q",
"#121296 approval in `chat -q` waits the full approvals.timeout instead of single_query_mode"),
- "permissions": (r"^PermissionsRequestApprovalResponse without `permissions`: ",
+ "permissions": (r"^PermissionsRequestApprovalResponse without `permissions`: .*'violation': 'missing field `permissions`'",
"#121297 reply to item/permissions/requestApproval omits required `permissions`"),
# The poll itself raises the symptom; anchor on its own subject so no other wait can match.
"orphan": (r"^timed out after [\d.]+s waiting for app-server descendant \d+ to be reaped after CLI exit",
diff --git a/tests/e2e/core/providers/test_openai_pricing.py b/tests/e2e/core/providers/test_openai_pricing.py
index fa55976228b..252de704c96 100644
--- a/tests/e2e/core/providers/test_openai_pricing.py
+++ b/tests/e2e/core/providers/test_openai_pricing.py
@@ -46,7 +46,7 @@ pytestmark = pytest.mark.skipif(not sys.platform.startswith("linux"), reason="su
KNOWN: dict[str, tuple[str, str]] = {
"custom_twin_priced": (
- r"custom:openrouter row has \d+/\d+ models priced",
+ r"custom:openrouter row has 0/\d+ models priced",
"#120757 custom:<key> row pointing at a priced aggregator gets no picker prices"),
}