Skip to content

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 26 Oct 05:30
· 82 commits to main since this release

Security

  • Built with Go 1.27.3, which fixes GO-2026-6809 (crypto/x509 now distrusts compromised
    intermediate certificates; bitc reaches it through TLS handshakes to provider APIs).

Added

  • The local gate: named pools with N slots, FIFO tickets, priority lanes, groups shared across
    pools, nested holds, and a memory floor for admission. No daemon: state is files and flock(2)
    locks.
  • Commands run, status, wait, logs, cancel, sweep, doctor, config and version,
    including detached jobs (run --detach, wait) and status --json
    (schema).
  • Exit codes that separate "try again" (75) from the command's own result, with 64, 66, 69, 78
    and 124 for the other cases (docs/exit-codes.md).
  • Two config layers: a host file and a repository .bitc.toml that can only narrow the host's
    limits; strict decoding and bitc config check.
  • Remote providers, all experimental and none proven live yet: ssh, runpod, sprites and
    exec plugins. Sprites (a fresh microVM per job, for parallel scale-out) is not enabled yet: its
    egress allow-list is not proven enforced and its exec stream is not yet reliable; bitc does not
    refuse it yet, so do not configure it for real work until a release enables it
    (bitc-provider-<type>, pinned by path and sha256). They share a daily spend cap, a live-job
    limit, a ledger and a circuit breaker, with fallback to the local machine before a job starts.
  • bitc sweep and bitc doctor --remote to find and clean up leaked remote resources, and a
    systemd timer recipe (docs/sweep-timer.md).
  • A conformance suite with a register of behaviours (conformance/behaviours.toml).
  • Release pipeline configuration (GoReleaser) for linux and darwin, amd64 and arm64, with sha256
    checksums.
  • macOS client builds (darwin arm64 and amd64): local pools, detached jobs, status, wait,
    logs, cancel, doctor and config, cross-built and smoke-tested on a macOS runner in CI.
    Linux-only, refused on macOS with one line (full parity: issue #3):
    • memory admission (a pool's memory key; config error 78);
    • remote providers (ssh, runpod, sprites, exec plugins; any [providers.*] table is a
      config error 78), and with them sweep and doctor --remote;
    • the remote agent and the plugin exec shim (bitc __agent, bitc __plugin-exec; exit 69);
    • the parent-death signal (a command outlives a SIGKILLed bitc), the inotify wake-up (waiters
      re-check every poll), the read-only /proc/locks view in status (a brief flock probe
      instead), and the last-byte check of a detached log (an empty line may precede __EXIT__).
  • Project documentation, contribution guide, code of conduct and security policy.

Fixed

  • The agent now keeps inherited file descriptors out of the job and its setup steps. Found by the
    first public CI run; covered by a regression test that leaks fds into the agent (it fails with
    the fix line removed and passes with it).

Known issues

  • Sprites provider (not enabled for jobs, see above): in 0.1.0 the network policy bitc applies to a
    Sprite has no catch-all deny rule, so it does not restrict egress. Do not configure sprites.
    Fixed for the next release (every policy will end in a catch-all deny, verified after it is applied).

Install

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

Known issues

  • Remote providers are experimental. In 0.1.0, two concurrent jobs with the same --name in the same pool, started within the same second (for example from two worktrees), can be given the same remote resource name, and one job's cleanup can then affect the other's resource. Avoid running same-named remote jobs concurrently; fixed in the next release.