Skip to content

v2.202.1

Choose a tag to compare

@github-actions github-actions released this 02 Sep 12:48
· 14 commits to main since this release

Fixed — CI's own test suite has been red since v2.201.0

safe_cmd.rs's DockerEnvFile (the 0600 --env-file credential guard
v2.201.0 shipped) and the older Capture (systemd-run stdout/stderr
staging) both write under the hardcoded production path
/var/lib/dockpanel/run. Their tests call that same code directly, so on
GitHub Actions' unprivileged runner — which cannot create_dir_all under
/var/lib — 4 DockerEnvFile tests have failed with PermissionDenied on
every push since v2.201.0's release, silently, because the CI run that
introduced the bug wasn't followed by a session that checked CI status
before its next push. Not a production defect: this box (and every real
install) runs the agent as root with /var/lib/dockpanel already present,
so nothing shipped was ever broken. Fixed with a capture_dir() resolver
that returns the real path in production and a scratch temp directory
under cfg!(test) — using the cfg!() macro rather than a #[cfg(test)]
attribute deliberately, since an attribute would have planted a second,
earlier #[cfg(test)] token ahead of this file's real test module and
blinded every pin suite that stops reading a file at the first one.
Verified both ways: cargo test (debug, matching CI) and cargo test --release both green, full local pin sweep 116/116.


Install: curl -sL dockpanel.dev/install.sh | bash

Every release is installed on a throwaway VPS and driven as a user before
it ships. What that means, and what it has found, is written up at
https://docs.dockpanel.dev/testing.html.

Binaries are static musl builds signed with Sigstore; checksums.txt
and the .sig/.pem pairs are attached below.

Full changelog: v2.202.0...v2.202.1