You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
What changed since 1.0.49
A stop reaches the application's server and the project's tasks off DDEV. They get the runtime's whole grace to end: 10 seconds on Docker Compose and Podman, 30 on Kubernetes. Before, the server was killed 2 seconds after a stop, whatever it was doing.
Home Assistant is listed. Its step pack is in the Extra steps list and its Workspace plugin in the catalogue.
Upgrading from 1.0.49
Nothing to do for a new build. A project made before 1.0.50 off DDEV takes the new start when its files are written again (ddev config in its folder, or its next build).
Fixed
The stop off DDEV (#983, #989): the server and the tasks start with setpriv (util-linux), which execs, in place of runuser, which killed the server 2 s after a stop. start.sh and the new daemons.sh are the first processes: each passes the stop on to its process groups as it came (TERM, INT, QUIT, or WINCH, the stop signals of nginx and Apache) and ends once they have all ended.
Lando: the generic stack's appserver sets LANDO_NEEDS_EXEC, so a stop reaches the server at all; before, it was killed at the end of the grace.
Docksal: the tasks' supervisor program starts daemons.sh, which passes the stop on.
The daemons service asks for stop_signal: SIGTERM; the generic Alpine image adds setpriv.
Proven with a test server that works 8 s after a stop: it ended cleanly on Docker (8.4 s), Podman (9.7 s), Kubernetes (16.7 s), Lando (8.2 s) and Docksal's tasks (5.4 s); on 1.0.49 it was never asked, or killed. Checked in the browser before the merge: the row's Stop let it finish its 8 s.
Added
Home Assistant (#987, #988): @webship-js/home-assistant-steps in the step-pack list, and @webship.co/workspace-home-assistant in the plugin catalogue. An app is recognised by the application name its front page carries, or by its onboarding page. The logo is Simple Icons' Home Assistant icon (CC0), in the brand's colour.