Slice 1: Excise client.py dead shim #37

Closed
opened 2026-06-05 18:10:50 +02:00 by AlexKucera · 1 comment
AlexKucera commented 2026-06-05 18:10:50 +02:00 (Migrated from github.com)

Parent

#36 — PRD-003: Deepen Codebase Architecture

What to build

Remove the deprecated client.py re-export shim and its duplicate test file that have shipped since Issue #27's migration. Migrate the 3 unique rate-limiter tests into test_session.py. Verify zero production references remain.

Acceptance criteria

  • librofm_downloader/client.py is deleted
  • tests/test_client.py is deleted
  • The 3 unique rate-limiter tests (semaphore blocking, CDN bypass, exception release) are present in tests/test_session.py
  • Grep confirms zero production code imports from client.py
  • Full test suite passes (count should decrease by ~12 since duplicate tests are removed)
  • No documentation references to the old LibroFmClient name remain

Blocked by

None - can start immediately

## Parent #36 — PRD-003: Deepen Codebase Architecture ## What to build Remove the deprecated `client.py` re-export shim and its duplicate test file that have shipped since Issue #27's migration. Migrate the 3 unique rate-limiter tests into `test_session.py`. Verify zero production references remain. ## Acceptance criteria - [ ] `librofm_downloader/client.py` is deleted - [ ] `tests/test_client.py` is deleted - [ ] The 3 unique rate-limiter tests (semaphore blocking, CDN bypass, exception release) are present in `tests/test_session.py` - [ ] Grep confirms zero production code imports from `client.py` - [ ] Full test suite passes (count should decrease by ~12 since duplicate tests are removed) - [ ] No documentation references to the old `LibroFmClient` name remain ## Blocked by None - can start immediately
AlexKucera commented 2026-06-05 18:33:02 +02:00 (Migrated from github.com)

Closed via #37 — client.py shim excised, 4 rate-limiter tests migrated to test_session.py, −337 lines dead code removed. All 6 AC met.

Closed via #37 — client.py shim excised, 4 rate-limiter tests migrated to test_session.py, −337 lines dead code removed. All 6 AC met.
Sign in to join this conversation.