PRD 0046: Remove ExtraHosts from git remotes manifest schema #152

Closed
opened 2026-06-02 14:09:47 -04:00 by didericis-codex · 1 comment
Collaborator

Problem

git.remotes.*.ExtraHosts gives the git remote declaration a hosts-file override that can affect resolution outside the intended git-gate use case. That creates surprising behavior for HTTP/API paths that should continue to use normal egress DNS and policy.

Requested Change

Remove ExtraHosts from the git.remotes manifest schema and the git-gate provisioning path. Keep git.remotes focused on the upstream repository declaration and credential/trust material that git-gate actually needs.

Acceptance Criteria

  • Manifest parsing rejects git.remotes.*.ExtraHosts with a clear error.
  • Git-gate prepare/compose/launch no longer emits Docker extra_hosts from git remote declarations.
  • Existing tests that cover ExtraHosts are removed or rewritten to assert rejection.
  • Documentation and examples no longer advertise ExtraHosts.
  • Egress DNS/HTTP behavior is unchanged.
## Problem `git.remotes.*.ExtraHosts` gives the git remote declaration a hosts-file override that can affect resolution outside the intended git-gate use case. That creates surprising behavior for HTTP/API paths that should continue to use normal egress DNS and policy. ## Requested Change Remove `ExtraHosts` from the `git.remotes` manifest schema and the git-gate provisioning path. Keep `git.remotes` focused on the upstream repository declaration and credential/trust material that git-gate actually needs. ## Acceptance Criteria - Manifest parsing rejects `git.remotes.*.ExtraHosts` with a clear error. - Git-gate prepare/compose/launch no longer emits Docker `extra_hosts` from git remote declarations. - Existing tests that cover `ExtraHosts` are removed or rewritten to assert rejection. - Documentation and examples no longer advertise `ExtraHosts`. - Egress DNS/HTTP behavior is unchanged.
Owner

No need to remember that extra hosts used to be in the manifest or add specific errors for it/just nix all the extrahosts stuff

No need to remember that extra hosts used to be in the manifest or add specific errors for it/just nix all the extrahosts stuff
didericis added the Compat/BreakingKind/BugKind/Documentation labels 2026-06-02 14:13:52 -04:00
didericis-codex changed title from Remove ExtraHosts from git remotes manifest schema to PRD 0046: Remove ExtraHosts from git remotes manifest schema 2026-06-02 14:33:36 -04:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: didericis/bot-bottle#152