Skip to content

ddev: serve Mailpit on a worktree's variant hostnames - #18

Merged
oxyc merged 1 commit into
masterfrom
foreman/hostshift-request-a46078
Dec 3, 2026
Merged

oxyc merged 1 commit into
masterfrom
foreman/hostshift-request-a46078

Conversation

@genero-foreman-worker

@genero-foreman-worker genero-foreman-worker Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor
  • <variant>:8026 answered 404: variants route to the hostshift service on 80/443 only.
  • ddev hostshift init now writes .ddev/traefik/config/hostshift-mailpit.yaml, which DDEV merges into the project's router config: both Mailpit ports go to web's Mailpit, Host unchanged. Removing the add-on deletes it.
  • Decision: the file is not marked #ddev-generated, because DDEV 1.25.6 deletes marked files there that no add-on installed. The existing .ddev/**/*hostshift* exclude hides it.
  • No core, image or release change. A project updates the add-on and runs ddev hostshift init.
  • Tested: make test passes (sandbox proxy variables unset). test/integration-ddev.sh was not run locally (no DDEV).
  • Review: wait for CI's integration job, mailpit routes on the variant (https and http), before merging. It is the only check behind a real router.
  • Replaces ddev: serve Mailpit on a worktree's variant hostnames #17. The blocked live-domain request in https://github.com/generoi/kokkikartano.fi/pull/224 is not fixed by this.

🤖 Generated with Claude Code

Test data: none: no DDEV project for this worker (This repo has no DDEV setup. Skip anything that needs a running site, and say so in the report.)

init writes a project Traefik config that routes the variants' Mailpit ports to web's Mailpit.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

@genero-foreman-worker genero-foreman-worker Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Red: reviewed 3a7fd86, no changes needed: I checked the diff against the brief. It touches only the add-on script, install.yaml, the README and the two test scripts: no Go, image or release change, and nothing in the core knows about DDEV or Mailpit. CI on #18 is green, and in integration job https:…

@genero-foreman-worker
genero-foreman-worker Bot marked this pull request as ready for review December 3, 2026 00:39
@oxyc
oxyc merged commit f9117ac into master Dec 3, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants