operator-drive-adapter never starts: Runtime sends allowed_paths, the adapter accepts only base_path
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
Read the startup caller in elastos/crates/elastos-server/src/server_infra.rs, the BridgeProviderConfig serialization in elastos/crates/elastos-runtime/src/provider/bridge.rs, and the strict parser in capsules/operator-drive-adapter/src/main.rs. Reproduce the refusal with the current wire request, then trace how the other providers preserve path rules. Done means a regression starts the adapter through the Runtime bridge, succeeds at Init, and serves an allowed operation.
由索引模型根據 Issue 內容生成。
描述
Every Home start logs Failed to spawn operator-drive-adapter: provider init failed: invalid_request: unknown field 'allowed_paths', expected 'base_path' or 'extra'.
The Runtime's operator drive startup uses the shared BridgeProviderConfig. ProviderBridge serializes this struct into the Init request, including the default empty allowed_paths, read_only, and encryption_key fields. The adapter accepts only base_path and extra and rejects unknown fields. Main observed the refusal after binary verification on the packaged Jetson trial. Root checked the same caller, wire fields and strict parser in v2.0.0 and 30b166b05. Startup caller · Bridge config · Adapter parser
Pre-existing: the same code is in 2.0.0 (v2.0.0) and unchanged in 2.0.1-rc.1 (30b166b05); seen on the rc.1 Jetson test Home (7 Nov). Not a 2.0.1 regression.
Main owns the fix when this issue reaches the implementation lane. Align the operator drive Init request with the adapter's config. Keep strict decoding and preserve the path rules of the other providers. Add a regression that starts the adapter through the real Runtime bridge and verifies Init succeeds, then proves that the adapter can serve an allowed operation. The current wire request should reproduce the startup refusal in that regression.
- 主要語言
- Rust
- 星號
- 6
- 分支
- 2
- 平均合併
- 1 天 3 小時
- 30 天內合併 PR
- 42
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
elastos/elastos-runtime 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
elastos/elastos-runtime#563 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
elastos/elastos-runtime#508 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
elastos/elastos-runtime#436 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
elastos/elastos-runtime#427 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
elastos/elastos-runtime#405 ·
維護者通常 1 天內回覆
查看 elastos/elastos-runtime 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 73/100
quarto-dev/q2#1155 ·
維護者通常 1 天內回覆
-
backlog priority: low ui
難度 2/5 1-3 小時 新手友好度 65/100
storytold/vectorcraft#6445 · 1 則留言 ·
維護者通常 1 天內回覆
-
area: cli kind:docs priority: P3
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
tursodatabase/libsql#2312 ·
維護者通常 11 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
paritytech/trie#251 ·
維護者通常 1 天內回覆