Skip to content

refactor: validate env profiles for every smoke-profile workspace - #103

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

Jammy2211 merged 1 commit into
mainfrom
feature/env-resolver-unification

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Overview

Part of PyAutoLabs/PyAutoHands#185 (Phase 1a: Family-B env-resolver unification). The PR-time profile validation step in the reusable smoke workflow only fired for workspaces carrying a profile_release.yaml — exempting exactly the smoke-only HowTo repos whose forked run_smoke.py just collapsed onto the shared resolver. Config-only errors in those repos would surface in the nightly instead of failing the PR in seconds.

Scripts Changed

  • .github/workflows/smoke-tests.yml — validate step now fires for any workspace with config/build/profile_smoke.yaml; the release-only strict flags (--strict-derivation --strict-markers) still apply only where a profile_release.yaml exists (the *_workspace_test repos and the three user workspaces, whose behaviour is unchanged).

Verification

  • All six Family-B repos validate clean under the new condition (user workspaces under strict flags, HowTo trio smoke-only).
  • Family-A strict controls still validate clean.

Merge order: merge PyAutoLabs/PyAutoHands' companion PR first — the new condition calls the validator on smoke-only repos, which requires its release-profile-optional change. (The workflow clones PyAutoHands at the matching branch where one exists, main otherwise.)

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

…AutoHands#185)

The PR-time profile validation gate only fired for workspaces carrying a
profile_release.yaml, which exempted exactly the smoke-only repos
(HowTo*) — the ones whose run_smoke.py forks just collapsed onto the
shared resolver. Now the validator runs for any workspace with a
config/build/profile_smoke.yaml; the release-only strict flags
(--strict-derivation --strict-markers) still apply only where a
profile_release.yaml exists.

Requires PyAutoHands' companion change making the release profile
optional in validate_env_profiles.py (merge that first).

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant