test(tmachine): compose disjoint gateway overrides in the same TOML table
還沒有人認領這個 Issue。
評估
研究方向
Start with the tmachine gateway_overrides role and the installer code that merges named TOML fragments into the openshell.drivers.podman table, and find where the duplicate-table rejection happens. Read the CDI and userns=auto add-on fragments to see which keys each declares. Done when both add-ons can share one environment and the gateway starts with both settings, a conflicting key fails with a message naming the key and fragments, and existing precedence over installer defaults is unchanged.
由索引模型根據 Issue 內容生成。
描述
User Story
As an OpenShell E2E maintainer, I need to combine the Podman CDI and user-namespace add-ons in one test environment without discarding either add-on’s settings.
Description
OpenShell’s tmachine gateway_overrides role preserves both named blocks. With CDI and userns=auto, both blocks declare [openshell.drivers.podman]. The installer rejects the duplicate table before the gateway starts, even though one block sets allow_driver_config and the other sets userns.
Allow independently valid fragments to contribute disjoint keys to the same table. Reject conflicting keys with a diagnostic that names the key and the contributing fragments. Keep the existing precedence over installer defaults.
Context
Deferred from #5780. Part of #5281. Coordinate with #5489 so the follow-up does not duplicate gateway drop-in work. Current standalone E2E rows do not require this combination.
Definition of Done
- The Podman CDI and
userns=autoadd-ons can share an environment, and the gateway starts with both settings. - Two fragments claiming the same key fail clearly without modifying the base configuration.
- Existing standalone add-ons and installer-default precedence still work.
- 主要語言
- Rust
- 星號
- 21.5k
- 分支
- 2.1k
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
NVIDIA/OpenShell 的其他 Issue
-
state:triage-needed
難度 2/5 1-3 小時 新手友好度 86/100
-
state:triage-needed
難度 2/5 1-3 小時 新手友好度 78/100
-
bug: Ready=False/PodTerminating is treated as a terminal sandbox failure可能已有人在做 @TaylorMutch 於 9 天前認領。 未關閉state:accepted state:pr-opened
難度 2/5 1-3 小時 新手友好度 78/100
-
state:triage-needed
難度 1/5 1-3 小時 新手友好度 78/100
-
state:triage-needed
難度 2/5 1-3 小時 新手友好度 62/100
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 2 天內回覆
-
autofixer: follow-up
難度 2/5 1-3 小時 新手友好度 78/100
tursodatabase/turso#12531 ·
維護者通常 1 天內回覆
-
bug help wanted ui
難度 2/5 1-3 小時 新手友好度 82/100
userFRM/egui-charts#4292 ·
維護者通常 1 天內回覆
-
Issue-Bug Need-Review
難度 1/5 1-3 小時 新手友好度 85/100
PowerShell/DSC#1832 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 76/100
維護者通常 1 天內回覆