Skip to content

refactor: adopt shared env_config resolver in run_smoke#32

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/env-resolver-unification
Jul 23, 2026
Merged

refactor: adopt shared env_config resolver in run_smoke#32
Jammy2211 merged 1 commit into
mainfrom
feature/env-resolver-unification

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Overview

Collapses this repo's hand-forked env resolution in .github/scripts/run_smoke.py onto the shared resolver PyAutoHands/autohands/env_config.py (PyAutoLabs/PyAutoHands#185, Phase 1a of the test-maintainability plan). The fork predated the env-profile redesign's "one resolver" rule and omitted both the ambient PYAUTO_* scrub and derive_jax_markers support — the silent-fork shape behind the five-night seed incident.

Scripts Changed

  • .github/scripts/run_smoke.py — local load_env_config/pattern_matches/build_env deleted; now imports env_config.build_env_for_script/load_env_config (CI PYTHONPATH wiring already exists in the reusable smoke workflow; sibling-checkout fallback for local runs). The migrated file is byte-identical to the Family-A template (autofit_workspace_test).

Verification

Resolved-env diff over the smoke list ∪ every script under scripts/ (old fork logic vs shared resolver, empty base): 0 diffs (part of the 674-entry / 0-diff sweep across all six migrated repos). Only behavioural change: ambient PYAUTO_* vars no longer leak into script runs — nothing in the PR gate injects any, so CI is unaffected.

Ship note

Shipped under human-authorized Heart-RED exception (RED reason: release validation FAILED (stage integrate) — pre-existing and unrelated to this change).

Linked issue: PyAutoLabs/PyAutoHands#185

🤖 Generated with Claude Code

https://claude.ai/code/session_01MRQH5HrmMPfpWkmfh3ysJb

…185)

Collapse this repo's hand-forked env resolution (local load_env_config /
pattern_matches / build_env) onto PyAutoHands autohands/env_config.py —
the fork omitted the ambient PYAUTO_* scrub and derive_jax_markers
support (env_profile_redesign.md §5, the "one resolver" rule).

Verified by resolved-env diff over the smoke list and every script under
scripts/ (old fork logic vs shared resolver, empty base): 0 diffs. Part
of a 674-entry / 0-diff sweep across all six migrated repos. Only
behavioural change: ambient PYAUTO_* vars no longer leak into script
runs (nothing in the PR gate injects any).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MRQH5HrmMPfpWkmfh3ysJb
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Jul 23, 2026
@Jammy2211
Jammy2211 merged commit 05ac18a into main Jul 23, 2026
10 checks passed
@Jammy2211
Jammy2211 deleted the feature/env-resolver-unification branch July 23, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-release PR queued for the next release build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant