Repository navigation
fix: emit one ordered shard for order-dependent smoke lists - #318
Merged
Merged
Conversation
script_matrix.py shards a project per scripts/<subdir>, so the Euclid
pipeline's only job was scripts/tools, running diagnose_latent.py without
the fits it replays (cloud#39224774724). Add an explicit, caller-owned
--ordered PROJECT flag: such a project becomes a single entry
{name, directory: ".", script_list: "smoke_tests.txt"} for
run_python.py --list. Other projects' entries are unchanged, and an
--ordered name outside the project list is an error.
Refs #317
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 21, 2026
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.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.Closes #317
Merge order: this PR first, then PyAutoLabs/PyAutoHeart (companion, branch
feature/euclid-smoke-ordered-shard) — the Heart workflow clones Handsmain, and oldscript_matrix.pywould read--orderedas a project name.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