Skip to content

v0.1.5

Choose a tag to compare

@github-actions github-actions released this 21 Nov 05:03
· 57 commits to main since this release
e571817

This release runs exec plugins on macOS, stops status, doctor and sweep --dry-run from taking a try-lock on Linux hosts without a readable /proc/locks, and moves builds to Go 1.27.4 for a standard-library advisory.

Added

  • Exec plugins run on macOS: a [providers.<type>] table with a plugin pin now loads on a macOS client. The built-in ssh, runpod and sprites stay refused there. bitc runs a private, 0500, content-addressed copy of the pinned plugin through a __plugin-exec shim that stays the plugin's parent, forwards SIGTERM, SIGINT and SIGHUP, and takes the plugin's process group down if bitc is killed. Thin and universal Mach-O plugins are accepted, and one that carries com.apple.quarantine is refused with the xattr -d com.apple.quarantine fix. Known limit: macOS has no no_new_privs, so a plugin's process cannot be stopped from gaining privileges through setuid or setgid programs as it is on Linux. Only run plugins you trust as you would any program run as your user (#26).

Changed

  • golang.org/x/sys is updated from 0.49.0 to 0.50.0.

Fixed

  • On Linux without a readable /proc/locks (no procfs, an LSM or seccomp denial, or gVisor), bitc status, bitc doctor and bitc sweep --dry-run no longer take a brief try-lock to read pool slot holders, which could make a free slot look busy to a concurrent admission. They take no lock and show such a slot as unknown ("unknown": true in status --json). doctor prints one warn locks: line naming /proc/locks, and sweep --dry-run never counts an unknown slot as reclaimable (#24).

Security

  • Builds and CI use Go 1.27.4, which fixes the standard-library net/http advisory GO-2026-6859 that govulncheck reports in Go 1.27.3.

Known issues

  • macOS builds still refuse the built-in remote providers (ssh, runpod and sprites, exit 78); only exec plugins run there. macOS as a client to the built-in remote providers (#4) is now planned for 0.1.6.
  • On macOS, bitc never removes the private plugin copies under <state>/plugins/<type>/bin/, so a copy of each plugin version bitc has run stays there until you delete it. A bitc that is already running when its binary is replaced in place starts the new binary as its plugin shim; restart long-running bitc processes after an upgrade.
  • Sprites stays refused until the catch-all egress deny lands (#6).
  • A run from a working directory in the high priority lane (priority.high_cwd or priority.high_cwd_contains) can still starve normal runs in the same pool while high runs keep overlapping. Aging is now planned for 0.1.6.

Install

Assets for linux and darwin, amd64 and arm64: bitc_0.1.5_<os>_<arch>.tar.gz (binary, LICENSE, README) and the bare bitc_0.1.5_<os>_<arch>, with sha256 sums in checksums.txt. Check an install with bitc version (expect bitc 0.1.5 (commit e571817) ... release=true).