test(e2e): verify runtime config injection for clientless Mooncake pods #6286
All Vouch review confidence checks passed
Residual risk 0.34 = Change Risk (0.60) × (1 − Review Confidence (0.44)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.60 · 236 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.327
Sensitive Paths
sensitive_paths
0.060
Real PR Conversation Timeline
1 comments
"Review active on #6286"
general
weight: 0.35
cheyang
Ⅰ. Describe what this PR does
Mooncake 应用通过 SDK 直连 master。现有读写 Job 的 Pod 模板增加了
clientless.fluid.io/inject: "true"标签和fluid.io/datasets: mooncake-demo注解。容器启动时加载FLUID_RUNTIME_CONFIG_PATH_MOONCAKE_DEMO指向的runtime.sh,通过${MASTER_NAME}-0.${MASTER_SERVICE_NAME}定位 master,完成原有的 4 MiB 写入和读回校验。Worker 也改为直接加载
runtime.json同目录的runtime.sh,从中读取服务名和存储配额。测试镜像因此移除了jq。Ⅱ. Does this pull request fix one issue?
Fixes #6251
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
rw容器是否将 ConfigMapfluid-runtime-config-mooncake-demo只读挂载到/etc/fluid/config/mooncake-demo,并验证FLUID_RUNTIME_CONFIG_PATH_MOONCAKE_DEMO指向挂载目录内的runtime.sh。kubectl run --dry-run=server提交引用不存在数据集mooncake-missing的 Pod。用例要求clientless.fluid.iowebhook 拒绝请求,且错误信息中包含"mooncake-missing" not found。Ⅳ. Describe how to verify it
在已启用 CacheRuntime 并部署 #6197 webhook 的 kind 集群上,从仓库根目录构建镜像并运行 Mooncake 用例。以下命令使用 CI 的集群名
fluid-cluster,运行前请确认 kubectl 当前上下文指向该集群。ca72c8ae搭配 #6197 的9c8d0e9f在 kind / Kubernetes v1.33.2 上跑通了完整 Mooncake E2E。4 MiB 数据写入和读回的 MD5 一致,Dataset 报告cached=4.00MiB、fileNum=1。74d77d9b调整了 worker 的配置路径校验。入口脚本用例确认变量未设置或为空时立即退出,路径含空格时能正常加载。基于该提交重建镜像并部署 #6197 的9c8d0e9fwebhook 后,完整 Mooncake E2E 在 kind / Kubernetes v1.33.2 上再次通过。Ⅴ. Special notes for reviews
此用例依赖 #6197 提供的注入标签和 webhook,请在 #6197 合入后合入本 PR。
本次 CI 的五个 Kubernetes 版本 都停在缺失数据集的拒绝断言。当前 master 的 Helm chart 尚未注册
clientless.fluid.iowebhook,因此 API Server 放行了这次 server-side dry-run。