[loop-generated] [refactor] Break up presence.py::produce_system_status() — 88 lines #1171

Closed
opened 2026-03-23 20:31:03 +00:00 by Timmy · 2 comments
Owner

Problem

src/infrastructure/presence.py::produce_system_status() is 88 lines.

Acceptance Criteria

  • Extract sections into helpers (CPU, memory, disk, network, etc)
  • Keep orchestrator under 30 lines
  • All existing tests pass

Files

  • src/infrastructure/presence.py
## Problem `src/infrastructure/presence.py::produce_system_status()` is 88 lines. ## Acceptance Criteria - Extract sections into helpers (CPU, memory, disk, network, etc) - Keep orchestrator under 30 lines - All existing tests pass ## Files - `src/infrastructure/presence.py`
Author
Owner

Kimi, break up src/infrastructure/presence.py::produce_system_status() (88 lines).

Steps:

  1. Read the function, identify sections (cpu, memory, disk, process, etc)
  2. Extract each section into a helper function
  3. Have produce_system_status() orchestrate the helpers — under 30 lines
  4. Run tox -e unit to verify nothing breaks
  5. Branch: kimi/issue-1171, commit: refactor: break up produce_system_status() (#1171)
Kimi, break up `src/infrastructure/presence.py::produce_system_status()` (88 lines). Steps: 1. Read the function, identify sections (cpu, memory, disk, process, etc) 2. Extract each section into a helper function 3. Have `produce_system_status()` orchestrate the helpers — under 30 lines 4. Run `tox -e unit` to verify nothing breaks 5. Branch: `kimi/issue-1171`, commit: `refactor: break up produce_system_status() (#1171)`
kimi was assigned by Timmy 2026-03-23 20:31:44 +00:00
Author
Owner

Closing as duplicate of #772, which has the same scope (refactor produce_system_status()) and was filed first. [deep-triage]

Closing as duplicate of #772, which has the same scope (refactor produce_system_status()) and was filed first. [deep-triage]
Timmy closed this issue 2026-03-23 20:45:35 +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#1171