llm checks: Skip parts of the test on aarch64 for performance

This commit is contained in:
Qubasa
2025-10-27 17:22:49 +01:00
parent bdd5de5628
commit a8217b5a32

View File

@@ -16,6 +16,7 @@ from clan_lib.service_runner import create_service_manager
if TYPE_CHECKING: if TYPE_CHECKING:
from clan_lib.llm.llm_types import ChatResult from clan_lib.llm.llm_types import ChatResult
from clan_lib.llm.schemas import SessionState from clan_lib.llm.schemas import SessionState
import platform
def get_current_mode(session_state: "SessionState") -> str: 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(f" Description: {result.next_action['description']}")
print_meta_info(result, turn=3, phase="Readme Fetch Executed") 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 ========== # ========== STEP 4: Execute service selection ==========
print_separator("STEP 4: Execute Service Selection", char="=", width=80) print_separator("STEP 4: Execute Service Selection", char="=", width=80)
result = get_llm_turn( result = get_llm_turn(