Skip to content

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

Backlog

Description

@matthewgrossman

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions