Skip to content

[Conductor] Add KV event decoders and object key parsers - #4123

Merged
Chase-Rong merged 1 commit into
kvcache-ai:mainfrom
yejj710:main
Sep 16, 2026
Merged

Chase-Rong merged 1 commit into
kvcache-ai:mainfrom
yejj710:main

Conversation

@yejj710

@yejj710 yejj710 commented Sep 15, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Adds the protocol parsing foundation for Conductor KV events:

  • Defines typed event and batch models for vLLM, Mooncake, and SGLang publishers.
  • Implements strict MessagePack envelope and event decoding, including event-local error isolation.
  • Supports compatibility fields and SGLang/Mooncake protocol differentiation.
  • Adds object-key parsers for SGLang, vLLM, and vLLM-Ascend key layouts, including projected hash extraction.
  • Adds portable msgpack-cxx CMake dependency discovery.
  • Adds decoder and object-key parser unit-test coverage.

This PR contains parsing functionality only. ZMQ transport, replay, and reconnect handling are left to the dependent follow-up PR.

Module

  • Transfer Engine (mooncake-transfer-engine)
  • Mooncake Store (mooncake-store)
  • Mooncake Conductor (mooncake-conductor)
  • Reshard (mooncake-reshard)
  • Mooncake EP (mooncake-ep)
  • Mooncake PG (mooncake-pg)
  • Integration (mooncake-integration)
  • P2P Store (mooncake-p2p-store)
  • Python Wheel (mooncake-wheel)
  • Common (mooncake-common)
  • Mooncake RL (mooncake-rl)
  • CI/CD
  • Docs
  • Other

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Breaking change
  • Documentation update
  • Performance improvement
  • Other

How Has This Been Tested?

Unit tests were added for protocol decoding, malformed envelopes and events, compatibility fields, hash handling, and supported object-key layouts. The unit tests were not executed locally.

Test results:

  • Unit tests pass
  • Integration tests pass (if applicable)
  • Manual testing done (describe below)

Checklist

  • I have performed a self-review of my own code
  • I have formatted my code using ./scripts/code_format.sh
  • I have run pre-commit on the files changed in this PR and all hooks pass
  • I have updated the documentation (if applicable)
  • I have added tests to prove my changes are effective
  • For changes >500 LOC: I have filed an RFC issue

AI Assistance Disclosure

  • No AI tools were used
  • AI tools were used (specify below)

Codex was used to inspect change dependencies, split the staged changes into commits, verify aggregate tree equivalence.

@yejj710
yejj710 requested a review from Chase-Rong September 15, 2026 03:04
@github-actions github-actions Bot added run-ci Mooncake Conductor Changes related to mooncake-conductor labels Sep 15, 2026
Co-authored-by: Misak2333 <jzxscp173@163.com>
Co-authored-by: Chase-Rong <lolopop.rong@gmail.com>
Co-authored-by: Asher-XunZhang <asherxunzhang@gmail.com>
@yejj710 yejj710 changed the title [Conductor] Add KV event protocol parsers [Conductor] Add KV event decoders and object key parsers Sep 15, 2026
@Chase-Rong
Chase-Rong merged commit 2459448 into kvcache-ai:main Sep 16, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Mooncake Conductor Changes related to mooncake-conductor run-ci

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants