[loop-cycle] refactor: break up git.py::run() into helpers (#538) #1204

Merged
Timmy merged 1 commits from refactor/break-up-git-run into main 2026-03-23 22:07:30 +00:00
Owner

Closes #538

Extracts two helpers from run() (90 lines → 35 lines):

  • _exec_subprocess() — subprocess creation, timeout handling, cleanup
  • _parse_output() — decode bytes, build GitResult

run() now reads as a clear sequence: validate → execute → parse, with flat error handling.

All 343 tests pass.

Closes #538 Extracts two helpers from `run()` (90 lines → 35 lines): - `_exec_subprocess()` — subprocess creation, timeout handling, cleanup - `_parse_output()` — decode bytes, build GitResult `run()` now reads as a clear sequence: validate → execute → parse, with flat error handling. All 343 tests pass.
Timmy added 1 commit 2026-03-23 22:07:27 +00:00
refactor: break up git.py::run() into helpers (#538)
Some checks failed
Tests / lint (pull_request) Failing after 10s
Tests / test (pull_request) Has been skipped
b6fafac604
Timmy merged commit 3ed2bbab02 into main 2026-03-23 22:07:30 +00:00
Timmy deleted branch refactor/break-up-git-run 2026-03-23 22:07:31 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#1204