[ci] Consolidate component splitting into determine-jobs (#11614)

This commit is contained in:
J. Nick Koston
2025-10-29 20:27:28 -05:00
committed by GitHub
parent 03fd114371
commit 08aae39ea4
4 changed files with 42 additions and 43 deletions

View File

@@ -62,6 +62,10 @@ def create_intelligent_batches(
) -> tuple[list[list[str]], dict[tuple[str, str], list[str]]]:
"""Create batches optimized for component grouping.
IMPORTANT: This function is called from both split_components_for_ci.py (standalone script)
and determine-jobs.py (integrated into job determination). Be careful when refactoring
to ensure changes work in both contexts.
Args:
components: List of component names to batch
tests_dir: Path to tests/components directory