[None][feat] RI-02 bind shared KV leases to lifecycle retirement - #19824
Draft
chienchunhung wants to merge 4 commits into
Draft
chienchunhung wants to merge 4 commits into
chienchunhung wants to merge 4 commits into
Conversation
Add request-scoped staging and in-place lenders for KVCacheManagerV2, with opaque content identities, layout derivation, registration holds, and lease lifecycle handling. Include manager lifecycle and shrink hooks, accumulated fetch readiness, and layout, public API, staging, in-place, and host-tier tests. Signed-off-by: Shixiaowei02 <[email protected]>
Signed-off-by: Chien-Chun Hung <[email protected]>
Signed-off-by: Chien-Chun Hung <[email protected]>
chienchunhung
force-pushed
the
dev/ri-02-shared-kv-lifetime
branch
from
October 2, 2026 23:55
a0d04e3 to
7673bb8
Compare
Signed-off-by: Chien-Chun Hung <[email protected]>
chienchunhung
force-pushed
the
dev/ri-02-shared-kv-lifetime
branch
from
October 3, 2026 01:02
7673bb8 to
fe52dac
Compare
Collaborator
Author
|
/bot run |
Collaborator
|
PR_Github #76146 [ run ] triggered by Bot. Commit: |
Collaborator
|
PR_Github #76146 [ run ] completed with state
|
This branch has not been deployed
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
Bind shared-cache transfers to manager-owned staging leases and existing lifecycle retirement. A failure, cancellation, request exit, or timeout can become visible immediately while the adapter retains memory until backend access and local copies are proven complete.
Scope
Verification
At
fe52dac001557bbf8a764b69a6bcaa955bb17a68:7673bb837a3c2e5e8457f158de72ca2e24fc710a; the final amendment changes only test cleanup. Git-tree equality and loaded module/native-binding hashes verified compatibility with the final head.git diff --check: passed. Fresh complete self-review after the last fix: no actionable findings.Notes
Stacked development prerequisites: #19722 lender → #19823 RI-01; #19822 LC-MC-0 is also required. This draft targets
mainand includes those separate commits. Review RI-02-only commit for its four-file scope; rebase after prerequisites merge.