diff --git a/.github/scripts/run_smoke.py b/.github/scripts/run_smoke.py index 73d9576..407cf7c 100644 --- a/.github/scripts/run_smoke.py +++ b/.github/scripts/run_smoke.py @@ -6,13 +6,13 @@ appropriate environment. Continues through failures and exits non-zero if any script failed. -The env resolution itself is NOT implemented here: it is PyAutoBuild's +The env resolution itself is NOT implemented here: it is PyAutoHands's `autobuild/env_config.py`, imported below. This file used to carry a copy, and the copy had already drifted (its `load_env_config` hardcoded `config/build/env_vars.yaml`, so the PR gate was structurally unable to read the release profile — the seed incident's failure mode 4/7). One resolver means the PR gate and the release runner cannot disagree about what a script's -environment is. See PyAutoBuild docs/env_profile_redesign.md §5 (#161 step 2). +environment is. See PyAutoHands docs/env_profile_redesign.md §5 (#161 step 2). Mirrors the logic of the `/smoke-test` skill so CI and local runs stay in sync. @@ -31,13 +31,13 @@ ENV_VARS_FILE = WORKSPACE / "config" / "build" / "env_vars.yaml" SCRIPTS_DIR = WORKSPACE / "scripts" -# CI puts PyAutoBuild/autobuild on PYTHONPATH (PyAutoHeart's reusable +# CI puts PyAutoHands/autobuild on PYTHONPATH (PyAutoHeart's reusable # smoke-tests.yml clones it alongside the dependency chain); for local runs, # fall back to the sibling checkout. try: from env_config import build_env_for_script, load_env_config except ImportError: # pragma: no cover - local-run fallback - sys.path.insert(0, str(WORKSPACE.parent / "PyAutoBuild" / "autobuild")) + sys.path.insert(0, str(WORKSPACE.parent / "PyAutoHands" / "autobuild")) from env_config import build_env_for_script, load_env_config