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
BUG-09: The GitHub adapter has never been exercised #61
BacklogNot started: the work waits in the backlogbugSomething isn't workingclass:TDTTech debt: works today, but costs more to change, operate or upgradesev:lowA small defect, a defect no code path reaches yet, or a cleanupstatus:openNo fix yet
What is wrong:cmapi/src/cmapi/core/git/github.py is written to the documented REST endpoints and has no test and no host. Needs a fake-transport test at least, and a run against a real repository before any site uses it. Raised by Opus (C10) and Codex.
Where:cmapi/src/cmapi/core/git/github.py. The file exists at ecc5cb3.
How to prove it: Run the adapter against a real GitHub repository: open a pull request, read its status, and merge it. A new test in cmapi/tests/service/ shows the fake-transport part, not written yet.
Measured or inferred: Measured by reading the code when filed. Since then, cmapi/tests/service/test_third_pass_converged.py and test_third_pass_fixes.py call GitHubProvider.contains() on a fake transport. This sweep did not check the other methods. No run against GitHub exists (HANDOVER-AND-RESUME.md, "Not proven anywhere yet").
Severity: Low. No site uses the adapter yet, so no code path reaches it.
What must hold after the fix: Each method of the adapter has a test on a fake transport. One run against a real repository passes, with its output saved.
Research: Not done yet.
Solution: Not written. Wave 3 builds the GitHub adapter and opens a real pull request on cluster-configs-nonprod.
Class: TDT. The adapter has no test, which is a weak test left by an earlier shortcut.
Exercised live on CRC (OpenShift Local), 2026-11-15/16, by the GitHub adapter of #286 (PR #288, core/git/github.py): open PR, read state, merge pinned to a sha, branch delete, on ephico2real2/cmapi-cluster-configs PRs #5, #6 (OB1 run 11), #7 (Git over SSH, coordinator), #8, #9 (portal, OB1 run 13), #10, #11 (portal quota changes, OB1 run 15); each request reached synced. Evidence: workbench/cmapi/ob1-run11, ob1-run13, ob1-run15 logs/live.
BacklogNot started: the work waits in the backlogbugSomething isn't workingclass:TDTTech debt: works today, but costs more to change, operate or upgradesev:lowA small defect, a defect no code path reaches yet, or a cleanupstatus:openNo fix yet
Activity
[-]Open: the GitHub adapter has never been exercised[/-][+]BUG-09: The GitHub adapter has never been exercised[/+]ephico2real2 commentedon Nov 16, 2026
Exercised live on CRC (OpenShift Local), 2026-11-15/16, by the GitHub adapter of #286 (PR #288,
core/git/github.py): open PR, read state, merge pinned to a sha, branch delete, on ephico2real2/cmapi-cluster-configs PRs #5, #6 (OB1 run 11), #7 (Git over SSH, coordinator), #8, #9 (portal, OB1 run 13), #10, #11 (portal quota changes, OB1 run 15); each request reached synced. Evidence: workbench/cmapi/ob1-run11, ob1-run13, ob1-run15 logs/live.Records: the stories' status (#13-#29) and which PRs need a Fable rev…
Records: the stories section after section 9; #18 is 6 of 13 after #61 …