Skip to content

fix: resolve symlinked SSH agent sockets for ssh_agent_upstream, fixes #8961 - #8963

Merged
rfay merged 6 commits into
ddev:mainfrom
rfay:20261017_rfay_ssh_agent_symlink
Oct 21, 2026
Merged

rfay merged 6 commits into
ddev:mainfrom
rfay:20261017_rfay_ssh_agent_symlink

Conversation

@rfay

@rfay rfay commented Oct 17, 2026

Copy link
Copy Markdown
Member

Short Summary (TL;DR)

ssh_agent_upstream now follows a symlinked agent socket, such as VS Code Remote's /tmp/vscode-ssh-auth-sock-*, so containers can reach the agent, and ddev auth ssh explains a dead socket in one message.

The Issue

DDEV mounted the directory that held the socket path it was given. When that path is a symlink, the container gets the symlink but not its target, so the relay can't reach the agent even though the host-side check passes. The ~/.ssh/rc stable-symlink recipe also ended up mounting all of ~/.ssh.

How This PR Solves The Issue

  • SSHAgentUpstreamSocket() resolves symlinks for host on Linux and for explicit paths, so DDEV mounts the real socket's directory. The container label stores the resolved path, so a VS Code reconnect recreates ddev-ssh-agent. The provider sockets used by Docker Desktop, OrbStack, Colima, and Lima are unchanged.
  • A symlink whose target is gone returns ErrSSHAgentSocketStale, with a message saying this happens after VS Code or SSH reconnects, instead of the raw connect error.
  • ddev auth ssh fails with a single message when the upstream is stale or not listening, before it recreates the container. ddev start still only warns.

Manual Testing Instructions

On a Linux machine reached through VS Code Remote-SSH or Coder's VS Code extension, with agent forwarding (for example 1Password) working in the VS Code terminal:

ddev utility download-ddev --pr 8963
export PATH="$HOME/tmp/ddev-download-ddev/pr-8963:$PATH"
ls -l $SSH_AUTH_SOCK     # /tmp/vscode-ssh-auth-sock-NNN -> /tmp/auth-agentNNN/listener.sock
ddev config global --ssh-agent-upstream=host
ddev auth ssh
# Expect "Containers use the SSH agent at /tmp/auth-agentNNN/listener.sock" and your keys
SSH_AUTH_SOCK=/tmp/vscode-ssh-auth-sock-OLD ddev auth ssh   # a symlink left from an earlier connection
# Expect one error saying it points to an agent socket that no longer exists

See the Linux tip in https://ddev--8963.org.readthedocs.build/en/8963/users/usage/cli/#using-an-existing-ssh-agent

Automated Testing Overview

  • TestSSHAgentUpstreamSocketPaths checks that a symlink resolves to the target socket and its directory mount, and that a dangling symlink returns ErrSSHAgentSocketStale.
  • TestSSHAgentUpstream now points SSH_AUTH_SOCK at a symlink in another directory and checks that the container lists the keys.
  • TestCmdAuthSSHUpstream checks ddev auth ssh through a symlink, with a stopped agent, and with a dangling symlink.

🤖 Developed with assistance from Claude Code

Co-Authored-By: Claude Opus 5.5 [email protected]

@rfay
rfay requested review from a team as code owners October 17, 2026 16:41
@github-actions

github-actions Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Download this PR's build for your OS and architecture with:

ddev utility download-ddev --pr 8963

Or download the artifact for your OS and architecture directly:

See Testing a PR.

Open in GitHub Codespaces

@stasadev stasadev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks, the symlink resolution and the label change look right to me. One small thing, not a blocker:

