refactor(backend): remove unused getWorkingDirectories method #163

Merged
jonas.hanisch merged 3 commits from refactor/159-cleanup-session-service into main 2026-01-24 12:42:38 +00:00
Owner

Summary

  • Remove unused getWorkingDirectories() method from SessionService
  • Remove unused fs and path imports

Note: getSessionSummaries is actually used by the API (routes/data.ts, ui/api/client.ts, ui/views/Sessions.tsx) and was incorrectly flagged as unused in the issue.

Refs #159

Test Plan

  • pnpm run typecheck passes
  • Verified via grep that getWorkingDirectories is not called anywhere
  • Confirmed getSessionSummaries IS used and should remain
## Summary - Remove unused `getWorkingDirectories()` method from SessionService - Remove unused `fs` and `path` imports **Note:** `getSessionSummaries` is actually used by the API (routes/data.ts, ui/api/client.ts, ui/views/Sessions.tsx) and was incorrectly flagged as unused in the issue. Refs #159 ## Test Plan - [x] `pnpm run typecheck` passes - [x] Verified via grep that `getWorkingDirectories` is not called anywhere - [x] Confirmed `getSessionSummaries` IS used and should remain
refactor(backend): remove unused getWorkingDirectories method
All checks were successful
CI / check (pull_request) Successful in 1s
CI / build (pull_request) Successful in 42s
CI / validate-plugin (pull_request) Successful in 36s
9172d91a3e
Remove unused getWorkingDirectories() method from SessionService.
This also removes the fs and path imports that were only used by this method.

Note: getSessionSummaries is actually used by the API and was incorrectly
flagged as unused in the issue.

Refs #159

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Merge branch 'main' into refactor/159-cleanup-session-service
All checks were successful
Auto-Merge / auto-merge (pull_request) Successful in 1s
CI / build (pull_request) Successful in 1m16s
9b6ebe1513
Merge branch 'main' into refactor/159-cleanup-session-service
All checks were successful
Auto-Merge / auto-merge (pull_request) Successful in 1s
CI / build (pull_request) Successful in 44s
9d81527116
jonas.hanisch deleted branch refactor/159-cleanup-session-service 2026-01-24 12:42:38 +00:00
Sign in to join this conversation.
No description provided.