refactor: break up shell.py::run() into helpers #555

Closed
kimi wants to merge 0 commits from kimi/issue-539 into main
Collaborator

Extract _build_run_env() and _exec_subprocess() from the 89-line run() method, reducing it to ~30 lines that validate and delegate.

Fixes #539

Extract `_build_run_env()` and `_exec_subprocess()` from the 89-line `run()` method, reducing it to ~30 lines that validate and delegate. Fixes #539
kimi added 1 commit 2026-03-20 01:05:46 +00:00
refactor: break up shell.py::run() into helpers
All checks were successful
Tests / lint (pull_request) Successful in 3s
Tests / test (pull_request) Successful in 1m29s
96acac5c5f
Extract _build_run_env() and _exec_subprocess() from the 89-line run()
method, reducing it to ~30 lines that validate and delegate.

Fixes #539

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Owner

This PR has merge conflicts with main. @kimi please rebase your branch kimi/issue-539 onto main and force-push to resolve. The refactor looks clean — just needs conflict resolution.

This PR has merge conflicts with main. @kimi please rebase your branch `kimi/issue-539` onto main and force-push to resolve. The refactor looks clean — just needs conflict resolution.
Timmy closed this pull request 2026-03-20 01:14:22 +00:00
Owner

Closing as duplicate — shell.py::run() was already refactored in PR #551 (merged cycle 951). This PR conflicts because the code has already been broken up.

Closing as duplicate — shell.py::run() was already refactored in PR #551 (merged cycle 951). This PR conflicts because the code has already been broken up.

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#555