mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[GH-ISSUE #2898] [RFC]: Parallelize long-running Mooncake Store unit tests #755
Labels
No labels
ascend
auto-closed
bug
bug
CI/Build
Common
documentation
enhancement
feature request
good first issue
help wanted
high priority
MetaX
nightly-failure
pull-request
PyTorch Backend
question
RFC
Roadmap
stale
Store
Tests
Transfer Engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/Mooncake#755
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Aionw on GitHub (Jul 14, 2026).
Original GitHub issue: https://github.com/kvcache-ai/Mooncake/issues/2898
Status
Draft / implementation in review.
This RFC replaces the oversized prototype PR #2896 with six smaller draft PRs that have an explicit review and merge topology.
Motivation
Several Mooncake Store unit-test executables contain many semantically unrelated cases and run for a long time as one scheduling unit. Splitting those cases by behavior gives CTest more useful parallel work and makes failures easier to locate, but creating one executable per source file increases compile/link overhead.
The proposal therefore separates two concerns:
No hard-coded shard index or test-name routing table is introduced.
Invariants
PR topology
The five domain PRs are all based directly on the same
maincommit and can be reviewed in parallel. #2905 contains those five commits plus one final CMake-only commit; review that final commit after the domain PRs, then let its diff shrink as #2900–#2904 merge.Tracking
CMake design
add_store_test()remains the single registration primitive. The final PR addsadd_store_unity_test(), which delegates to it and enables CMakeUNITY_BUILDfor compatible semantic source groups.The result is:
Validation
Five independent branches:
Final integration branch:
main.ctest -j4in 204.53s.Acceptance criteria
Rollout
Superseded prototype
#2896 demonstrated the full approach but is too large to review effectively. It is superseded by this RFC and #2900–#2905.
@github-actions[bot] commented on GitHub (Jul 14, 2026):
Thanks for opening this issue, @Aionw!
41376987A maintainer will triage this when possible. To help us respond faster, please include:
Useful links: Documentation · Contributing guide
@github-actions[bot] commented on GitHub (Oct 13, 2026):
This issue has had no activity for 90 days and will be closed in 7 days if there is no further activity. Please comment or react if it should stay open.
@github-actions[bot] commented on GitHub (Oct 21, 2026):
Closing due to 3 months of inactivity. If this is still relevant, please comment and we can reopen.