Skip to content

cleanup(cache): remove dead TieredCacheManager#1422

Merged
jundot merged 1 commit into
jundot:mainfrom
cfbraun:pr/dead-tiered-manager
May 27, 2026
Merged

cleanup(cache): remove dead TieredCacheManager#1422
jundot merged 1 commit into
jundot:mainfrom
cfbraun:pr/dead-tiered-manager

Conversation

@cfbraun

@cfbraun cfbraun commented May 26, 2026

Copy link
Copy Markdown
Contributor

Summary

TieredCacheManager is unused: zero instantiations across git history (git log -S 'TieredCacheManager(' returns only the initial-commit declaration), zero imports outside the module's own __init__ re-export, zero test references. The class was a planned coordinator between PagedCacheManager / BlockAwarePrefixCache / PagedSSDCacheManager / MemoryMonitor — but Scheduler.__init__ does that wiring directly today, making the abstraction redundant.

Removes 353 lines from omlx/cache/tiered_manager.py plus the re-export from omlx/cache/__all__.

Test plan

  • from omlx.cache import PagedCacheManager, PagedSSDCacheManager, BlockAwarePrefixCache still imports
  • pytest tests/test_paged_ssd_cache.py tests/test_paged_cache.py — 156 passed

@cfbraun cfbraun force-pushed the pr/dead-tiered-manager branch 2 times, most recently from f36c217 to 344799b Compare May 27, 2026 06:43
Verified unused: zero instantiations across the entire git history
(`git log -S 'TieredCacheManager('` returns only the initial-commit
declaration), zero imports outside the module's own __init__ re-export,
zero test references. The class was a planned coordinator between
PagedCacheManager / BlockAwarePrefixCache / PagedSSDCacheManager /
MemoryMonitor — Scheduler.__init__ does that wiring directly, making
the abstraction redundant.

Removes 353 lines plus the re-export from omlx.cache.__all__.
@cfbraun cfbraun force-pushed the pr/dead-tiered-manager branch from 344799b to 0196c89 Compare May 27, 2026 07:29
@jundot

jundot commented May 27, 2026

Copy link
Copy Markdown
Owner

Thanks for the cleanup! Verified all four claims independently. Zero instantiations in git history, no external imports, no test references, and Scheduler.init wires PagedCacheManager / BlockAwarePrefixCache / PagedSSDCacheManager directly today. Merging.

@jundot jundot merged commit 2916ab4 into jundot:main May 27, 2026
cfbraun added a commit to cfbraun/omlx that referenced this pull request May 27, 2026
@cfbraun cfbraun deleted the pr/dead-tiered-manager branch May 27, 2026 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants