Skip to content

v0.7.1 - a Linux binary that runs where it should

Choose a tag to compare

@github-actions github-actions released this 29 Jul 07:25
· 4822 commits to main since this release
7d8bc72

A packaging fix. No code changes - src/ is identical to 0.7.0, so this is the same indexer on a binary that far more machines can actually run. In-place safe from 0.6.x and 0.7.0: no data migration, no config changes.

The Linux binary now runs on Debian 12, RHEL 9 and Ubuntu 22.04 again

0.7.0's Linux binary was built on ubuntu-latest, which had moved to 24.04 and glibc 2.39. A dynamically-linked binary requires the glibc it was built against or newer, so the builder's glibc silently became the floor for every system that could run the release - cutting out Debian 12, Ubuntu 22.04, RHEL 9 and Amazon Linux 2023. It went unnoticed because every machine we test on is modern Ubuntu.

The builder is now pinned to ubuntu-22.04 (glibc 2.35) rather than ubuntu-latest, so the floor cannot drift upward again without someone changing that line on purpose.

If 0.7.0 gave you version 'GLIBC_2.39' not found, this is the release you want.

The container image is now published only after it starts

The same glibc problem broke the image, and revealed a worse ordering bug: the release job pushed the image and then smoke-tested the pushed tag. When 0.7.0's test failed, the job went red - but the image was already public. A red tick in Actions does not un-pull an image somebody already has.

Now it builds, runs --version, and only then pushes; and the push is a docker tag of the tested image rather than a second build, so what ships is the exact artifact that passed.

docker run -d -v "$PWD/mynest:/nest" -p 127.0.0.1:8288:8288 \
  ghcr.io/nuthatch-indexer/nuthatch:0.7.1

ghcr.io/nuthatch-indexer/nuthatch:0.7.0 is published but cannot start. It is the broken image described above. 0.7.1 is the first working tag and also repairs :latest.

Everything else

0.7.0's contents - the live roost (RFC-0027), ingestion that survives real providers (RFC-0028), the bounded /sql hot scan, the S3 registry shipping enabled, and the move to MIT OR Apache-2.0 - are unchanged. See the v0.7.0 notes, which still describe what this release does.

Verifying the download

curl -fsSLO https://github.com/nuthatch-indexer/nuthatch/releases/download/v0.7.1/nuthatch-x86_64-unknown-linux-gnu.tar.gz
curl -fsSLO https://github.com/nuthatch-indexer/nuthatch/releases/download/v0.7.1/nuthatch-x86_64-unknown-linux-gnu.tar.gz.sha256
sha256sum -c nuthatch-x86_64-unknown-linux-gnu.tar.gz.sha256