Skip to content

Commit 9834dac

Browse files
committed
test(haos): use live app endpoint contracts
1 parent 873c36c commit 9834dac

3 files changed

Lines changed: 8 additions & 9 deletions

File tree

tests/haos_image_build/build_image.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1855,8 +1855,6 @@ def _wait_supervisor_ready(
18551855
# then best-effort reconnect and keep polling.
18561856
last_error = e
18571857
LOG.debug("Transient error polling /supervisor/info: %r", e)
1858-
if time.monotonic() >= deadline:
1859-
break
18601858
reconnect_err = _reconnect_supervisor_during_wait(ws)
18611859
if reconnect_err is not None:
18621860
last_error = reconnect_err

tests/src/e2e/basic/test_backend_dispatch_smoke.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,10 @@
104104
# #2270 adds one ``beta_haos_only`` version-attestation item. It runs in
105105
# the two beta HAOS lanes and adds one collection-time skip elsewhere.
106106
# Beta variants share backend keys, so they inherit the ceiling increase
107-
# while running the attestation instead of skipping it.
107+
# while running the attestation instead of skipping it. Its in-app-only
108+
# self-update guard adds a second skip outside the in-app lanes.
108109
"container": 79, # was 75; +3 embedded_only, +1 beta_haos_only
109-
"haos": 57, # was 53; +3 embedded_only, +1 beta_haos_only
110+
"haos": 58, # observed on #2270 after both new marker-gated tests
110111
# HAOS stdio is the external HAOS set plus ``external_only`` tests, whose
111112
# test-process monkeypatches cannot reach the subprocess server. The first
112113
# full lane run on 2026-08-18 observed 103 collection-time marker skips
@@ -147,8 +148,8 @@
147148
# container_only). Parametrize inflates that to the CI-observed count of
148149
# 107 in the 2026-08-18 CI run (106 before the self-restart e2e).
149150
# Read future changes from CI instead of deriving them.
150-
# was 108; +3 #2239 conflict, +3 embedded_only, +1 backup external_only
151-
"haos_embedded": 116,
151+
# #2270 stable observed 118 marker skips; beta observed 117.
152+
"haos_embedded": 118,
152153
}
153154

154155

tests/src/e2e/haos_only/test_manage_addon_modes.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ async def test_proxy_http_get_returns_successful_response(mcp_client: Any) -> No
369369
async with MCPAssertions(mcp_client) as mcp:
370370
payload = await mcp.call_tool_success(
371371
"ha_manage_app",
372-
{"slug": slug, "path": "/auth/strategy", "method": "GET"},
372+
{"slug": slug, "path": "/", "method": "GET"},
373373
)
374374
status = payload.get("status_code")
375375
assert isinstance(status, int) and status < 400, (
@@ -447,7 +447,7 @@ async def test_python_transform_filters_http_response(mcp_client: Any) -> None:
447447
"ha_manage_app",
448448
{
449449
"slug": slug,
450-
"path": "/auth/strategy",
450+
"path": "/",
451451
"method": "GET",
452452
"python_transform": 'response = {"trimmed": True}',
453453
},
@@ -463,7 +463,7 @@ async def test_python_transform_sandbox_error_surfaced(mcp_client: Any) -> None:
463463
"ha_manage_app",
464464
{
465465
"slug": slug,
466-
"path": "/auth/strategy",
466+
"path": "/",
467467
"method": "GET",
468468
"python_transform": "import os",
469469
},

0 commit comments

Comments
 (0)