Repository navigation
[None][fix] Correlate Python KV receive evidence by generation - #17979
Draft
chienchunhung wants to merge 4 commits into
Draft
chienchunhung wants to merge 4 commits into
chienchunhung wants to merge 4 commits into
Conversation
chienchunhung
force-pushed
the
codex/disagg-kv-ownership-p1-2-attempt-identity
branch
from
August 19, 2026 20:23
a869cd9 to
0fafd4d
Compare
This was referenced Aug 19, 2026
chienchunhung
force-pushed
the
codex/disagg-kv-ownership-p1-2-attempt-identity
branch
from
August 19, 2026 23:16
0fafd4d to
d375be8
Compare
Signed-off-by: Chien-Chun Hung <[email protected]>
Signed-off-by: Chien-Chun Hung <[email protected]>
Signed-off-by: Chien-Chun Hung <[email protected]>
Signed-off-by: Chien-Chun Hung <[email protected]>
chienchunhung
force-pushed
the
codex/disagg-kv-ownership-p1-2-attempt-identity
branch
from
August 20, 2026 22:35
d375be8 to
deded6a
Compare
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.
Stack position
Phase1-PR2 of 5. Depends on #17720 (Phase1-PR1). This layer remains dormant.
The stack is linear on current
main@586d84cdc; because fork heads cannot be upstream PR bases, each PR targetsmain. Review onlyd371644d8...d375be8f2.Problem
PR1 tracks a local writer cohort, but terminal evidence still identifies only request, slice, and writer. Delayed or malformed evidence could be mistaken for the current receive allocation after local reuse, and peers have no explicit ownership-wire compatibility check before publication.
What this PR changes
owner_generationto receive requests and KV terminal results only when component ownership is enabled.RankInfo,RecvReqInfo, and terminal-result schemas when disabled.This generation is deliberately process-local. It is not Phase 2's immutable distributed attempt identity and does not make retry, replay, peer restart, or reroute safe.
Validation
Focused CPU coverage exercises legacy/v1 serialization and parsing; stale, future, zero, duplicate, contradictory, and out-of-cohort evidence; sticky receive faults; pre-publication mismatch; and legacy default-off compatibility.
Repeated TRT-LLM code-owner self-review is clean.
ruff, formatting, Python compilation, andgit diff --checkpass. Runtime pytest is unavailable locally; CI was not triggered for stack construction.Isolated change size
Deferred
Sender/source liveness is Phase1-PR3; timeout/ambiguity containment and executor/shutdown retirement are Phase1-PR4; activation/no-retry/topology qualification is Phase1-PR5. Distributed attempt identity, ACK/replay, retry, reroute, and peer incarnation remain Phase 2.