Skip to content

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 30 Oct 19:47
· 77 commits to main since this release

Changed

  • Breaking: a host file named by --config or BITC_CONFIG must now exist. If it does not, every
    command that reads the config (all but bitc version) exits 78 with
    host file <path> (from --config|BITC_CONFIG) does not exist. Before, it ran silently with no host
    config. A missing default host file ($XDG_CONFIG_HOME/bitc/bitc.toml) is still fine: built-in
    defaults apply (#22).
    What to do: if a script or service sets --config or BITC_CONFIG, make sure the file exists,
    or drop the setting to use the default file or built-in defaults.

Fixed

  • bitc cancel right after bitc run --detach no longer reports success while the job keeps running
    to completion: a cancel of a job that is still starting is recorded, and the job ends 128+N without
    running its command. The 5 s start-up wait is gone. cancel exits 69 when it cannot read or lock
    the job's status, keeps a --kill request, and reports a job that never started as ended. This
    was the 0.1.1 known issue
    (#23).
  • A cancel signal (bitc cancel, or INT, TERM or HUP to a foreground bitc run) that arrived just
    before the command started could be lost; the run now ends 128+N.
  • bitc config check now runs the state dir's checks. It exits 78, as status and run do, on a state
    dir that is group- or world-accessible, not yours, on a network filesystem, a regular file, a
    dangling symlink or missing under one, or that has an unreadable, unparsable or newer SCHEMA. A state
    dir that does not exist yet still passes, and is not created
    (#14).
  • bitc status counts a pool slot held by a legacy shell-pool caller under [compat] as held, and lists
    the holder under the pool. In status --json it is an additive holders entry with "legacy": true;
    the report version stays "1" (#15).

Known issues

  • Sprites stays refused until the catch-all egress deny lands
    (#6).
  • macOS as a client to remote providers (#4) moved
    to 0.1.3; the macOS build still refuses every [providers.*] table (exit 78).
  • Under [compat] with remote providers on (experimental_remote), a launch that cannot open the
    legacy <legacy_dir>/locks/runpod-launch.lock, or take it within launch_wait, still goes ahead
    without it, so a legacy launcher's launches are not excluded for that one
    (#9). It should be refused with 75 instead.
    Workaround: during a mixed rollout, do not run remote bitc jobs and legacy launches against
    the same account at the same time. A longer launch_wait under [providers.<type>] (default
    5m) makes the timeout rarer but does not close it, and does not help when the lock cannot be
    opened. A host without experimental_remote, or without [compat], is not affected.

Install

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