You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v0.1.10 now establishes a v1-first LMCache Gateway architecture while preserving the existing Legacy path. The release gate must prove both properties:
new CacheRoute capabilities use LMCache-native public interfaces in v1;
Legacy startup, Redis injection, request formats, and demos remain available without receiving new v1 functionality.
This Issue validates contracts and Gateway behavior. It does not implement a second cache store or require production policy work.
Objective
Validate the complete v0.1.10 change set across:
the completed v1 serving baseline;
resolved v1, legacy, and migration-only auto profiles;
storage-neutral state and observation models;
KDN Knowledge/Cache Service contracts;
LMCache Gateway Profiles and capability discovery;
token/artifact lookup, tier/adapter observations, operation intents, and structured fallback;
request and cache-operation traces;
current Legacy behavior;
CPU-only test isolation and targeted GPU end-to-end validation.
Test Scope
Runtime Profile Rules
v1 is the default target for all new features.
legacy preserves historical behavior and is feature-frozen.
auto resolves once at startup to an explicit profile and remains fixed.
A v1 request cannot silently execute a Legacy write path.
Profile aliases and invalid values behave deterministically.
Existing Legacy Behavior
Legacy kv_ready metadata and read-only file projection.
Redis scan/dump/restore/inject.
Text injection and text-only paths.
Legacy Instance registration and heartbeat payloads.
Existing routing and forwarding decisions for compatible inputs.
Legacy startup smoke tests for Scheduler, KDN, Proxy, and Instance.
token lookup range and matched-coverage representation;
cache-object and tier/adapter summary representation;
prefetch, pin/unpin, clear/delete, status, cancellation, and explicit unsupported behavior;
idempotency and structured fallback;
proof that domain payloads contain no KV bytes, credentials, raw Redis keys, private LMCache classes, or chunk-index copies.
Trace and Provenance
text-only, Legacy KV, v1 LMCache-backed KV, unsupported capability, stale observation, endpoint restart, failed/skipped stage, and fallback paths;
separation of KDN decisions, Gateway invocation, LMCache asynchronous operation, adapter/tier observation, Proxy queueing, and vLLM execution;
separation of predicted, observed, measured, inferred, stale, unsupported, partial, skipped, and Legacy-projected values.
LMCache-Native Integration
Targeted integration validation should cover:
current LMCache MP startup and health;
current vLLM LMCacheMPConnector startup;
one token/artifact lookup path through the selected public interface;
one object/tier or adapter observation path;
one warm prefetch or equivalent supported operation;
operation status/completion where supported;
a cold request with no cache read;
a warm request with actual LMCache hit-token or remote-read evidence;
deterministic cold-versus-hit output comparison;
endpoint restart and generation invalidation.
Test Isolation Requirements
Generic pytest collection performs no external request at module import time.
Historical scripts requiring live endpoints are explicit integration entry points, guarded by main(), moved outside discovery, or skipped when unavailable.
CPU-only tests use Mock Gateway and Profile data.
Core tests require no GPU, live vLLM endpoint, LMCache daemon, Redis service, or external storage system.
Optional dependencies use documented extras, isolated imports, or explicit skips rather than unrelated collection failures.
v1 and Legacy test fixtures use separate directories, Redis databases, ports, and environment variables.
Compatibility Matrix Gate
Record rows containing:
CacheRoute version;
resolved Runtime Profile;
vLLM version/profile;
LMCache version/profile;
Gateway adapters;
storage adapters/tiers represented;
validated operations;
actual hit-observation mechanism;
known limitations;
status: validated, experimental, deprecated, or unsupported.
At minimum, validate:
the current v1 baseline;
one Mock future/unknown capability Profile;
the Legacy Profile;
one unsupported/incompatible Profile;
two represented LMCache adapter/tier configurations through mock or integration tests.
Background
v0.1.10 now establishes a v1-first LMCache Gateway architecture while preserving the existing Legacy path. The release gate must prove both properties:
This Issue validates contracts and Gateway behavior. It does not implement a second cache store or require production policy work.
Objective
Validate the complete v0.1.10 change set across:
v1,legacy, and migration-onlyautoprofiles;Test Scope
Runtime Profile Rules
v1is the default target for all new features.legacypreserves historical behavior and is feature-frozen.autoresolves once at startup to an explicit profile and remains fixed.Existing Legacy Behavior
kv_readymetadata and read-only file projection.v1 State Models
Gateway and Contract Profiles
Trace and Provenance
LMCache-Native Integration
Targeted integration validation should cover:
LMCacheMPConnectorstartup;Test Isolation Requirements
pytestcollection performs no external request at module import time.main(), moved outside discovery, or skipped when unavailable.Compatibility Matrix Gate
Record rows containing:
At minimum, validate:
Final Acceptance Criteria
autoresolves and freezes one explicit profile.kv_ready, text injection, Redis scan/dump/restore/inject, and forwarding remain operational.Deliverables
Non-Goals
Parent Epic
Dependencies