Repository navigation
[CI] CI: reduce split test timing update conflicts - #6246
Conversation
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
One backend per PR: PR title tags & labels: |
There was a problem hiding this comment.
🟢 Approval recommended
The migration preserves fallback behavior, aligns test discovery, and validates malformed timing values.
0 open findings
What changed in this PR
Moves CI test-duration estimates into stable TSV files to reduce updater conflicts.
Changes:
- Loads per-suite timing data from TSV files with a 15-second fallback.
- Updates discovery and weekly refresh logic.
- Restricts automated commits to timing data files.
| File | Description |
|---|---|
.github/workflows/update-split-tests.yaml |
Commits only generated TSV files. |
.github/split-test-times/triton.tsv |
Seeds Triton timings. |
.github/split-test-times/aiter.tsv |
Seeds Aiter timings. |
.github/scripts/update_split_test_times.py |
Reads and writes validated, sorted TSV data. |
.github/scripts/split_tests.sh |
Loads timings at runtime. |
🧠 Review effort: Balanced
Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.
Replaces the FILE_TIMES entry this PR previously added to split_tests.sh. Upstream moved per-file timings into .github/split-test-times/<type>.tsv in ROCm#6246, explicitly to reduce the merge conflicts that a hand-edited table in the script kept producing -- which is exactly what this PR hit twice. 20s is the measured runtime rounded up for headroom on a loaded runner. Signed-off-by: Rita Brugarolas Brufau <[email protected]>
Summary
.github/scripts/split_tests.shinto stable TSV data files under.github/split-test-times/.split_tests.shload timing data at runtime and keep the existing 15s default for unknown tests.main.op_tests/tuning_testsfiles are counted consistently withsplit_tests.sh.Test plan
Note: local
ruffandblackcommands are not installed in this workspace, so those checks were not run locally.