Skip to content

FreeWilly 1.0.11

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 31 Aug 15:01
· 213 commits to main since this release

A container that succeeded is no longer reported as a failure

docker compose run, docker start -a and docker exec all returned 1 over a container that had
exited 0. The output arrived in full and only the ending was wrong, which is what made this look
like the container's own failure rather than something on the Windows side.

The pipe was the difference. Over the distribution's unix socket the same daemon and the same
container answered 0, so what changed the result was the relay tearing an upgraded connection down
with DisconnectNamedPipe. That call discards whatever the pipe still holds and answers the
client's next read with "no process is on the other end of the pipe". A response carrying a
Content-Length had been read whole long before that, so the error landed after the client already
had its answer and nothing ever noticed. On a hijacked stream the end of the stream is the result,
so every client that reads to the end reported a failure instead.

The teardown now drains and closes, and never disconnects. The drain returns once the client has
taken every byte, and closing the handle after it ends the pipe with ERROR_BROKEN_PIPE, which is
the ending every client reads as a stream that finished.

Nothing this product starts holds the directory it was launched from

A process holds a lock on its working directory for as long as it lives, and this product starts
children that live a long time: the engine host, the daemon's launcher, a VM hold, a terminal you
are about to work in. Given no directory of its own, each one held whichever directory its caller
happened to be in. For the engine host that is the install's own, so an update or an uninstall could
fail to replace a file, and the failure said nothing about a child process.

Every one of them now names its own. The single exception is the docker on your PATH, which has to
inherit yours: docker build ., -f compose.yaml and -v .\data:/data all resolve against the
directory you typed them in.

The relay says what it is still holding

The sentence the journal quotes when the engine has gone quiet gained a clause naming how many
channels to the daemon the relay has open, and it is silent at zero. A quiet engine holding forty
channels is this process; a quiet engine holding none is the daemon. Those two read identically
before, and every one of those channels is a wsl.exe attached to the daemon's socket.

What the suite drives now

The defect at the top of this page shipped with the suite green, because every check the relay had
sent a request carrying a Content-Length, which is the one shape it spared. So there is now a live
drill: it serves a relay built from the working tree, points a real docker at it, and asserts the
exit code each client reports across compose run, start -a, exec, attach and logs --follow, including a container that fails. It also asserts that a client walking away from a
follow takes its channel with it rather than leaving one attached for the life of the host.

Install

Download FreeWilly-Setup-1.0.11.exe and check it against SHA256SUMS.txt. Upgrading keeps the
distribution and everything in it.