[CI] Skip absent inline suites when loading timeouts (#33410)

This commit is contained in:
Xinyuan Tong
2026-08-03 14:21:25 -07:00
committed by GitHub
parent 4ef1660cd8
commit 7cd79fda56
+1 -1
View File
@@ -63,7 +63,7 @@ def load_run_timeouts(pr_test_yml_path: str) -> dict:
with_ = job.get("with") or {}
suite = with_.get("self_name", job_id)
timeouts[suite] = int(with_["run_timeout_minutes"])
for suite in _INLINE_SUITE_JOBS:
for suite in _INLINE_SUITE_JOBS.intersection(jobs):
budgets = [
s["timeout-minutes"]
for s in ((jobs.get(suite) or {}).get("steps") or [])