Conversation
Expose a bounded runtime.kv_cache.disk contract with strict IEC sizes, field-level precedence and source reporting, legacy fallback warnings, and explicit node-manager injection across solo and split serving. Apply budget and reserve changes live with persistence rollback while staging mode and path changes for restart. Add versioned local status, exact-identity prune and clear routes, plus mesh-llm kv-cache commands; cache lifecycle work drains without blocking inference from cold fallback.
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
|
This pull request is currently a draft. Reviews will not take place until the PR is marked as ready for review. |
Collaborator
Author
i386
removed this pull request from stack #1638
September 9, 2026 23:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Nodes can now configure and operate a bounded, durable disk prompt cache without relying on experimental ambient
SKIPPY_L3_*settings.[runtime.kv_cache.disk]with off/auto/fixed modes, absolute node-local roots, hard budgets, and minimum-free reservesmesh-llm kv-cache status|prune|clearThis is stacked on #1632. The browser settings UI is intentionally deferred. Authenticated owner-control forwarding and the captured-workload release report remain follow-up commits before this draft is ready.
CLI
Architecture
The disk tier remains the concrete node-local writable store. A single process manager owns the canonical root, root lock, reservations, pins, lifecycle gate, accounting, and status. Lifecycle mutation drains existing cache operations; request-side fills decline immediately during that drain so inference continues with cold prefill.
Automatic budgeting uses
filesystem_available + current_managed_usageas the stable 20% capacity basis, is capped at 64 GiB, and is constrained by the minimum-free reserve. It can shrink live but does not grow again until restart.Compatibility
The default remains off.
SKIPPY_L3_DIR/SKIPPY_L3_BUDGET_BYTESare field-level fallbacks only when public settings do not supersede them.SKIPPY_L3_BUDGET_BYTES=0warns and resolves to the bounded 32 GiB compatibility default; it never means unbounded.Validation
Validated at
efb6a26dc9ee6ea37d43dde45b10bd5bd3eb0853:skippy-cache: 114 passed, 0 failed, 1 ignored measurementskippy-server: 676 passed, 0 failed, 3 ignored model-gated testsmesh-llm-host-runtime: 2,948 passed, 0 failed, 9 ignoredmesh-llm-cli: 89 passed, 0 failedmesh-llm-config: 193 passed, 0 failedStill required before ready