Repository navigation
Description
Part of #18
What is wrong: pr_status reads only commit statuses, so a check run from GitHub Actions never satisfies the worker. cmapi/src/cmapi/core/git/github.py:116 calls GET /repos/{r}/commits/{sha}/status, the combined commit status. GitHub Actions reports check runs, which GitHub's REST docs say that endpoint does not include. Once ci/kubeconform and ci/kyverno come from cluster-configs-nonprod's own Actions, the worker sees neither and pr_checks waits for ever.
Where: cmapi/src/cmapi/core/git/github.py:116. The line exists at ecc5cb3 and reads /commits/{head}/status.
How to prove it: A MockTransport test: a commit with no statuses and two successful check runs under /commits/{sha}/check-runs must read as green. It fails on main today because pr_status never calls that path. Then on the real repository: a PR whose ci/* come from Actions merges. The test is cmapi/tests/service/test_github_check_runs.py::test_no_statuses_and_two_successful_check_runs_read_as_green, on branch fix-pr-status-check-runs only.
Measured or inferred: Found by reading the source; not yet run against GitHub.
Severity: Low. No site uses the GitHub adapter yet, so no code path reaches the defect. Wave 3 reaches it.
What must hold after the fix: pr_status reads both endpoints and merges by context name. pr_checks.py stops posting ci/*. The App needs Checks: read.
Research: Not complete. Reviewer 1 stopped midway with two findings that the coordinator did not check again (HANDOVER-AND-RESUME.md). C1: neutral and skipped read as failures, unlike GitHub's required checks. C3: a commit with 1,001 check suites hides a failure. The record is docs/reviews/2026-11-06-pr112/night/87/.
Solution: Commit f196902 on branch fix-pr-status-check-runs, by an Opus 5.5 implementer. It has no pull request and no complete review. It goes in the GitHub adapter PR.
Class: No class. The fix makes pr_status read what GitHub reports, which is the intended behavior, and adds no control.
Activity
ephico2real2 commentedon Nov 6, 2026
Fix committed on branch
fix-pr-status-check-runs(f196902), by an Opus 5.5 implementer. Not reviewed, no pull request yet: parked to save tokens, at the owner's request, until Wave 1 is on CRC.Handover for clearing the session: the review's state saved, tracker …
PR #112's rulings, #118's diagnosis and proof, and the handover for s…
[-]pr_status reads only commit statuses, so Actions check runs never satisfy the worker[/-][+]BUG-11: pr_status reads only commit statuses, so Actions check runs never satisfy the worker[/+]ephico2real2 commentedon Nov 13, 2026
Work tag: In-Progress. Commit
f196902on branchfix-pr-status-check-runsholds a fix and its tests. The branch has no pull request. Reviewer 1 stopped midway (HANDOVER-AND-RESUME.md). Read fromghandgitat 2026-11-13T09:18Z.A check run that is completed with no conclusion is pending, not failed
The moved-head test also fails when the approved-head check is remove…
ephico2real2 commentedon Nov 13, 2026
In-QA: the pull request above closes this issue. The review is ruled (docs/reviews/2026-11-13-issue-87/README.md on the branch). CI on its head was not read yet when this was written.