Skip to content

The agent that grows with you

test(tenancy): name the fix PRs in the strict-xfail reasons

teknium1056c73182269
diff --git a/tests/e2e/core/tenancy/test_routing_truth_table.py b/tests/e2e/core/tenancy/test_routing_truth_table.py
index da003ff5518..7d23cb36592 100644
--- a/tests/e2e/core/tenancy/test_routing_truth_table.py
+++ b/tests/e2e/core/tenancy/test_routing_truth_table.py
@@ -298,7 +298,7 @@ KNOWN_BUGS = {
"bare_custom_without_base_url_fails_fast": pytest.mark.xfail(
strict=True, raises=AssertionError,
reason="bare `provider: custom` with no endpoint falls through to OpenRouter and ships the "
- "OPENAI_BASE_URL-bound OPENAI_API_KEY there (fix: fix/cred-leak-foreign-hosts)"),
+ "OPENAI_BASE_URL-bound OPENAI_API_KEY there (fix: #120299)"),
}
@@ -345,9 +345,9 @@ class Switch:
@pytest.mark.xfail(
strict=True, raises=AssertionError,
reason="leg 5: `/model <id> --provider X` adopts an alias's endpoint+key for the same model "
- "(fix: fix/model-switch-explicit-provider-alias); leg 6: the pre-request Anthropic "
+ "(fix: #120295); leg 6: the pre-request Anthropic "
"credential refresh puts ANTHROPIC_API_KEY on an alias's foreign host "
- "(fix: fix/cred-leak-foreign-hosts). Flips once both land.")
+ "(fix: #120299). Flips once both land.")
def test_tui_gateway_model_switch_routing(tmp_path: Path) -> None:
"""One live session walks the switch matrix; after every switch the next turn lands on
exactly the selected host with exactly its key, and nothing reaches any other host."""
diff --git a/tests/e2e/core/tenancy/test_two_tenant_desktop_backend.py b/tests/e2e/core/tenancy/test_two_tenant_desktop_backend.py
index 0acb081ad26..d4ed78d9b0d 100644
--- a/tests/e2e/core/tenancy/test_two_tenant_desktop_backend.py
+++ b/tests/e2e/core/tenancy/test_two_tenant_desktop_backend.py
@@ -96,9 +96,9 @@ def _await_cron(tenants: dict[str, H.Tenant], fires: int) -> None:
@pytest.mark.xfail(
strict=True, raises=AssertionError,
reason="session.create / the first state.db row use the launch profile's model and "
- "model.save_key writes the launch profile's .env (fix: fix/tui-profile-scope-save-key-model); "
+ "model.save_key writes the launch profile's .env (fix: #120319); "
"gateway.run's import-time config bridge writes a secondary session's terminal.* into the "
- "process env, red ~6/7 runs (fix: fix/multiplex-terminal-env-scope). Flips once all land.")
+ "process env, red ~6/7 runs (fix: #120307). Flips once all land.")
def test_desktop_backend_never_crosses_tenants(fleet) -> None:
root, tenants, backends = fleet
diff --git a/tests/e2e/core/tenancy/test_two_tenant_gateway.py b/tests/e2e/core/tenancy/test_two_tenant_gateway.py
index 32152f0b385..2e25b0e84d9 100644
--- a/tests/e2e/core/tenancy/test_two_tenant_gateway.py
+++ b/tests/e2e/core/tenancy/test_two_tenant_gateway.py
@@ -155,7 +155,7 @@ def _await_cron(tenants: dict[str, H.Tenant], at_least: int) -> None:
strict=True, raises=AssertionError,
reason="phase 1: session-less work (cron) for a routed profile keys the shared 'default' "
"terminal env, so alpha/beta cron tool calls inherit default's .env, cwd and shell "
- "state (fix: fix/multiplex-terminal-env-scope)")
+ "state (fix: #120307)")
def test_multiplexed_gateway_never_crosses_tenants(fleet) -> None:
root, tenants, gw = fleet
home = root / "home"