You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(repos): use latest check run per name in onboard row 9 #7794
In src/devops_cli/github/onboard/template_pr.py, _read_checks treats every completed check run on the head SHA whose conclusion is not in _PASSED_CONCLUSIONS as failed (failed = tuple(sorted(str(run["name"]) for run in runs if run.get("status") == "completed" and run.get("conclusion") not in _PASSED_CONCLUSIONS))).
Observed live on dan-petty/infra#260 during devops repos onboard dan-petty/infra --confirm:
When devops repos onboard opened dan-petty/infra#260 on ci/repository-template, GitHub Actions created two check runs for PR title / Semantic PR title on the same head SHA: check run 141425613840 (conclusion: "cancelled") and check run 141425615234 (conclusion: "success").
Because _read_checks does not deduplicate check runs by name (latest check run wins), Row 9 reported 9. Template pull request: failed (#260: failed checks PR title / Semantic PR title) and skipped Rows 10 and 11 even though PR title / Semantic PR title passed on that head.
Expected Behavior
_read_checks should evaluate each check name by its latest check run (or not mark a check name as failed when a newer completed check run of the same name passed).
Activity
dan-petty commentedon Nov 29, 2026
Both fix the same bug pattern (latest check run per name wins) but in different files and commands: #5383 in pr readiness, this in repos onboard row 9.devops-cli-service commentedon Nov 29, 2026
Released in v0.252.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.252.0
devops-cli-service commentedon Nov 29, 2026
Live since 2026-11-29 18:59 UTC