Merge pull request #1991 from ludovic111/fix/pr-ready-affected-once
🤖 Agent: merged on verify: tooling only, it changes how fast harnesses are chosen, not which game code runs. Fixes pr_ready's 14+ min planning (affected_harnesses was called once per harness) and bounds the selection.
This commit is contained in:
+2
-1
@@ -164,7 +164,8 @@ def affected_here(changed):
|
||||
(parity.SHARED / "dependencies" / f"{name}.json").exists() for name in found)
|
||||
if not known and not changed & parity.SHARED_INPUTS:
|
||||
return None
|
||||
return harness_names(name for name in found if name in parity.affected_harnesses(found, records, changed))
|
||||
affected = parity.affected_harnesses(found, records, changed)
|
||||
return harness_names(name for name in found if name in affected)
|
||||
|
||||
|
||||
def short_list(names, limit=12):
|
||||
|
||||
Reference in New Issue
Block a user