From a8217b5a3277d0a07a95ec4e59256a7335dd2d7f Mon Sep 17 00:00:00 2001 From: Qubasa Date: Mon, 27 Oct 2025 17:22:49 +0100 Subject: [PATCH] llm checks: Skip parts of the test on aarch64 for performance --- pkgs/clan-cli/clan_lib/llm/container_test.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/clan-cli/clan_lib/llm/container_test.py b/pkgs/clan-cli/clan_lib/llm/container_test.py index 7a16ee6b9..8b1fa4779 100644 --- a/pkgs/clan-cli/clan_lib/llm/container_test.py +++ b/pkgs/clan-cli/clan_lib/llm/container_test.py @@ -16,6 +16,7 @@ from clan_lib.service_runner import create_service_manager if TYPE_CHECKING: from clan_lib.llm.llm_types import ChatResult from clan_lib.llm.schemas import SessionState +import platform def get_current_mode(session_state: "SessionState") -> str: @@ -262,6 +263,11 @@ def test_full_conversation_flow(mock_flake: MagicMock) -> None: print(f" Description: {result.next_action['description']}") print_meta_info(result, turn=3, phase="Readme Fetch Executed") + if platform.machine() == "aarch64": + pytest.skip( + "aarch64 detected: skipping readme/service-selection and final step for performance reasons" + ) + # ========== STEP 4: Execute service selection ========== print_separator("STEP 4: Execute Service Selection", char="=", width=80) result = get_llm_turn(