Repository navigation
0.1.6
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 applydrops the stalefactory_sourcekey from the host config, keeping a timestamped backup (#111), and removes per-versionfactory-*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 atriage_host.district add --hostjoins 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 applystops a timer again iffactory installstarted it after the operator stopped it, and records the stop inlast_apply.stopped; apply and--upgraderestore only the timers they paused. A first install, or an apply where the repo's units are unchanged, still runsfactory install, which re-enables a stopped timer; that is tracked in mikeroySoft/factory#549. (#138) - Hand-run uv-tool
factory gateandfactory dispatchwork 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 applyFresh install:
uv tool install git+https://github.com/mikeroySoft/district@v0.1.6Full Changelog: v0.1.5...v0.1.6