ddev auth ssh can now fail on Linux with Docker Desktop, Colima, or Lima. With ssh_agent_upstream=host, those providers return a socket inside their VM (/run/host-services/ssh-auth.sock, or Lima's forwarded socket). CheckSSHAgentUpstreamListening() only skips the check when the OS isn't Linux, so on Linux it dials that path on the host, gets connect: no such file or directory, and ddev auth ssh now stops there. Before this PR it was only a warning. Docker Desktop for Linux isn't officially supported and Colima/Lima on Linux are rare, so this is minor.

Skipping provider sockets based on the socket instead of the OS fixes it, and also removes the same false warning from ddev start:

if globalconfig.DdevGlobalConfig.SSHAgentUpstream == "host" &&
	(upstream == hostServicesSSHAuthSock || dockerutil.IsLima()) {
	return nil
}

On macOS, host always returns a provider socket or an error, so this covers the old !nodeps.IsLinux() case too.

Smaller notes, take or leave:

  • A dangling symlink set as an explicit ssh_agent_upstream (for example to ~/.1password/agent.sock while 1Password isn't running) gets the "after VS Code or SSH reconnects" message. If the target's directory still exists, the agent is more likely just not started yet.
  • resolveSSHAgentSocket() treats any EvalSymlinks error on a symlink as stale. Checking errors.Is(err, fs.ErrNotExist) would keep a permission error from showing up as "no longer exists".

Claude Code ran TestSSHAgentUpstreamSocketPaths, TestCheckSSHAgentUpstreamListening, and TestSSHAgentUpstreamMount on this branch, and they pass. It didn't run the Docker integration tests.

🤖 Developed with assistance from Claude Code

@rfay
rfay force-pushed the 20261017_rfay_ssh_agent_symlink branch from af9a2cc to 9b753cf Compare October 19, 2026 23:11
@rfay

rfay commented Oct 20, 2026

Copy link
Copy Markdown
Member Author

I tested this PR with Docker Desktop for Linux (4.96.0, Ubuntu 26.04 on an amd64 EC2 instance) and with docker-ce on Ubuntu 26.04 arm64, using the branch including "fix: stop ddev auth ssh from hanging when the upstream agent never answers".

Docker Desktop for Linux, ssh_agent_upstream=host, agent forwarded with ssh -A from a Mac running 1Password:

  • After systemctl --user import-environment SSH_AUTH_SOCK && systemctl --user restart docker-desktop from the ssh -A session, ddev auth ssh lists the 1Password keys through /run/host-services/ssh-auth.sock, and ddev exec ssh -T [email protected] authenticates, so signing works from the web container.
  • Before this PR, ddev auth ssh stopped with connect: no such file or directory, because it dialed the VM-side socket on the host. Skipping that check for the provider socket fixes it.
  • When Docker Desktop holds a dead agent socket, ddev auth ssh now prints a waiting notice after 5 seconds and fails after 2 minutes with the systemctl --user command above, instead of hanging forever.

docker-ce on Linux:

  • TestSSHAgentUpstream, TestSSHAgentUpstreamSocketPaths, TestCheckSSHAgentUpstreamListening, TestCmdAuthSSHUpstream, and TestCmdAuthSSHStdin pass.
  • With SSH_AUTH_SOCK set to a VS Code-style symlink to a forwarded 1Password agent, ddev auth ssh relays to the real socket, lists the keys, and ssh -T [email protected] from ddev-ssh-agent authenticates.
  • A symlink into a directory that no longer exists reports "an agent socket that no longer exists … open a new terminal", and a symlink whose directory still exists reports "No SSH agent is listening", since that agent may just not have started.
Problems with Docker Desktop for Linux found along the way (not caused by DDEV)
  • It isn't headless. It's a GUI app that needs a desktop session, and Docker doesn't support it in nested virtualization or on arm64, so a CI runner or a VM on a Mac can't run it.
  • It keeps the SSH_AUTH_SOCK it started with. It runs as a systemd user service, so it uses whatever SSH_AUTH_SOCK was in the systemd user environment at startup, not the current shell's. Each ssh -A login gets a new socket, so after logging in again the forwarded agent stops working until Docker Desktop is restarted from the new session. See docker/desktop-linux#225, and docker/for-mac#7204 for the same behavior on macOS.
  • Its agent forwarder hangs instead of failing. When the agent it captured is gone, a connection to /run/host-services/ssh-auth.sock stays open with no answer, so ssh-add -l in a container hangs, where the same command against the dead socket on the host fails immediately. I found no existing report of this. It's why ddev auth ssh now has a timeout.
  • Container starts sometimes deadlock. Three times during testing, every docker run/docker start hung with the container stuck in Created, while docker ps and docker exec still worked, and the project's site stopped answering. Twice the first start to hang was the helper container ddev poweroff runs. A goroutine dump from com.docker.diagnose gather shows the backend's file sharing stuck in recomputeWatches → watch.Invalidate, waiting on a gRPC call into the VM that has no timeout, with every VolumeShare.Add, and so every container start, queued behind it. That's the same stack as docker/desktop-feedback#706. Only restarting Docker Desktop recovers it, and I couldn't reproduce it on demand with scripted file changes, project starts and stops, or traffic during ddev poweroff.

For DDEV users on Linux, docker-ce remains the better choice.

🤖 Developed with assistance from Claude Code

@rfay

rfay commented Oct 20, 2026 •

Copy link
Copy Markdown
Member Author

I also tested this PR with Colima on Linux (Colima with Lima 2.2.1 and QEMU/KVM, Ubuntu 26.04 amd64 on EC2), using ssh_agent_upstream=host and a 1Password agent forwarded with ssh -A from a Mac.

  • After colima stop && colima start from the ssh -A login, with forwardAgent: true, Colima links /run/host-services/ssh-auth.sock in the VM to the forwarded agent.
  • ddev auth ssh lists the 1Password keys. Before this PR it stopped at connect: no such file or directory, because it dialed the VM-side socket on the host.
  • ddev exec ssh -T [email protected] authenticates, so signing works from the web container.
  • After that login ends, ddev auth ssh fails right away with "communication with agent failed" and the Colima hint to restart it with --ssh-agent, rather than hanging the way Docker Desktop does.
Colima on Linux problems found along the way (not caused by DDEV)
  • Without KVM, as in an arm64 Parallels VM, Colima falls back to software emulation and is too slow to use.
  • On that arm64 VM, colima start --ssh-agent failed partway, because its script tried to link /run/host-services/ssh-auth.sock before /run/host-services existed. It worked on the EC2 machine.
  • On EC2, QEMU once aborted with net_fill_rstate: Assertion 'size == 0' failed. Lima's host agent stayed alive holding Docker's socket, so docker ps and ddev start hung, and colima list showed the profile as Broken. Four limactl usernet daemons had built up from earlier starts. After killing them and running colima stop --force && colima start, only one ran and the problem didn't recur.

As with Docker Desktop, docker-ce is the better choice on Linux.

Colima on Linux: the router's ports 80 and 443 don't reach the host

ddev start succeeds, but https://<project>.ddev.site doesn't answer, even though ddev exec curl localhost works and the router is healthy.

  • The router binds 80 and 443 as root inside Colima's VM, so the container starts fine. Lima's host agent then forwards each published port to the host with ssh -L, running as the user.
  • Linux allows that only for ports at or above net.ipv4.ip_unprivileged_port_start, which defaults to 1024. Lima logs failed to set up forwarding tcp port 443 (negligible if already forwarded) in ~/.config/colima/_lima/colima/ha.stderr.log and carries on, so neither Colima nor DDEV reports anything. Higher ports, like Mailpit's 8025 or the web container's direct port, are forwarded normally.
  • Colima and Lima don't document this.

Either fix works:

# Let unprivileged users bind from port 80 up (needs sudo), then let Lima retry the forwards
echo 'net.ipv4.ip_unprivileged_port_start=80' | sudo tee /etc/sysctl.d/99-lima-ports.conf
sudo sysctl --system
colima stop && colima start

# Or move DDEV's router to high ports (URLs become https://<project>.ddev.site:8443)
ddev config global --router-http-port=8080 --router-https-port=8443
ddev restart

Rootless Docker and Podman hit the same limit, but there the container start fails with an error, and DDEV's install docs set the sysctl.

🤖 Developed with assistance from Claude Code

@rfay

rfay commented Oct 20, 2026

Copy link
Copy Markdown
Member Author

I also tested this PR with Lima on Linux (Lima 2.2.1, QEMU 11.1.2 with KVM, Ubuntu 26.04 amd64 on EC2), using ssh_agent_upstream=host and a 1Password agent forwarded with ssh -A from a Mac.

  • With limactl create --name=default --mount-writable --memory=6 --set '.ssh.forwardAgent=true' template:docker-rootful, started from the ssh -A login, DDEV finds the VM's forwarded socket with limactl shell default printenv SSH_AUTH_SOCK.
  • ddev auth ssh lists the 1Password keys, and ddev exec ssh -T [email protected] authenticates, so signing works from the web container.
  • ddev start succeeds, including a composer install post-start hook, and the router answers once ports 80 and 443 can be forwarded (see below).
Lima on Linux: templates and mount types

The macOS recipe in our docs uses template:docker, which is rootless Docker. On Linux, with Lima's default 9p mount, that breaks DDEV: the web container sees the project as owned by 0:65534 and can't write to it, so ddev start fails in composer install with Permission denied. Rootless Docker maps the VM user's uid to root inside containers, and 9p lets the VM kernel enforce the host's ownership. On macOS, Apple's virtiofs does file I/O as the Mac user, which is presumably why the same template works there.

Results with a Drupal 11 project, timing find vendor -type f (13,615 files) from the web container:

Template Mount ddev start Container write find vendor
docker-rootful 9p (default) ok ok 4.1s
docker (rootless) 9p (default) fails denied 4.0s
docker-rootful reverse-sshfs ok ok 3.5s
docker (rootless) reverse-sshfs ok ok 3.3s
docker-rootful virtiofs ok ok 1.2s
docker (rootless) virtiofs VM hung n/a n/a

--mount-type=virtiofs needs virtiofsd on the host, and QEMU then keeps all VM memory in /dev/shm. The rootless virtiofs VM stopped responding during ddev start; I didn't find out why.

So on Linux, use template:docker-rootful, with --mount-type=virtiofs if virtiofsd is installed.

Lima on Linux: the router's ports 80 and 443

As with Colima, Lima forwards published ports to the host with ssh -L as the user, so ports below net.ipv4.ip_unprivileged_port_start (1024 by default) fail quietly. Set net.ipv4.ip_unprivileged_port_start=80 in /etc/sysctl.d/ and restart the instance, or move DDEV's router to high ports with ddev config global --router-http-port=8080 --router-https-port=8443.

🤖 Developed with assistance from Claude Code

@rfay

rfay commented Oct 20, 2026

Copy link
Copy Markdown
Member Author

The findings from testing this PR on Docker Desktop for Linux, Colima, and Lima are collected, with more detail and the test scripts, in rfay/docker-provider-notes. It's meant to outlive this PR: setup recipes, SSH agent behavior for each provider, and failure modes such as the Docker Desktop deadlock, for setups too obscure for the DDEV docs.

🤖 Developed with assistance from Claude Code

@stasadev
stasadev self-requested a review October 20, 2026 21:11
rfay added a commit that referenced this pull request Oct 21, 2026
## Short Summary (TL;DR)

After the router starts and is healthy, `ddev start` now checks that the router's published ports answer on the host, and warns when one refuses connections, so a provider that quietly fails to forward a port no longer looks like a successful start.

## The Issue

While testing #8963 with Colima and Lima on Linux, `ddev start` succeeded and the router was healthy, but the project URL didn't answer. Lima forwards published ports to the host with `ssh -L` as the user, and Linux doesn't let users bind ports below `net.ipv4.ip_unprivileged_port_start` (1024 by default), so ports 80 and 443 failed. Lima logged it as "negligible", and nothing told the user. DDEV checks before starting that the ports are free, and the router's health check runs inside the container, so nothing checked that the ports answer on the host.

## How This PR Solves The Issue

- `netutil.IsPortRefused()` reports whether a connection to a port on a loopback Docker IP is actively refused. Timeouts, non-loopback Docker hosts, and other errors count as "not refused", so remote Docker, WSL2 mirrored-mode timeouts, and security software that accepts every connection can't cause a false warning.
- After a freshly started router becomes healthy, `warnUnreachableRouterPorts()` dials each published host port, retrying for up to 5 seconds because Lima sets up forwards shortly after the container starts. It warns, rather than failing, since the router itself is fine.
- A new troubleshooting section, "Router Ports Not Reachable", covers the warning and the Lima and Colima fix.

This is a general check, not one aimed at Lima: any provider whose port forwarding fails after the container starts now gets reported.

## Manual Testing Instructions

On Linux with Lima or Colima (with KVM), a router port below `net.ipv4.ip_unprivileged_port_start` reproduces it:

```bash
ddev utility download-ddev --pr 8990
export PATH="$HOME/tmp/ddev-download-ddev/pr-8990:$PATH"
sysctl net.ipv4.ip_unprivileged_port_start     # 1024 by default
ddev config global --router-http-port=79 --router-https-port=442
ddev start
# Expect: "ddev-router is running, but nothing answers on host port(s) 79, 442 ..."
ddev poweroff
ddev config global --router-http-port=80 --router-https-port=443
```

On any supported provider, `ddev start` should show no new warning. See https://ddev--8990.org.readthedocs.build/en/8990/users/usage/troubleshooting/#router-ports-not-reachable

## Automated Testing Overview

`TestIsPortRefused` checks a listening port and the same port after it closes. The check runs on every router start in the existing integration tests, so a false warning on any CI provider would show up in their output.

🤖 Developed with assistance from [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
rfay and others added 6 commits October 20, 2026 21:19
…ddev#8961

## Short Summary (TL;DR)

`ssh_agent_upstream` now follows a symlinked agent socket, such as VS Code Remote's `/tmp/vscode-ssh-auth-sock-*`, so containers can reach the agent, and `ddev auth ssh` explains a dead socket in one message.

## The Issue

- Fixes ddev#8961

DDEV mounted the directory that held the socket path it was given. When that path is a symlink, the container gets the symlink but not its target, so the relay can't reach the agent even though the host-side check passes. The `~/.ssh/rc` stable-symlink recipe also ended up mounting all of `~/.ssh`.

## How This PR Solves The Issue

- `SSHAgentUpstreamSocket()` resolves symlinks for `host` on Linux and for explicit paths, so DDEV mounts the real socket's directory. The container label stores the resolved path, so a VS Code reconnect recreates `ddev-ssh-agent`. The provider sockets used by Docker Desktop, OrbStack, Colima, and Lima are unchanged.
- A symlink whose target is gone returns `ErrSSHAgentSocketStale`, with a message saying this happens after VS Code or SSH reconnects, instead of the raw `connect` error.
- `ddev auth ssh` fails with a single message when the upstream is stale or not listening, before it recreates the container. `ddev start` still only warns.

## Manual Testing Instructions

On a Linux machine reached through VS Code Remote-SSH or Coder's VS Code extension, with agent forwarding (for example 1Password) working in the VS Code terminal:

```bash
ddev utility download-ddev --pr 8963
export PATH="$HOME/tmp/ddev-download-ddev/pr-8963:$PATH"
ls -l $SSH_AUTH_SOCK     # /tmp/vscode-ssh-auth-sock-NNN -> /tmp/auth-agentNNN/listener.sock
ddev config global --ssh-agent-upstream=host
ddev auth ssh
# Expect "Containers use the SSH agent at /tmp/auth-agentNNN/listener.sock" and your keys
SSH_AUTH_SOCK=/tmp/vscode-ssh-auth-sock-OLD ddev auth ssh   # a symlink left from an earlier connection
# Expect one error saying it points to an agent socket that no longer exists
```

See the Linux tip in https://ddev--8963.org.readthedocs.build/en/8963/users/usage/cli/#using-an-existing-ssh-agent

## Automated Testing Overview

- `TestSSHAgentUpstreamSocketPaths` checks that a symlink resolves to the target socket and its directory mount, and that a dangling symlink returns `ErrSSHAgentSocketStale`.
- `TestSSHAgentUpstream` now points `SSH_AUTH_SOCK` at a symlink in another directory and checks that the container lists the keys.
- `TestCmdAuthSSHUpstream` checks `ddev auth ssh` through a symlink, with a stopped agent, and with a dangling symlink.

🤖 Developed with assistance from [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…et-started agent's symlink

With ssh_agent_upstream=host on Linux, Docker Desktop, Colima, and Lima return a socket inside their VM, which the host can't dial, so `ddev auth ssh` failed there. The check is now skipped based on the socket rather than the OS, which matches the old behavior on macOS.

A dangling symlink whose target directory still exists, such as 1Password's socket before the app starts, now relays to the target instead of reporting a stale socket, and only a missing target counts as stale rather than any resolution error.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…sh` can't list keys [skip buildkite]

Without --ssh-agent, Colima forwards no agent, and Docker creates /run/host-services/ssh-auth.sock as an empty directory, so the existing "make sure that agent is running" advice pointed at the wrong thing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…he socket's directory remains

Removing only the socket leaves its directory, which now means an agent that hasn't started, so the stale case points the symlink into a missing directory instead.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…answers

Docker Desktop relays the SSH_AUTH_SOCK it captured at startup, and when that agent is gone its forwarder holds the connection open rather than failing, so `ddev auth ssh` waited forever. Listing keys now gives up after two minutes, long enough to unlock 1Password, prints a notice after five seconds, and on Docker Desktop says how to restart it with the current agent.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ktop

Docker Desktop relays the SSH_AUTH_SOCK it started with, so a forwarded agent's per-login socket never reaches it. Starting Docker Desktop once on a fixed path that ~/.ssh/rc repoints at each login works without restarts, tested on Docker Desktop for Linux and macOS. The macOS timeout hint now suggests `docker desktop restart`, because quitting the app with osascript left the backend running with its VM stopped.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@rfay
rfay force-pushed the 20261017_rfay_ssh_agent_symlink branch from 38aced6 to 1c224a3 Compare October 21, 2026 03:19
stasadev added a commit to stasadev/ddev.com that referenced this pull request Oct 21, 2026
## Short Summary (TL;DR)

Adds the DDEV v1.25.5 release post, with before/after recordings of the rebuilt `ddev tui`, and records how to make such recordings in the `blog-images` skill. The post explains that the PHP fixes for CVE-2026-109618 and CVE-2026-109619 matter locally only with `ddev share` or casual hosting, and that production servers need the PHP update.

## How This PR Solves The Issue

The post follows the v1.25.4 one and the release notes in ddev/ddev#8926. The three `ddev tui` WebPs stack v1.25.4 above v1.25.5 and were recorded with VHS against demo projects in an isolated global config; their tapes and ffmpeg filter graphs are in `public/img/blog/2026/10/vhs/` so they can be re-recorded.

The `blog-images` skill gets a new `gif-comparison.md` with what took several attempts to get right for these recordings: demo projects in an isolated `DDEV_XDG_CONFIG_HOME` instead of real ones, a font size that stays readable after the blog scales the image, short clips per feature with captions shown before each key, and timing captions from ffmpeg scene detection, because VHS sleeps do not match video time.

## Manual Testing Instructions

Open `https://pr-759.ddev-com-fork-previews.pages.dev/blog/release-v1-25-5/` and compare it with the v1.25.4 post at https://ddev.com/blog/release-v1-25-4/. Check that the three `ddev tui` recordings play and are readable at the column width, and that the `ddev launch --qr` screenshot shows the whole QR code.

## Release/Deployment Notes

Before publishing, replace the `8.5.XX`-style PHP versions and the PHP announcement link, check the PR count, and drop the Ctrl-C and symlinked agent socket sentences if ddev/ddev#8954 or ddev/ddev#8963 don't make the release.

🤖 Developed with assistance from [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@stasadev stasadev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good to me.

@rfay
rfay merged commit 0b87317 into ddev:main Oct 21, 2026
44 checks passed
@rfay
rfay deleted the 20261017_rfay_ssh_agent_symlink branch October 21, 2026 21:16
rfay pushed a commit to stasadev/ddev.com that referenced this pull request Oct 24, 2026
## Short Summary (TL;DR)

Adds the DDEV v1.25.5 release post, with before/after recordings of the rebuilt `ddev tui`, and records how to make such recordings in the `blog-images` skill. The post explains that the PHP fixes for CVE-2026-109618 and CVE-2026-109619 matter locally only with `ddev share` or casual hosting, and that production servers need the PHP update.

## How This PR Solves The Issue

The post follows the v1.25.4 one and the release notes in ddev/ddev#8926. The three `ddev tui` WebPs stack v1.25.4 above v1.25.5 and were recorded with VHS against demo projects in an isolated global config; their tapes and ffmpeg filter graphs are in `public/img/blog/2026/10/vhs/` so they can be re-recorded.

The `blog-images` skill gets a new `gif-comparison.md` with what took several attempts to get right for these recordings: demo projects in an isolated `DDEV_XDG_CONFIG_HOME` instead of real ones, a font size that stays readable after the blog scales the image, short clips per feature with captions shown before each key, and timing captions from ffmpeg scene detection, because VHS sleeps do not match video time.

## Manual Testing Instructions

Open `https://pr-759.ddev-com-fork-previews.pages.dev/blog/release-v1-25-5/` and compare it with the v1.25.4 post at https://ddev.com/blog/release-v1-25-4/. Check that the three `ddev tui` recordings play and are readable at the column width, and that the `ddev launch --qr` screenshot shows the whole QR code.

## Release/Deployment Notes

Before publishing, replace the `8.5.XX`-style PHP versions and the PHP announcement link, check the PR count, and drop the Ctrl-C and symlinked agent socket sentences if ddev/ddev#8954 or ddev/ddev#8963 don't make the release.

🤖 Developed with assistance from [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
stasadev added a commit to stasadev/ddev.com that referenced this pull request Oct 26, 2026
## Short Summary (TL;DR)

Adds the DDEV v1.25.5 release post, with before/after recordings of the rebuilt `ddev tui`, and records how to make such recordings in the `blog-images` skill. The post explains that the PHP fixes for CVE-2026-109618 and CVE-2026-109619 matter locally only with `ddev share` or casual hosting, and that production servers need the PHP update.

## How This PR Solves The Issue

The post follows the v1.25.4 one and the release notes in ddev/ddev#8926. The three `ddev tui` WebPs stack v1.25.4 above v1.25.5 and were recorded with VHS against demo projects in an isolated global config; their tapes and ffmpeg filter graphs are in `public/img/blog/2026/10/vhs/` so they can be re-recorded.

The `blog-images` skill gets a new `gif-comparison.md` with what took several attempts to get right for these recordings: demo projects in an isolated `DDEV_XDG_CONFIG_HOME` instead of real ones, a font size that stays readable after the blog scales the image, short clips per feature with captions shown before each key, and timing captions from ffmpeg scene detection, because VHS sleeps do not match video time.

## Manual Testing Instructions

Open `https://pr-759.ddev-com-fork-previews.pages.dev/blog/release-v1-25-5/` and compare it with the v1.25.4 post at https://ddev.com/blog/release-v1-25-4/. Check that the three `ddev tui` recordings play and are readable at the column width, and that the `ddev launch --qr` screenshot shows the whole QR code.

## Release/Deployment Notes

Before publishing, replace the `8.5.XX`-style PHP versions and the PHP announcement link, check the PR count, and drop the Ctrl-C and symlinked agent socket sentences if ddev/ddev#8954 or ddev/ddev#8963 don't make the release.

🤖 Developed with assistance from [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
stasadev added a commit to stasadev/ddev.com that referenced this pull request Oct 26, 2026
## Short Summary (TL;DR)

Adds the DDEV v1.25.5 release post, with before/after recordings of the rebuilt `ddev tui`, and records how to make such recordings in the `blog-images` skill. The post explains that the PHP fixes for CVE-2026-109618 and CVE-2026-109619 matter locally only with `ddev share` or casual hosting, and that production servers need the PHP update.

## How This PR Solves The Issue

The post follows the v1.25.4 one and the release notes in ddev/ddev#8926. The three `ddev tui` WebPs stack v1.25.4 above v1.25.5 and were recorded with VHS against demo projects in an isolated global config; their tapes and ffmpeg filter graphs are in `public/img/blog/2026/10/vhs/` so they can be re-recorded.

The `blog-images` skill gets a new `gif-comparison.md` with what took several attempts to get right for these recordings: demo projects in an isolated `DDEV_XDG_CONFIG_HOME` instead of real ones, a font size that stays readable after the blog scales the image, short clips per feature with captions shown before each key, and timing captions from ffmpeg scene detection, because VHS sleeps do not match video time.

## Manual Testing Instructions

Open `https://pr-759.ddev-com-fork-previews.pages.dev/blog/release-v1-25-5/` and compare it with the v1.25.4 post at https://ddev.com/blog/release-v1-25-4/. Check that the three `ddev tui` recordings play and are readable at the column width, and that the `ddev launch --qr` screenshot shows the whole QR code.

## Release/Deployment Notes

Before publishing, replace the `8.5.XX`-style PHP versions and the PHP announcement link, check the PR count, and drop the Ctrl-C and symlinked agent socket sentences if ddev/ddev#8954 or ddev/ddev#8963 don't make the release.

🤖 Developed with assistance from [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ssh_agent_upstream fails when SSH_AUTH_SOCK is a symlink (VS Code Remote, ~/.ssh/rc recipes)

2 participants