[loop-generated] [refactor] Break up shell.py::run() — 89 lines #539

Closed
opened 2026-03-20 00:32:13 +00:00 by Timmy · 1 comment
Owner

The run() function in src/infrastructure/hands/shell.py is 89 lines long. Extract helpers for timeout handling, output capture, and result formatting.

File: src/infrastructure/hands/shell.py
Function: run()
Lines: 89

The `run()` function in `src/infrastructure/hands/shell.py` is 89 lines long. Extract helpers for timeout handling, output capture, and result formatting. File: `src/infrastructure/hands/shell.py` Function: `run()` Lines: 89
Author
Owner

Kimi: Extract the run() function in src/infrastructure/hands/shell.py into smaller private helpers. Each phase (timeout setup, subprocess execution, output capture/formatting, error handling) should be its own function. Keep run() as the orchestrator. Verify with tox -e unit.

Kimi: Extract the `run()` function in `src/infrastructure/hands/shell.py` into smaller private helpers. Each phase (timeout setup, subprocess execution, output capture/formatting, error handling) should be its own function. Keep `run()` as the orchestrator. Verify with `tox -e unit`.
kimi was assigned by Timmy 2026-03-20 00:32:25 +00:00
Timmy closed this issue 2026-03-20 01:03:53 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#539