Skip to content

The agent that grows with you

ci(classify): tests/_fixtures re-arms the desktop-updater lane

ethernet428d2d6a867b
diff --git a/scripts/ci/classify_changes.py b/scripts/ci/classify_changes.py
index 0bab2708e4a..2b0b830b052 100644
--- a/scripts/ci/classify_changes.py
+++ b/scripts/ci/classify_changes.py
@@ -133,7 +133,8 @@ _BOOTSTRAP_PATHS = ("apps/bootstrap-installer/",)
_BOOTSTRAP_FILES = {"scripts/install.sh", "setup-hermes.sh"}
# Windows desktop-update hand-off (scripts/desktop-update/windows.ps1 + the
# Electron side that launches it) and the pytest files that spawn it.
-_DESKTOP_UPDATER_PATHS = ("scripts/desktop-update/",)
+# tests/_fixtures/ holds the conftest's platform gating, so it re-arms the lane too.
+_DESKTOP_UPDATER_PATHS = ("scripts/desktop-update/", "tests/_fixtures/")
_DESKTOP_UPDATER_TEST_PREFIX = "tests/scripts/desktop_update/"
_DESKTOP_UPDATER_FILES = {
"apps/desktop/electron/updater-process.ts",
diff --git a/tests/ci/test_classify_changes.py b/tests/ci/test_classify_changes.py
index 9e0f8600c0c..c676b6892c3 100644
--- a/tests/ci/test_classify_changes.py
+++ b/tests/ci/test_classify_changes.py
@@ -216,6 +216,10 @@ CASES = {
["tests/conftest.py"],
_lanes(python=True, python_prod=False, scan=True, desktop_updater=True),
),
+ "conftest fixture module → python + desktop_updater": (
+ ["tests/_fixtures/platform_gating.py"],
+ _lanes(python=True, python_prod=False, scan=True, desktop_updater=True),
+ ),
"tests + prod source → both lanes": (
["tests/agent/test_foo.py", "agent/x.py"],
_lanes(python=True, scan=True),