mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[GH-ISSUE #3752] [CI/Build] Run mooncake-common etcd wrapper Go tests in CI #957
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#957
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 (Aug 28, 2026).
Original GitHub issue: https://github.com/kvcache-ai/Mooncake/issues/3752
Bug Report
Description
The Go etcd wrapper currently has no unit-test execution path in Mooncake's
build or CI configuration.
mooncake-common/etcd/CMakeLists.txtonly builds the shared library with:This does not compile or execute
*_test.gofiles. Existing workflows also donot run
go testinmooncake-common/etcd; the Store Go integration tests runin a different Go module.
Consequently, Go unit tests added for the etcd wrapper can silently remain
unexecuted while the normal build and CTest jobs pass.
Steps to reproduce
mooncake-common/etcd/*_test.go.STORE_USE_ETCD=ONbuild and CTest workflow.Expected behavior
Mooncake CI should run the etcd wrapper's Go unit tests and fail when one of
them fails to compile or execute.
A direct command would be:
This could be integrated into CTest or added as a dedicated CI step.
Acceptance criteria
*_test.gocauses the CI job to fail.the existing build/test tooling.
mooncake-common/ha-wrapper, equivalent test coverage is retained there.Related work
PR #2643 proposes moving the etcd wrapper into a unified Go HA wrapper. It is
related because the proposed CMake configuration also builds the Go shared
library without running its unit tests, but it does not currently address this
test coverage gap.
Before submitting
coverage work.
@github-actions[bot] commented on GitHub (Aug 28, 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
@migarci2 commented on GitHub (Aug 28, 2026):
I would like to take this. I will wire the etcd wrapper Go tests into the existing CTest path so they run locally and in the current etcd-enabled CI job.