Repository navigation
fix(ci): run the Euclid smoke list as one ordered shard - #312
Merged
Merged
Conversation
Workspace smoke now builds the matrix with --ordered euclid, so the pipeline's smoke_tests.txt runs in order in one job from the workspace root (start_here.py and top-level scripts/*.py included) instead of a lone scripts/tools shard. Both run_scripts steps pass --list when the entry carries a script_list and keep scripts/<dir> otherwise; the scripts-leg artifact names use an `ordered` suffix for such entries. Wiring tests execute both run steps against a stub runner for each shape. Refs PyAutoLabs/PyAutoHands#317 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
script_matrix.pysharded every project perscripts/<subdir>/. The Euclid pipeline (added to workspace-validation smoke by PyAutoHeart#309) keeps its scripts atscripts/*.py+ rootstart_here.pywith one subdir, so its only job wasscripts/tools:diagnose_latent.pyran without the fits it replays and failed (cloud#39224774724 — the release-readiness YELLOW reason), and the rest of the pipeline was never smoked.Hands#318 adds an explicit, caller-owned opt-in
--ordered PROJECT(repeatable): that project becomes ONE matrix entry carrying its orderedsmoke_tests.txt, run viarun_python.py --list. Presence ofsmoke_tests.txtdoes not opt in (every workspace has one); an unknown--orderedname errors. Output without the flag is unchanged.Part of PyAutoLabs/PyAutoHands#317 (companion: PyAutoLabs/PyAutoHands#318)
Merge order: PyAutoLabs/PyAutoHands#318 FIRST, then this PR — the Heart workflow clones Hands
main, and oldscript_matrix.pywould read--orderedas a project name.This PR wires it:
workspace-validation.ymlpasses--ordered euclidin smoke mode only; both run_scripts steps takeSHARD_*env from the matrix entry and callrun_python.py <name> . --list smoke_tests.txtfor an ordered entry (elsescripts/<dir>as before); script-leg artifact names useorderedas the suffix for such an entry.tests/test_workflow_wiring.pyextended (4 new tests).Validation
tests/test_script_matrix.py(8) +test_script_list.py: 17 passed (re-run in-session).tests/test_workflow_wiring.py: 25 passed (re-run in-session).--orderedbyte-identical tomain; with--ordered euclideuclid is one entry{name: euclid, directory: ".", script_list: smoke_tests.txt}, every other entry unchanged.main(run_python.py euclid . --list smoke_tests.txt): all 9 entries PASS in list order, incl.scripts/tools/diagnose_latent.py(5.8s) — the script that failed in cloud#39224774724; 80s total.main, so it is only meaningful after the Hands PR merges).Heart
Heart RED override (development only), authorized live by the human 2026-10-21 ("Override and proceed"); exact RED reasons verbatim on PyAutoHands#317. Merge needs a separate /prm with all checks green; no release.
🤖 Generated with Claude Code