Skip to content

Decide: Should the three host bind mounts in catalog/snippets/devcontainer/{python,dotnet}/devcontainer.json (~/.ssh/id_ed25519.pub, ~/.config/git/allowed_signers, ~/.config/gh), where a missing source? #3754

Closed

Description

@ptr727

Split from #1763 by decision triage. Only this undecided item waits on the maintainer. The rest of #1763 stays there as ordinary work.

Decision needed (decision triage, 2026-11-01)

Question: Should the three host bind mounts in catalog/snippets/devcontainer/{python,dotnet}/devcontainer.json (~/.ssh/id_ed25519.pub, ~/.config/git/allowed_signers, ~/.config/gh), where a missing source stops the container starting, be dropped, made opt-in, or documented as host prerequisites? (The ${localEnv:HOME}${localEnv:USERPROFILE} join and mktemp -t items stay ordinary work.)

Options, recommended first:

  1. Document as host prerequisites (recommended): The mounts are what make in-container signing and gh auth work, and GOVERNANCE.md "Devcontainer" requires signed commits, so dropping them breaks the fleet's workflow. docs/devcontainer.md "Bind Mounts" tables the paths but is hub-only, so add a JSONC comment beside mounts in each snippet naming the three required host paths. No work in flight.
  2. Move them to an opt-in config: Containers start everywhere, but every fleet user must opt in to get signing, and the snippet surface doubles (a base plus an overlay per language). No work in flight.
  3. Drop them from the default snippet: Simplest, but signing in the container fails with "no allowed signers" or "unknown signer" (docs/ssh-signing.md:115-117) and gh is unauthenticated, trading a loud startup failure for a quiet commit-time one. No work in flight.

Evidence: Mounts at catalog/snippets/devcontainer/python/devcontainer.json:10-28 and the dotnet twin, reference copies not in spec/files.json, unchanged since a9457fa (#758). docs/devcontainer.md:26-36 documents them as mechanics, not prerequisites. docs/ssh-signing.md:88 declares native Windows unsupported.

Blocks: none

Activity

  1. added
    decision
    on Nov 1, 2026
  2. ptr727 commented on Nov 1, 2026

    @ptr727
    OwnerAuthor

    Maintainer answer (decision triage, 2026-11-01): Option 1: document the three host bind mounts as prerequisites, with a JSONC comment beside mounts in each devcontainer snippet naming the required host paths.

    The answer is carried to #1763, where the work lives. Closing this decision issue, since it held only the question.

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

    decision

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions