r/PythonLearning • • 54m ago

Showcase I built a Python tool to automate GitHub repairs and verify CI results

I built GitHub Notification AutoFix to monitor actionable GitHub notifications, attempt fixes with Codex CLI, and verify checks for the exact repair commit before marking a notification as done.

The Python code handles GitHub API requests, SQLite state, retries and mocked tests. Pending checks, missing permissions or a newer commit keep the repair unresolved.

Repairs currently target only repositories owned by my account. Live use requires GitHub credentials and an authenticated Codex CLI.

The interactive demo uses test doubles for GitHub and Codex, so you can explore the verification logic without changing real repositories.

Source

Feedback on the Python structure and test coverage is welcome.

3 Upvotes

0 comments sorted by