Skip to content

0.1.6

Choose a tag to compare

@mikeroySoft mikeroySoft released this 02 Nov 06:11
· 22 commits to main since this release
352120b

What's Changed since v0.1.5

Features

  • One Factory install per host: District owns the single Factory uv tool install on every host, local and remote. district apply drops the stale factory_source key from the host config, keeping a timestamped backup (#111), and removes per-version factory-* folders under the District data dir that no unit, launchd agent, host config, or uv receipt still references; if the reference scan is incomplete, nothing is removed. An engine swap is deferred to the next apply while any factory work runs on the host; process state District cannot read counts as busy (fail-closed), and registry dashboard units do not block. (#136, #137)
  • One repo on several hosts: a repo table may list hosts = [...] with a triage_host. district add --host joins a second host; apply pins the same Factory engine SHA on every host and rolls moved hosts back when one fails; doctor and status flag engine, worker, and model drift across hosts. (#134, #135)
  • Per-host engine source and defaults: remote hosts get their own Factory engine source and [defaults] overrides (gh config dir, signing key, triage URL). (#130, #131)

Fixes

  • Operator-stopped timers: when a repo's units change, district apply stops a timer again if factory install started it after the operator stopped it, and records the stop in last_apply.stopped; apply and --upgrade restore only the timers they paused. A first install, or an apply where the repo's units are unchanged, still runs factory install, which re-enables a stopped timer; that is tracked in mikeroySoft/factory#549. (#138)
  • Hand-run uv-tool factory gate and factory dispatch work defers an engine swap. (#138)

Internal

  • Factory lessons file updated. (#144)
  • Project page updated for 0.1.6.

Install / update

district update --to v0.1.6 --yes
district apply

Fresh install:

uv tool install git+https://github.com/mikeroySoft/district@v0.1.6

Full Changelog: v0.1.5...v0.1.6