mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #1232] [MERGED] Fix compilation warnings for missing field initializers #2090
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#2090
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?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/Mooncake/pull/1232
Author: @Copilot
Created: 12/18/2025
Status: ✅ Merged
Merged: 12/18/2025
Merged by: @stmatengss
Base:
main← Head:copilot/fix-compilation-warnings📝 Commits (8)
2680e1cInitial plan70d942dFix compilation warnings for visibility and missing initializers9ba33dbComplete fix for compilation warningsa36062cRemove build artifacts and update .gitignore250290bUse pragma GCC diagnostic to suppress visibility warnings instead of attributese3bb5a8Narrow scope of pragma diagnostic directives for lambda23c0269fixd340010Revert all changes in mooncake-transfer-engine directory📊 Changes
3 files changed (+6 additions, -3 deletions)
View changed files
📝
.gitignore(+3 -0)📝
mooncake-store/src/storage_backend.cpp(+2 -2)📝
mooncake-store/tests/pybind_client_test.cpp(+1 -1)📄 Description
Description
Resolves compilation warnings from
-Wmissing-field-initializersin mooncake-store.Missing field initializers
StorageObjectMetadataaggregate initialization omitted thetransport_endpointfield:transport_endpointinBatchOffloadandScanMetamethods instorage_backend.cppExample fix:
Note: Visibility attribute warnings in mooncake-transfer-engine remain unaddressed. All changes to that module have been reverted per maintainer request.
Type of Change
How Has This Been Tested?
Code review and security scan completed successfully. No behavior changes—only proper struct initialization to fix missing field initializer warnings.
Checklist
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.