Skip to content

The agent that grows with you

ci: route the ZIP recovery module and the SSH gate's corpus test like their siblings

Teknium9f8d7bf6045f
diff --git a/.github/workflows/install-e2e.yml b/.github/workflows/install-e2e.yml
index 829d02c1259..bbabb6124f4 100644
--- a/.github/workflows/install-e2e.yml
+++ b/.github/workflows/install-e2e.yml
@@ -135,7 +135,7 @@ on:
- 'hermes_cli/*update*'
- 'hermes_cli/pm*'
- 'hermes_cli/*install*'
- - 'hermes_cli/_early_recovery.py'
+ - 'hermes_cli/_early_recovery*.py'
- 'hermes_cli/_launchers.py'
- 'hermes_cli/managed_uv.py'
- 'hermes_cli/venv_sync.py'
diff --git a/scripts/ci/classify_changes.py b/scripts/ci/classify_changes.py
index e1fc084f9d1..92a38b7ad68 100644
--- a/scripts/ci/classify_changes.py
+++ b/scripts/ci/classify_changes.py
@@ -169,6 +169,7 @@ _SHARED_FIXTURE_CONSUMERS: dict[str, tuple[str, ...]] = {
"tests/scripts/desktop_update/test_desktop_update_posix_marker_corpus.py", # marker.sh
"tests/scripts/desktop_update/test_desktop_update_windows_marker_corpus.py", # marker.ps1
"apps/desktop/electron/remote-update-marker-programs.test.ts", # SSH remote judge
+ "apps/desktop/electron/remote-lifecycle-v2-marker.test.ts", # SSH relaunch/spawn gate
),
}
# What a fixture inherits from its consumers: the lanes that run them as tests.
@@ -226,7 +227,8 @@ _UPDATE_PIPELINE = (
# Prefix: main_desktop.py (staged Desktop swap / rebuild in the tail) and the
# main_desktop_* siblings it imports (macOS signing identity).
"hermes_cli/main_desktop",
- "hermes_cli/_early_recovery.py", # interrupted pull / shim restore at launch
+ # Prefix: _early_recovery.py and its _early_recovery_* siblings (ZIP swap journal).
+ "hermes_cli/_early_recovery", # interrupted pull / shim restore at launch
"hermes_cli/venv_sync.py", # completion obligation + launch-time tail
"hermes_cli/source_", # source_completion/_build/_releases/_check/_stamp
"hermes_cli/_launchers.py",
@@ -270,7 +272,7 @@ _UPDATE_ENTRY_POINTS = (
"hermes_cli/_old_updater",
"hermes_cli/post_update",
"hermes_cli/venv_sync.py",
- "hermes_cli/_early_recovery.py",
+ "hermes_cli/_early_recovery",
"hermes_cli/main_desktop.py",
"hermes_cli/desktop_update_verify.py",
"hermes_cli/desktop_build_lock.py",
diff --git a/tests/ci/test_update_ci_routing.py b/tests/ci/test_update_ci_routing.py
index 2856eb6fdf1..21c6936d7ff 100644
--- a/tests/ci/test_update_ci_routing.py
+++ b/tests/ci/test_update_ci_routing.py
@@ -412,7 +412,6 @@ def _tracked_mentions(name: str) -> list[str]:
# table empties when the siblings land and a later deletion of a consumer turns it red.
_LANDS_IN_SIBLING_PR: dict[str, str] = {
"apps/desktop/electron/update-marker-corpus.test.ts": "#132345 desktop update gate",
- "apps/desktop/electron/remote-update-marker-programs.test.ts": "#132345 desktop update gate",
"tests/scripts/desktop_update/test_desktop_update_posix_marker_corpus.py": "#132354 hand-off scripts",
"tests/scripts/desktop_update/test_desktop_update_windows_marker_corpus.py": "#132354 hand-off scripts",
}