Skip to content

feat: v0.6.0 qualification, memory bounds, and release hardening - #9

Merged
MUDASSIR-75 merged 2 commits into
ENDEVSOLS:mainfrom
Abdullahbinmushtaq:feat/v0.6-qualification
Nov 6, 2026
Merged

MUDASSIR-75 merged 2 commits into
ENDEVSOLS:mainfrom
Abdullahbinmushtaq:feat/v0.6-qualification

Conversation

@Abdullahbinmushtaq

Copy link
Copy Markdown
Contributor

Overview

This PR brings LongCache to v0.6.0, focusing on qualification, memory safety, and release hardening before freezing the 1.0.0 public API contract.

Existing Format-2 SQLite and Redis caches remain 100% backward-compatible and do not require any cache reset or migration.


Key Improvements

  • Leaner Index Rebuilds & Compaction:
    Instead of pulling full response payloads into memory during cache index rebuilds, backends now stream lightweight (id, vector, metadata) entries in paged batches. Added an immediate compaction threshold so stale vectors are cleaned up during heavy churn rather than waiting for periodic sweeps.

  • Multi-Process Redis Resilience:
    Added a dedicated stress suite (test_qualification_stress_v6.py) verifying shared Redis stability under sustained write/delete churn, singleflight leader crashes (SIGKILL) with automatic follower takeover, and clean fail-closed quarantine during server restarts.

  • Examples Automation & Format Compatibility:
    Added automated end-to-end test execution for all 7 scripts in examples/ and the README quickstart (wheel_examples_v6.py). Verified fail-closed rejection of legacy 0.1.x stores and confirmed full roundtrip compatibility across all supported response codecs.

  • Cost-Savings & Latency Model:
    Added a reproducible cost model (evaluation/cost_model.py) and updated benchmark docs with transparent formulas to calculate break-even hit rates and net LLM cost savings.

  • Release Engineering & Runbook:
    Bumped version to 0.6.0, added a release verification script (verify_release_v6.py) that audits version sync and package cleanliness without pulling in runtime dependencies, and documented the release checklist and rollback runbook in docs/release-process.md.

@MUDASSIR-75
MUDASSIR-75 merged commit ca7005d into ENDEVSOLS:main Nov 6, 2026
5 checks passed
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