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

Abierto
#5,950 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust, shell
Área
devtools

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
Rust
Estrellas
21.5k
Forks
2.1k
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de NVIDIA/OpenShell

Todos los issues de NVIDIA/OpenShell

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.