Skip to content

Loams 0.1.4

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Oct 09:44
· 36 commits to main since this release
3b41cb6

Loams 0.1.4. You run it yourself with Docker Compose: see deploy/release/README.md in the attached bundle, or Running Loams.

Everything new in 0.1.4 is preview. The default stack is 0.1.3's.

Highlights

  • Cost attribution (design 84, preview). What each engine, tenant, project and query class costs.
    • Inputs: amortised hardware, imported bills (FOCUS, AWS CUR, CSV) and a price table, allocated exactly over Loams Meter usage.
    • Every number carries its basis (measured, billed, declared or estimated) and a trace.
    • loams cost works offline, from files: report ($ per 1M ops, $ per GB-month, $ per job), import (a dry run of a bill) and export (FOCUS 1.3 or OpenMeter).
    • What a million operations cost: measured throughput times cited prices. Every dollar figure is projected.
  • Resumable transfers and job runs over QUIC in Loams Desktop (design 85, preview).
    • The new Transfers page and the bundled loams-transfer sidecar move files of 10 GiB and more in SHA-256-checked chunks.
    • They use HTTP/3 over QUIC, with an HTTP/2 fallback, and resume after a crash, a restart or a lost network.
    • The engine serves the routes on its main port, behind its authentication. With a TLS certificate, it also serves HTTP/3 on that port.
    • loams-transfer.exe is not signed. SignPath signing is not configured for the release yet, so the Windows app is unsigned, as in 0.1.3. When it is set up, loams-transfer.exe has to be added to its configuration (D2449).
  • Loams Meter (preview, every part opt-in by configuration):
    • the lease gate on the produce paths (HTTP, CloudEvents, Flight, gRPC);
    • reconciliation against the House pipe's cursor;
    • balances on any node;
    • email (Resend) and console notifications, with retries;
    • scheduled Stripe, Lago and OpenMeter exports.
    • The meter is not compiled into the release images or packages: use a source build with the meter feature.
  • Cluster transport (design 83):
    • SPIFFE identities, mTLS configs and a deployment CA;
    • join tokens, a deny list, a CA service on meta nodes, and loams ca;
    • all behind the off-by-default transport feature. No cluster traffic uses it yet.
  • Postgres 18 is still beta, and still only gates. New projects stay on 16 or 17. pg-control gains a majors API, and the postgres-control profile carries the pageserver's upcalls.
  • RisingWave is locked to the free tier with an empty licence key file (D1901). This closes a 0.1.3 known gap.
  • The Kafka gateway in Ostrium's Iggy fork consumes about 4× faster (a Java consumer went from about 0.5M to about 2M msg/s; ostrium-labs/iggy#28). The kafka profile's pinned image does not have it yet.
  • A Flink-compatible engine (design 82) is in development in the fork ostrium-labs/streamfusion. It is not shipped in 0.1.4.
  • Benchmarks:
    • every engine ran at once through its native API on one 14-core laptop: 732,127 QPS at depth 1, and 1,231,462 QPS at depth 16;
    • 1B QPS is projected, not measured (about 812 such nodes; report);
    • graph point lookups: 96/s → 24,268/s with Grafeo's indexed lookups;
    • the House no longer starves waiting statements under contention.
  • A Redis-gateway data fix (preview --module resp): a collection emptied and re-created in one transaction reused the old version, sharing its members, and GC could later drop its data. Only MULTI could reach it (#1643).
  • Security:
    • Dependabot fixes across Rust (zip 9.0.5, russh, libz-sys), Go, npm (including electron 44.9.1) and pip;
    • ten CodeQL findings fixed;
    • two secret-scanner alerts on test fixtures closed.

The full list is in CHANGELOG.md.

Upgrading from 0.1.3 (or any 0.1.x)

There are no migrations and no .env changes. PD, TiKV and TiDB stay on v8.5.8, and the Loams Postgres and chDB pins are unchanged. Grafeo stays at 0.5.43 (fork rev v0.5.43-loams.2). Expected downtime is about 5 minutes, excluding image pulls.

  • A stack with the tikv profile: run loams upgrade --to 0.1.4. It takes a snapshot first, and loams upgrade rollback restores it.
  • The light default stack: upgrade by hand, as for 0.1.3:
    1. Back up the volumes.
    2. Run docker compose stop.
    3. Set LOAMS_VERSION=0.1.4 in .env.
    4. Run docker compose up -d.
  • postgres-control or risingwave profiles:
    • take compose.yaml and loams-postgres-dev/ from the 0.1.4 bundle (they add the one-shot pg-upcall-token service);
    • take compose.risingwave.yaml and risingwave/license.key, and keep that file empty.

Known gaps

  • The meter role, and the meter's cost domain, need a source build. loams cost (offline) is in every build.
  • loams-transfer.exe is unsigned (D2449). There is no loopback transfer benchmark yet, and abandoned transfers are not garbage-collected yet.
  • The cluster CA is not wired to cluster traffic.
  • The kafka profile's Iggy image predates the faster consume path.
  • The preview profiles have not been through the upgrade gate. Try them on a stack you can rebuild.
  • The Spark profile's images are not published. Build them with deploy/release/build.sh.
  • Loams Desktop's update feed stays off until the update key is set. Download each version from the release page.
  • The rest are unchanged from 0.1.3: see "Known gaps in 0.1.4" in deploy/release/README.md.

Images

Images (linux/amd64, linux/arm64; provenance and SBOM attested, verify with gh attestation verify oci://<image> -R ostrium-labs/loams):

  • ghcr.io/ostrium-labs/loams:0.1.4 (also :0.1 and :latest)
  • ghcr.io/ostrium-labs/loams-fabric:0.1.4 (also :0.1 and :latest)
  • ghcr.io/ostrium-labs/loams-agentd:0.1.4 (also :0.1 and :latest)
  • ghcr.io/ostrium-labs/loams-pg-control:0.1.4 (also :0.1 and :latest)
  • ghcr.io/ostrium-labs/loams-gateway:0.1.4 (also :0.1 and :latest)
  • ghcr.io/ostrium-labs/loams-temporal:0.1.4 (also :0.1 and :latest)

Free space for loams upgrade: 1.5× the snapshot estimate (loams upgrade check shows it).

Linux packages, the Windows zip and the macOS tarballs

Linux

File Format Signature By
loams-0.1.4-1-x86_64.pkg.tar.zst archlinux signed gpg-detached
loams-0.1.4-1-x86_64.pkg.tar.zst.sig archlinux-signature signed gpg-detached
loams-0.1.4-1.x86_64.rpm rpm UNSIGNED signpath-rpm-sign
loams_0.1.4_amd64.deb deb signed nfpm-debsign
  • The .deb and the .pkg.tar.zst are signed with the project GPG key at build time.
  • The .rpm is not signed by this workflow: nFPM cannot sign an RPM, so it is submitted to
    SignPath's <rpm-sign> by .github/workflows/release-sign.yml.
    Until that workflow has run against this tag, the .rpm is unsigned.

Windows

File Signature
loams-0.1.4-windows-x86_64.zip UNSIGNED

The Windows binary has no Authenticode signature. Windows SmartScreen will show
Windows protected your PC on a downloaded copy. That is an unknown-publisher warning,
not a malware detection, and it clears once the user unblocks the file. Building from
source produces no such prompt: docs/build-from-source/windows.md.

macOS

File Signature
loams-0.1.4-macos-arm64.tar.gz ad-hoc only (no Developer ID, not notarized)
loams-0.1.4-macos-x86_64.tar.gz ad-hoc only (no Developer ID, not notarized)

The binary carries an ad-hoc signature, which Apple Silicon needs to run it at all, but no
Developer ID, so Gatekeeper quarantines a downloaded copy. Clear the flag once after unpacking:

tar -xzf loams-0.1.4-macos-arm64.tar.gz
xattr -dr com.apple.quarantine loams-0.1.4-macos-arm64
./loams-0.1.4-macos-arm64/loams --version
./loams-0.1.4-macos-arm64/git-remote-loams --version

The server stack itself (Postgres, the images in this release) runs as Linux containers;
on macOS and Windows use Docker Desktop with the attached compose bundle.

Git push and fetch to the bucket

Every package installs git-remote-loams next to loams (/usr/bin on Linux; the
top level of the zip and the tarballs). With that directory on PATH, git handles
loams::<store-url>/ns/<ns>/repos/<repo> URLs itself: git clone, fetch and push
go straight to the repository in the bucket, with no Loams server in between.

loams-agentd for Linux

File Signature
loams-agentd-0.1.4-linux-aarch64.tar.gz UNSIGNED
loams-agentd-0.1.4-linux-x86_64.tar.gz UNSIGNED

The agent daemon behind Studio, for a headless host without Loams Desktop. Each tarball holds
loams-agentd, loams, SHA256SUMS and VERSION, the layout loams-agentd install-runtime --from
reads. Built on Ubuntu 24.04 (glibc 2.39). Check it against this release's SHA256SUMS; setup is in
docs/guides/studio/remote-agentd.md.

Not in this release

Loams Desktop

Loams Desktop 0.1.4.

Platform Files Signing
Linux x64, arm64 AppImage, deb, rpm, pacman rpm: unsigned; AppImage, deb, pacman: detached GPG .sig files
Windows x64 NSIS installer unsigned (expect a SmartScreen warning)
macOS arm64, x64 dmg, zip ad-hoc signed only, not notarized

Verify the desktop downloads with DESKTOP-SHA256SUMS and DESKTOP-SHA256SUMS.asc (detached GPG signature).

macOS: first launch

Unless the table above says notarized, macOS quarantines the download (the app carries an ad-hoc signature, which Apple Silicon requires, but no Developer ID). After copying it to /Applications, run:

xattr -dr com.apple.quarantine "/Applications/Loams Desktop.app"

or right-click the app, choose Open, and confirm. macOS does not self-update: the app offers "Download v..." when a newer release exists.

Windows: first launch

The installer is unsigned, so SmartScreen shows Windows protected your PC: choose More info, then Run anyway. That is an unknown-publisher warning, not a malware detection.

Updates

Windows and the Linux AppImage update in place from the desktop-latest feed release once this release is published and promoted (see docs/release/desktop.md), and only when the update manifest is signed (it is NOT for this release, so the in-app updater stays off). Pre-releases (-preview.N, -rc.N) are never offered. deb, rpm and pacman installs, and macOS, show "Download v..." instead.