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

Đang mở
#5,950 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust, shell
Lĩnh vực
devtools

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Rust
Star
21.5k
Fork
2.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của NVIDIA/OpenShell

Tất cả issue của NVIDIA/OpenShell

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.