Skip to content

fix(#1524): delete deprecated CacheFactory, migrate to CacheBrick#2454

Open
windoliver wants to merge 1 commit intodevelopfrom
violationfix/deprecated-cache-factory
Open

fix(#1524): delete deprecated CacheFactory, migrate to CacheBrick#2454
windoliver wants to merge 1 commit intodevelopfrom
violationfix/deprecated-cache-factory

Conversation

@windoliver
Copy link
Collaborator

Summary

  • Delete deprecated CacheFactory class (365 LOC) and factory.py — superseded by CacheBrick per Issue refactor: Extract Cache module (~4,405 LOC) into Cache Brick #1524
  • Remove CacheFactory from __init__.py re-exports and __all__
  • Clean up CacheBrick docstrings: remove "CacheFactory-compatible" references
  • Remove dead record_store parameter from CacheBrick.__init__ (stored but never read)
  • Migrate e2e tests from CacheFactory to CacheBrick
  • Delete TestCacheFactoryPostgresFallback tests (CacheFactory-specific behavior, not replicated in CacheBrick)
  • Update embeddings.py docstring to reference CacheBrick

Stream: #14

Test plan

  • All 16 cache brick unit tests pass
  • All 22 cache store e2e tests pass (including migrated TestCacheBrickIntegration)
  • ruff check + format clean
  • No remaining CacheFactory references in codebase
  • Pre-commit hooks pass (ruff, format, brick-zero-core-imports)

…eBrick

CacheFactory was deprecated per Issue #1524 — CacheBrick is the canonical
replacement. Delete factory.py (365 LOC), remove all re-exports and
references, migrate e2e tests to CacheBrick, and clean up dead
record_store parameter from CacheBrick.__init__.
@github-actions
Copy link
Contributor

Type Safety Progress 📉

Current: 418 type: ignore comments
Baseline: 531 (Phase 3 start)
Change: -113

✅ Progress! Keep eliminating type suppressions!

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.

1 participant