[loop-cycle] refactor: break up git.py::run() into helpers (#538) #1204
Reference in New Issue
Block a user
Delete Branch "refactor/break-up-git-run"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #538
Extracts two helpers from
run()(90 lines → 35 lines):_exec_subprocess()— subprocess creation, timeout handling, cleanup_parse_output()— decode bytes, build GitResultrun()now reads as a clear sequence: validate → execute → parse, with flat error handling.All 343 tests pass.