The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(ci): the CI replay does not run Git Bash under x64 emulation on Windows arm64
teknium11ab7983641fb
diff --git a/tests/ci/test_update_ci_routing.py b/tests/ci/test_update_ci_routing.pyindex 7863d9a79a3..81f07171324 100644--- a/tests/ci/test_update_ci_routing.py+++ b/tests/ci/test_update_ci_routing.py@@ -32,6 +32,7 @@ from typing import Anyimport pytest+from hermes_platform.host.facts import native_archfrom tests.ci import _gha_expr as ghafrom tests.ci import workflow_steps@@ -49,7 +50,19 @@ _spec.loader.exec_module(cc)# bash is Git Bash: the replay, its dispatch chain and the ineffective-step controls carry this# marker so a green Windows job has run them on that layout (review F81-R). Not "any": macOS# bash 3.2 is not a host the replay has been run on.-_NATIVE_WINDOWS_TOO = pytest.mark.platforms("linux", "windows")+_NATIVE_WINDOWS_PLATFORMS = pytest.mark.platforms("linux", "windows")+# Not Windows on arm64: Git for Windows ships an x86-64 MSYS bash.exe there, run under emulation,+# and with the os-tests lane's 16 workers it dies with 0xC000026F (STATUS_WX86_INTERNAL_ERROR) or+# 0xC0000005 before running a line, on replays of unchanged workflows: one copy of this file red+# in ~3 when 16 run at once, against 0/64 on x64 Windows under the same load. The emulator's+# crash is not the replay's to assert on; the x64 Windows row runs the same layout natively.+_EMULATED_BASH = pytest.mark.skipif(+ sys.platform == "win32" and native_arch() == "arm64",+ reason="Git Bash is x86-64 under emulation on Windows arm64 and crashes under parallel load")+++def _NATIVE_WINDOWS_TOO(test):+ return _NATIVE_WINDOWS_PLATFORMS(_EMULATED_BASH(test))_lister_spec = importlib.util.spec_from_file_location("list_os_marked", _REPO / "scripts/ci/list_os_marked_tests.py")assert _lister_spec is not None and _lister_spec.loader is not Nonelister = importlib.util.module_from_spec(_lister_spec)