test(tmachine): compose disjoint gateway overrides in the same TOML table

オープン
#5,950 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust, shell
領域
devtools

調査の方向性

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=auto add-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 はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NVIDIA/OpenShell のほかの issue

NVIDIA/OpenShell の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。