Release verification
Faultline v0.1.0 provides Linux and Windows archives and SHA256SUMS. macOS installs from source.
The application version comes from VERSION. The JSON schema and planner versions follow their own compatibility rules.
Verify and use a standalone archive
Download the Linux AMD64 archive and SHA256SUMS into the same directory. Use a current GitHub CLI to verify the attestation for each file against the official workflow, pinned v0.1.0 commit, and GitHub-hosted runners.
archive=faultline_0.1.0_linux_amd64.tar.gz
workflow=orivstelq/faultline/.github/workflows/public-release.yml
commit=e5cb82fa084c45b3aad253c17c9fb4640927582b
for asset in SHA256SUMS "$archive"; do
gh attestation verify "$asset" --repo orivstelq/faultline --signer-workflow "$workflow" \
--source-ref refs/heads/main --source-digest "$commit" --deny-self-hosted-runners || exit 1
done
sha256sum "$archive"
# Compare the digest with the matching line in SHA256SUMS before extracting.
tar -xzf "$archive"
cd faultline_0.1.0_linux_amd64
./faultline version
A matching checksum checks integrity against the manifest. The attestation verifies GitHub workflow provenance for the bytes. Repeat builds establish reproducibility. For an internal candidate, use its authenticated Actions artifact and checksum manifest.
On Windows, use the same attestation commands with faultline_0.1.0_windows_amd64.zip as the archive, then check the digest and extract in PowerShell.
$archive = 'faultline_0.1.0_windows_amd64.zip'
Get-FileHash -Algorithm SHA256 $archive
# Compare the digest with the matching line in SHA256SUMS.
Expand-Archive $archive -DestinationPath .
Set-Location faultline_0.1.0_windows_amd64
.\faultline.exe version
The extracted QUICKSTART.md uses only files shipped with the archive. Windows candidates and public binaries are unsigned and may be blocked by application controls. Atomic --report publication remains unavailable on Windows. Capture JSON stdout as UTF-8 without a byte order mark in a private directory.
On Unix, --report requires an existing safe directory whose path has no symlink components. It publishes only a new file, with mode 0600, and refuses overwrite. On macOS, use a physical path under /private/tmp or another trusted parent instead of the symlinked /tmp. A private directory from mktemp -d, resolved with cd "$report_dir" && pwd -P, works on both macOS and Linux. See the report contract.
Build and verify a candidate
Build from the repository root with the same Go version as CI and Python 3.12 or later. The output directory must be new.
go mod verify
python3 scripts/release.py candidate
(cd candidate && shasum -a 256 -c SHA256SUMS)
python3 scripts/smoke.py --archives candidate
On Linux, sha256sum -c SHA256SUMS also verifies the manifest. The script builds each target twice in separate output directories using a pure Go build, trimmed paths, a cleared build ID, and disabled VCS stamping. Archive timestamps, entry order, ownership, and permissions are normalized. The script compares both archives before writing their checksums. Independent builds across toolchain or compressor versions can differ.
The manual Release candidate workflow runs on private main. It retains five candidate archives and their checksums as an Actions artifact for seven days. Each native smoke job verifies its archive and uses the packaged binary and scenarios to check version, help, seeded planning, and rejection of non-loopback targets. Check CI and the native candidate jobs for the exact commit before approving a public release. Keep targets with missing or failing native evidence out of distribution.