Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/scripts/run_smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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


Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ write from a header skim silently deletes every section below the header.

- Source libs: `../PyAutoLens`, `../PyAutoGalaxy`, `../PyAutoArray`, `../PyAutoFit`, `../PyAutoConf`.
- `../autolens_workspace` β€” the user-facing workspace; `../HowToLens` β€” the tutorial series.
- `../PyAutoBuild` β€” CI / build tooling.
- `../PyAutoHands` β€” CI / build tooling.
- `../autolens_assistant` β€” science-assistant workspace (literature wiki).

## Task Workflows
Expand Down
4 changes: 2 additions & 2 deletions config/build/copy_files.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Files copied as-is into notebooks/ instead of being converted from
# scripts/. Used by PyAutoBuild's generate.py during the pre-build step.
# scripts/. Used by PyAutoHands's generate.py during the pre-build step.
#
# Format: flat list of script paths relative to the workspace root.
# Patterns matched by suffix β€” any file path ending with one of these
# entries is treated as copy-only.
#
# This file overrides PyAutoBuild/autobuild/config/copy_files.yaml for
# This file overrides PyAutoHands/autobuild/config/copy_files.yaml for
# this workspace. Add or remove entries here, not there.

[]
4 changes: 2 additions & 2 deletions config/build/visualise_notebooks.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Notebook stems that should run when PyAutoBuild's generate / run pipeline
# Notebook stems that should run when PyAutoHands's generate / run pipeline
# is invoked with --visualise. Used to refresh notebook output cells in main.
#
# Format: flat list of notebook stems (no extension, no path).
# An empty list means no notebooks need re-visualisation in this workspace.
#
# This file overrides PyAutoBuild/autobuild/config/visualise_notebooks.yaml
# This file overrides PyAutoHands/autobuild/config/visualise_notebooks.yaml
# for this workspace. Add or remove entries here, not there.

[]
Loading