Skip to content

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 30 Oct 01:16
· 79 commits to main since this release

Changed

  • Breaking: remote providers are off by default behind [host] experimental_remote. Without it
    in the host file, any [providers.<type>] table, or a pool naming a provider other than local,
    is a config error: every command exits 78 and points at the README's known issues. A repository
    file cannot set the key, and no environment variable does. bitc doctor warns while it is on.
    What to do: a host that runs jobs on a remote provider adds experimental_remote = true under
    [host] in the host file. A host that uses only the local pool needs no change.
  • Breaking: Sprites jobs are refused in this release, even with experimental_remote, because its
    network policy does not restrict egress yet (#6).
    With a [providers.sprites] table or a pool naming it, every command except bitc sweep and
    bitc doctor --remote exits 78, before any token or deploy key file is read.
    What to do: move Sprites pools to local or another provider, and remove the
    [providers.sprites] table and any pool naming it. To clean up Sprites a 0.1.0 install left behind,
    keep the table for now, set experimental_remote = true, run bitc sweep, then remove the table.
  • The README is now a short landing page. Install details, macOS status, providers, configuration,
    a comparison with other tools and the FAQ moved to install,
    providers, configuration,
    comparison and FAQ.

Fixed

  • bitc run no longer loses the process record of a command that exits at once: its pid and start
    time are now read before the command is waited on.
  • The shipped repository example (examples/config/repo.bitc.toml) now declares
    min_version = "0.1.0" (0.1.0 shipped "1.0.0", which a 0.1.0 release build refused with exit 78);
    every shipped example is checked against a release-stamped build.
  • History lines stay a single atomic write (at most 4 KiB after JSON escaping): long fields are cut at
    a character boundary and marked [truncated].
  • A tool archive's symlink can no longer resolve outside the tool dir by climbing through another of
    the archive's links: a .. in a link target is allowed only before its first name.
  • On an ssh host, the check-host --doctor probes (including the reachability-key probe) and the job
    launcher no longer fall back to root, or wrap to it, when an account's ids do not parse.

Known issues

  • Sprites stays refused until the catch-all egress deny lands
    (#6). The 0.1.0 notes said this would be fixed in
    this release; it is refused instead.
  • macOS as a client to remote providers (#4) moved
    to 0.1.2; the macOS build still refuses every [providers.*] table (exit 78).
  • bitc cancel right after bitc run --detach can report success while the job keeps running to
    completion (present since 0.1.0). Check with bitc status, and cancel again if the job is still running.
    Fixed in 0.1.2.

Install

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