Repository navigation
Releases
v0.1.7
This release adds fallback CPU types and ordered data-centre lists for RunPod pods (with a us_only check per pool), and admission that waits while Linux IO pressure is above a set maximum. It also fixes the container orphan sweep, which in 0.1.6 could, rarely, remove a live run's container on Linux while other locks changed.
Added
- RunPod sizes can list fallback CPU types. A
[providers.runpod]size may addfallback = [{ cpu_type = "...", vcpu = N, usd_per_hour = X }, ...](one to four entries, each with its own vcpu and price). When the preferred type has no capacity, the create tries the fallbacks in order; any other error still ends the create. The cap check assumes the dearest type, the ledger books the price of the type that was created, and one stderr line names the size and the type (#8). - RunPod data centres.
data_centers = ["US-TX-3", "US-KS-2"]in[providers.runpod]is an ordered list of one to eight data centres. A create walks it type-major: each CPU type of the size in every data centre in order, one data centre per attempt, moving on only when there is no capacity. A pool can set its own list withremote_limits.data_centers = { runpod = [...] }, andremote_limits.us_only = truemakes a config error (exit 78) of any data centre in effect for the pool whose ID does not start withUS-; it is a check, never a filter (host file only). The stderr note names the data centre when a fallback was used (#7). - IO pressure admission.
io_pressure_max, set under[host]for every pool or in a pool (the pool's value wins;0turns it off for that pool), is a percentage from 0 to 100 of the PSIfull avg60figure in/proc/pressure/io. A run that would be admitted waits in FIFO order while the pressure is above the max, and if its wait ends it exits 75 withSTARVED <pool> (io pressure: 35.50% full avg60, max 20%). Where the kernel has no PSI the check is skipped with a warning (and abitc doctorwarning), never an error.bitc statusshows the pressure besideMemAvailable, andbitc status --jsongains an optionalio_pressureobject. On macOS the key is a config error (exit 78), like a pool'smemory.bitc config explainprintshost.io_pressure_max(unsetwhen it is not set) (#10).
Changed
- The one-entry
data_centerkey in[providers.runpod]is now checked like eachdata_centersentry ([A-Z0-9][A-Z0-9-]{1,31}); a value outside that shape is a config error (exit 78) instead of a create that RunPod refuses. This includesdata_center = "", which used to mean unset: remove the key instead (#7).
Fixed
- The container orphan sweep could remove a live run's container. On Linux, bitc reads
/proc/locksto see whether a run still holds its ticket, and the kernel hands that file out a page at a time, so while other locks come and go one read can miss a held lock. The sweep now removes a container (and a run's cidfile and env file) only while holding the ticket's lock itself, taken without waiting and kept through the removal.bitc status,bitc sweep --dry-runand the legacy-holder view, which only look, read the lock table again until two reads agree, so a held slot no longer shows as free on one bad read (#122).
Known issues
- macOS builds still refuse the built-in remote providers (
ssh,runpodandsprites, exit 78); only exec plugins run there (behind[host] experimental_remote = truesince 0.1.6). macOS as a client to the built-in remote providers (#4) is planned for a later release. - 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 jobs stay refused (exit 78) in this release; enabling them is tracked in #6.
Install
Assets for linux and darwin, amd64 and arm64: bitc_0.1.7_<os>_<arch>.tar.gz (binary, LICENSE, README) and the bare bitc_0.1.7_<os>_<arch>, with sha256 sums in checksums.txt. Check an install with bitc version (expect bitc 0.1.7 (commit 1caa4ea) ... release=true).
v0.1.6
This release adds local pools that run their commands in a docker container, a host-set pod_env for RunPod pods, [compat.flock] pools shared with flock(1) callers, and priority.aging so a normal caller no longer waits behind the high lane indefinitely. It also makes exec plugin providers on macOS need experimental_remote, as on Linux, makes the Sprites network policy end in a deny-all rule (Sprites jobs stay refused in this release), and fixes a supervisor-kill window and several status and sweep details.
Added
- Local pools can run their commands in a docker container (OrbStack on a Mac).
pools.<p>.container = { image, runtime = "docker", mounts, cpus, memory }(host file only) keeps admission, slots, groups, FIFO and the time limit as they are, and runs the admitted command asdocker runwith the work tree mounted at the same path as the working directory; the exit status is the command's. Each container is namedbitc-<ticket id>(unique per run, so runs that share a--namenever remove each other's) and labelledbitc.job,bitc.pool,bitc.stateandbitc.ticket, and bitc force-removes it at the time limit, on INT, TERM or HUP, onbitc cancel, and when bitc is SIGKILLed (a guard process on a lifeline pipe, on Linux and macOS).bitc sweepand the next admission remove orphaned containers by label, and a sweep error aborts the sweep: nothing more is deleted (containers removed earlier in it stay removed) andbitc sweepexits 69 after the rest of its work. Every removal is by full container id (from the cidfile ordocker ps --no-trunc), never by name; docker runs with bitc's own environment, and an env value docker's env file cannot hold (line break, NUL, invalid UTF-8, 64 KiB or more) is 78 naming the key. The container gets a minimal environment, not the host's, in a 0600--env-filethat bitc removes when the run ends (its values never reach docker's command line). A missing docker CLI, or docker failing before the container exists, is exit 69; a badcontainertable is 78. See docs/containers.md (#60). [providers.runpod] pod_env = { NAME = "value" }adds host-set variables to the RunPod pod's environment at create. Host file only (a repository file that sets it is refused), at most 16 entries; names match^[A-Z][A-Z0-9_]{0,63}$and may not bePATH,HOME,SHELL,USER,PUBLIC_KEY,JUPYTER_PASSWORD,WGETRC,XDG_CONFIG_HOME,IFS,SYSTEM_WGETRC,OPENSSL_CONF,OPENSSL_MODULES,SSLKEYLOGFILE,GLIBC_TUNABLES,HOSTALIASES,RES_OPTIONS,TMPDIR,ENV,BASH_ENV,LOCALDOMAINorPS4, start withBITC_,RUNPOD_,LD_,SSH_,SSL_,GIT_,GO,CGO_,CURL_orMALLOC_, or end with_PROXY; values are at most 256 bytes, with no control character and no{{. A value under a name containingTOKEN,KEY,SECRET,PASS,AUTHorCREDjoins the run's redaction list from 8 bytes; any other value joins only at 16 bytes or more and when it does not start with/. Shorter values stay out so flags and counts such asTOKENIZERS_PARALLELISM=falseare not rewritten in every history line. The ownership tag and the otherBITC_keys cannot be set, the job does not receive the entries, andbitc config explainshows the names with<redacted>(#47).[compat.flock.<pool>]lets bitc share a pool with shell callers built on ONE lock file (theflock heavy.lock cmd, gate and slot-file shape), so bitc, live shell holders and bareflockcallers exclude each other in both directions. Keyslock,gate, aslottemplate with{n}andexclusive(default false;truefor a bench pool that takes the gate and the lock exclusive). Status and doctor do not show shell holders of these pools; a busy legacy lock endsSTARVED <pool> (legacy pool: <path> busy). Time-boxed like[compat](spec 12.2) (#33).- A runbook and example script for sampling
bitc status --jsonon a timer, with daily files and a retention bound (#43). - A host key
priority.aging(default5m;0sturns aging off). A normal caller that has waited this long queues with the high tickets by arrival time instead of behind all of them (#56). bitc status --jsonmarks a normal waiter that has waitedpriority.agingwith"aged": true(absent otherwise;classstaysnormal), and the text view shows its class asnormal (aged)(#106).
Changed
bitc statuslists a pool's waiters in the order admission will take them (effective class, then wait start), not in ticket-name order (#106).- By default a normal caller no longer waits behind the high lane for more than 5m: once its ticket is that old it passes the priority lane and queues by arrival with the high tickets, and an aged caller also passes the legacy high marker of a
[compat]pool. Setpriority.aging = "0s"for the old behaviour (#56).
Fixed
- The status JSON schema (
docs/status.schema.json) now marks a waiter'swaited_sas optional, since reports made before it existed lack it. - A remote job could be reported lost before its command started when the host read the agent's identity file while it was being written; the file is now written atomically and a partly written one counts as not yet written.
- The Sprites probe kit no longer takes a delete that answers 404 as proof a Sprite is gone: it checks the listing after every delete the client answers as done (a 2xx or a 404), so a Sprite still running keeps counting toward the spend cap and the one-Sprite rule, and a Sprite that cannot be confirmed gone is a loud failure.
- The Sprites probe kit now reports a kit Sprite the listing shows with its whole name in another case as a leftover and never deletes it (the pre-run sweep stops the run), instead of missing it in its 404 check and its sweeps; its lists now read the whole org, so a Sprite of another organization anywhere in the listing makes them fail.
- The Sprites probe kit no longer takes a 404 on deleting an odd-named Sprite as proof it is gone when the listing shows the part after the kit prefix in another case, and never confirms such a 404 for a name outside ASCII.
- The Sprites probe kit's DeleteSprite needs a Sprite the run knows, a failed create of a re-used name keeps the earlier record, and ApplyBuildPolicies refuses a LimitMB outside 1..16384.
- A command run under a hold no longer outlives a supervisor killed before the hold recorded the command's process group: the command now starts only after it is recorded.
- The agent refuses a slot account uid or gid above 2147483647, since it uses them as int.
- The reference plugin's fake API refuses a job id that is not a plain id and serves only the result files it documents.
- The manual
privilegedworkflow now tests the commit of the branch it is dispatched on, and no longer takes a ref to check out. - The Sprites probe kit's typed calls now go through the run's Sprite book: a typed write, GetSprite or FSRead needs a live Sprite of the run, ListCheckpoints and GetCheckpoint need a Sprite the run created, Run and Exec refuse a MaxRunAfterDisconnect above 30 seconds, a restore after the kit deleted its Sprite is counted as a live Sprite again, and a raw table write's body may carry only the keys and values the probes use.
- The Sprites probe kit's fallback delete no longer takes a 404 as proof a Sprite is gone: after the 404 it lists the kit's Sprites and matches the name exactly, and a Sprite still listed (or a list that fails) is an error, so the one-live slot is not freed while the Sprite still runs.
- The Sprites probe kit's raw requests are now default-deny for writes: only a config or label update of a live Sprite of the run and its privileges and resources policies may be written, reads under a Sprite need a live Sprite of the run, and a refused request fails the probe that sent it instead of looking like an answer.
- The Sprites probe kit's fallback delete, used for a name the client refuses, now sends the name escaped once as a single path segment (including
;and,) through its own request rather than the raw request. It used to escape it twice, so the server could answer 404 for a Sprite that was still live and the kit took it as deleted. - The Sprites probe kit's raw request now sends a path only when each segment after
/v1/is plain letters, digits,.,_,~or-; anything else, such as%, a control byte or an empty segment, is refused and nothing is sent. - The Sprites probe kit's raw request refuses a path containing
;and sends nothing, as it already does for?and#. - The Sprites probe kit's one-live-Sprite guard now cleans a raw request's path and ignores its case before refusing a create, so a spelling such as
/v1//sprites,/v1/./spritesor/v1/Spritesis refused too (#74). - A remote tool URL with whitespace or a control character is now refused when the config is loaded (exit 78), as the agent URL is.
- An agent URL with whitespace or a control character is now refused when the config is loaded (exit 78). The download and install stubs also single-quote the expected sha256, as the build stub does.
- The download and install stubs pass the agent URL to curl and wget exactly as configured: it is single-quoted for sh, so a $ or a backtick in it is not expanded.
- The start stubs no longer pass the deploy key or the RunPod API key to the tools they run (the agent download, its checksum, and the build stub's checkout and build): both are unset before the stub's first command and given ...
v0.1.5
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 apluginpin now loads on a macOS client. The built-inssh,runpodandspritesstay refused there. bitc runs a private, 0500, content-addressed copy of the pinned plugin through a__plugin-execshim that stays the plugin's parent, forwardsSIGTERM,SIGINTandSIGHUP, and takes the plugin's process group down if bitc is killed. Thin and universal Mach-O plugins are accepted, and one that carriescom.apple.quarantineis refused with thexattr -d com.apple.quarantinefix. Known limit: macOS has nono_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/sysis 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 doctorandbitc sweep --dry-runno 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 asunknown("unknown": trueinstatus --json).doctorprints onewarn locks:line naming/proc/locks, andsweep --dry-runnever counts an unknown slot as reclaimable (#24).
Security
- Builds and CI use Go 1.27.4, which fixes the standard-library
net/httpadvisory GO-2026-6859 thatgovulncheckreports in Go 1.27.3.
Known issues
- macOS builds still refuse the built-in remote providers (
ssh,runpodandsprites, 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_cwdorpriority.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).
v0.1.4
This release adds a local heavy pool for one busy machine: a per-run time limit, per-run CPU units with a gate class, a STARVED line that says what it waited for, wait ages in bitc status, and a guard that a queued run keeps its place. A recipe is in docs/local-heavy-pool.md. Tracking issue: #33.
Added
- A per-run time limit for local runs: the host key
pools.<p>.timeoutandbitc run --timeout DUR. The flag can only narrow the pool's limit. The clock starts when the command starts, so waiting for a slot does not count. At the limit bitc terminates the command's process group and exits 124 withbitc: <pool>: time limit <dur> reached; terminated.result.jsonand the history sayoutcome = "timed-out". Remote runs keepremote_limits.timeout. - Land evidence:
result.jsonand the historystartandendlines carryhead(the work tree's commit when the hold starts) andtree_clean.result.jsonalso carriescwd. bitc run --units <group>=<k>: it replaces a pool's unit count for one run. A pool can cap it with the host-onlypools.<pool>.groups_max.<group>. A bad value exits 64 with one line naming the limit. Admission is unchanged: all or none, first in first out, never preempted.status,result.jsonand the history show the units held or asked for.- A STARVED line that says what expired:
STARVED heavy (group cpu busy: wanted 2 of 8 units; waited 1d),STARVED gate (slots busy; waited 3h),STARVED lint (queue; waited 10m). Before, a slot wait printed a bareSTARVED <pool>. Any caller that matched the exact old line should match theSTARVED <pool>prefix instead. - Wait ages in
bitc status: when a pool has waiters, its line shows the configured wait and the oldest waiter's age, for examplelint: 1/1 slots held, 3 waiting (wait 3h, oldest 1h22m), and each waiter line shows its own age.--jsonaddswait,oldest_wait_sandwaited_s. All are optional indocs/status.schema.json. - A conformance guard, T6: a run already queued is admitted before any run that arrives after a slot frees, including in the window before the waiter's next poll.
docs/local-heavy-pool.md: one machine with acpugroup and gate, heavy, light and bench pools.
Fixed
- With
[compat]set, a RunPod launch that cannot open or take the legacy launch lock withinlaunch_waitis now refused as a temporary failure: that provider is skipped, the run goes to the next provider (or local), and it ends 75 only when none is left. It can no longer slip past a legacy launcher's spend cap (#9). - On Linux, a state or accounting dir on CIFS, SMB2, SMB, 9p, AFS or any FUSE mount is now refused (78) like NFS, naming the filesystem, because flock there is not bitc's exclusion. The state-dir message ends with how to point
BITC_DIR(or--state-dir) at a local path (#25).
Changed
- CI runs in the merge queue (
merge_group) and is split into named jobs.make ciis unchanged locally. - The release workflow's
dry-runjob now runsmake release-check, and a newvulnjob runsmake vuln, on pull requests, in the merge queue and on a push tomain, so the run at the release commit is the release gate.vulnis advisory on pull requests.
Known issues
- macOS builds still refuse every remote provider (78). macOS as a client to remote providers (#4, #26) is planned for 0.1.5.
- On Linux without a readable
/proc/locks,status,doctorandsweep --dry-runstill read slot holders with a brief try-lock, so for that moment a concurrent admission can find a free slot busy (#24). Planned for 0.1.5. - Sprites stays refused until the catch-all egress deny lands (#6).
- A run from a working directory in the high priority lane (
priority.high_cwdorpriority.high_cwd_contains) can still starve normal runs in the same pool while high runs keep overlapping. Aging is planned for 0.1.5.
Install
Assets for linux and darwin, amd64 and arm64: bitc_0.1.4_<os>_<arch>.tar.gz (binary, LICENSE, README) and the bare bitc_0.1.4_<os>_<arch>, with sha256 sums in checksums.txt. Check an install with bitc version (expect bitc 0.1.4 (commit 90662ca) ... release=true).
v0.1.3
Changed
-
Breaking for a home on a network filesystem: the remote accounting directory
(~/.local/state/bitc/account: the launch lock, ledger and reservations behind the spend cap) is
now refused like the state dir when it is on a network filesystem, with
accounting dir <path> is on NFS; bitc needs a local filesystem for flock(on macOS the message
names the filesystem type). A remote job then falls back to local with that reason (or exits 69 or
75, as for any remote problem) and launches nothing;bitc config checkexits 78, and so does
bitc statuson a host with remote providers or unfinished reservations;bitc doctor --remote
printsfail accounting dir: ...where it used to skip those checks silently. On macOS a filesystem that statfs does not flag
MNT_LOCAL(FUSE) is now refused too, for both the state and accounting dirs. -
bitc sweepon a host whose home is on a network filesystem no longer just prints the refusal and
exits 0. It tears down only the resources it can prove orphaned without trusting flock (past their
own expiry, with a verified owner tag or a ledger launch line), lists every other own resource with
its age and hourly cost without touching it, writes nothing to the accounting dir, skips the git ref
sweep, and exits 78 naming what it tore down, listed, kept and failed on, so a sweep timer fails
visibly. With no usable install secret or an unusable accounting dir it tears down nothing and
exits 78.What to do: on a host whose home is on NFS or another network filesystem, run
bitc sweep
before upgrading, then move the home to a local filesystem.
A host on a local filesystem is not affected.
Fixed
- On macOS,
bitc config checknow reports an unknown provider name in a pool, as Linux does. - On macOS,
status,doctorandsweep --dry-runno longer make a free lock look busy to a
concurrent admission (a spurious wait, or withwait = 0a spurious STARVED or queue exit) or to a
legacyflock -n. They read lock holders withfcntl(F_GETLK), which takes no lock. Linux is
unchanged.
Known issues
- macOS builds still refuse every remote provider: any
[providers.*]table is a config error (78).
macOS as a client to remote providers (#4) needs
the exec-plugin work in #26; both are planned for
0.1.5. - On Linux without a readable
/proc/locks(no procfs, an LSM or seccomp denial, or gVisor),
status,doctorandsweep --dry-runread pool slot holders with a brief try-lock, so for that
moment a concurrent admission can find a free slot busy
(#24). - On Linux, the network-filesystem refusal covers NFS only; a home on CIFS/SMB2 or FUSE is not yet
detected (#25, planned for 0.1.4). - Sprites stays refused until the catch-all egress deny lands
(#6). - Under
[compat]with remote providers on (experimental_remote), a launch that cannot open the
legacy<legacy_dir>/locks/runpod-launch.lock, or take it withinlaunch_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 longerlaunch_waitunder[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 withoutexperimental_remote, or without[compat], is not affected.
Install
Assets for linux and darwin, amd64 and arm64: bitc_0.1.3_<os>_<arch>.tar.gz (binary, LICENSE,
README) and the bare bitc_0.1.3_<os>_<arch>, with sha256 sums in checksums.txt. Check an install
with bitc version (expect bitc 0.1.3 (commit 9bc24e8) ... release=true).
v0.1.2
Changed
- Breaking: a host file named by
--configorBITC_CONFIGmust now exist. If it does not, every
command that reads the config (all butbitc 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--configorBITC_CONFIG, make sure the file exists,
or drop the setting to use the default file or built-in defaults.
Fixed
bitc cancelright afterbitc run --detachno 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.cancelexits 69 when it cannot read or lock
the job's status, keeps a--killrequest, 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 foregroundbitc run) that arrived just
before the command started could be lost; the run now ends 128+N. bitc config checknow runs the state dir's checks. It exits 78, asstatusandrundo, 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 statuscounts a pool slot held by a legacy shell-pool caller under[compat]as held, and lists
the holder under the pool. Instatus --jsonit is an additiveholdersentry with"legacy": true;
the reportversionstays"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 withinlaunch_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 longerlaunch_waitunder[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 withoutexperimental_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).
v0.1.1
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 thanlocal,
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 doctorwarns while it is on.
What to do: a host that runs jobs on a remote provider addsexperimental_remote = trueunder
[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 exceptbitc sweepand
bitc doctor --remoteexits 78, before any token or deploy key file is read.
What to do: move Sprites pools tolocalor 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, setexperimental_remote = true, runbitc 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 runno 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 --doctorprobes (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 cancelright afterbitc run --detachcan report success while the job keeps running to
completion (present since 0.1.0). Check withbitc 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).
v0.1.0
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 andflock(2)
locks. - Commands
run,status,wait,logs,cancel,sweep,doctor,configandversion,
including detached jobs (run --detach,wait) andstatus --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.tomlthat can only narrow the host's
limits; strict decoding andbitc config check. - Remote providers, all experimental and none proven live yet:
ssh,runpod,spritesand
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 sweepandbitc doctor --remoteto 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,doctorandconfig, 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
memorykey; config error 78); - remote providers (
ssh,runpod,sprites, exec plugins; any[providers.*]table is a
config error 78), and with themsweepanddoctor --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 everypoll), the read-only/proc/locksview instatus(a briefflockprobe
instead), and the last-byte check of a detached log (an empty line may precede__EXIT__).
- memory admission (a pool's
- 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 configuresprites.
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
--namein 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.