Barn 1.4.0 pre-release review
On November 27, 2026, the 1.4.0 candidate passed local source checks, package verification and guest lifecycle tests. The reviewed source was 22f6a28 plus the fixes below, identified by Git tree 5ab76a8a5325dcd899d4909abec56c1890e6f4fb. The published release was still 1.3.0. The public catalog check remained open pending the coordinated switch of both mirrors. Barn 1.3.0 release
Fixes verified in the candidate
- Linux packages. Building under a symlinked checkout on macOS could omit the hosts helper’s SHA-256 from the CLI. The Go overlay in
packaging/goreleaser-companion.shnow names its virtual source relative to the module. The same checkout path produced matching CLI/helper pairs on all four targets. - Concurrent image updates. An update that finished downloading after another update activated a newer catalog could prune an image from the newer revision. Prune now protects both catalogs and holds a shared manifest lock through deletion. The race regression is
TestImageUpdatePruneProtectsConcurrentRefreshininternal/image/update_test.go. - Backing files. Prune now protects each deployed node’s backing filename as well as its recorded digest. A valid qcow2 with unexpected bytes at a referenced path survived both preview and
--yes. Both commands reported an integrity error. The regression is ininternal/image/prune_test.go. - Read-only previews. A read-only file with the expected length but the wrong SHA-256 now shows a planned download. Running
image update --dry-run --pruneagainst an empty0750home preserved its mode and created no files. Image update command
Packages and guests
make check, make mac-native-test and make release-snapshot passed. The snapshot covered macOS and Linux on amd64 and arm64, including Linux DEB and RPM packages and the Apple Silicon native app. Release assembly verified all 19 files in checksums.txt, including the SPDX documents and installers. GoReleaser named this snapshot 1.3.1-next from the preceding tag. It used ad-hoc Mac signing. Release assembly script
On Apple Silicon HVF, a fresh Debian 13.8 guest ran the arm64 CLI extracted from the snapshot DEB. Its XFS marker survived stop, start and reload, then immediate purge removed the VM. A second test created an Ubuntu 24.04 deployment with 1.3.0 and reopened it with the candidate. Its VM UUID, applied spec hashes and XFS data survived. For both running guests, the filename protected by prune matched the backing file reported by QEMU. The November 26 image acceptance also covered Debian amd64 on Linux KVM. Debian 13.8 image acceptance
The packaged native runner booted macOS 27.2.1 (26B131) headless from an isolated base. The CLI reached SSH, wrote a guest marker and ran mac recreate. The replacement had a new instance ID, reported the same macOS build and started with the old marker absent. A new marker survived mac stop and mac start. After mac destroy, the isolated machine list was empty and the shared base was still available.
Catalog evidence
Candidate revision 2026112601 verified with Minisign key B848292042883667. Its catalog.json matched the embedded bytes, with SHA-256 d307542707e1d91a80589570a0accf0c7325b21ffd78563a2925703ec7dbb1f9. Its repo.yaml also matched the source. The default remained u24:stable on the native architecture with UEFI. A fresh home activated the candidate, and barn repo verify checked all 31 image files against their recorded digests.
In a rehearsal, the release checker read the candidate catalog and signature locally for each official URL, then contacted the real mirror for all 17 stable files. Both runs passed signature, activation, embedded-byte and file-size checks. Downloading the changed Debian 13.8 files from each mirror confirmed all four SHA-256 results. Catalog verification program
Both mirrors still served catalog revision 2026112101 under key 4686B39A40F9B562. Barn 1.3.0 accepted that catalog. The candidate rejected it with catalog_signature and exit code 7. Conversely, 1.3.0 rejected the new signature and retained its previously active catalog.
Release-day checks
- Include the reviewed fixes in the release commit, date the changelog and update the README release links. Run source CI and the packaging snapshot on that commit before tagging.
- Promote the verified
catalog.jsonandcatalog.json.minisigto both official mirrors. Runmake catalog-checkfrom the candidate. WithBARN_REPOunset and a freshBARN_HOMEfor each command, runbarn updateandbarn update --mirror. Both must activate revision2026112601with the digest above. - After the catalog gate passes, build the tagged release with Developer ID signing, notarize and staple the native Mac app, then verify the assembled assets. The local signing identity and notary profile were available during review. Verify downloads and the installer before publishing the matching documentation. Mac release procedure
On release day both official catalogs passed signature verification, fresh activation and byte comparison. The tagged build was notarized, and all 20 GitHub attachments matched the local files on public download. The public installers and Homebrew upgrade passed. Final release evidence