Skip to content

0.1.4

Choose a tag to compare

@mikeroySoft mikeroySoft released this 29 Oct 19:31
· 41 commits to main since this release
86cee3b

What's Changed since v0.1.3

Features

  • district install-state: one timestamped, machine-readable record of install, engine, timer, hold, and last-apply state. --json emits a schema-versioned document; release lookup failures stay unknown. Every district apply rewrites ${XDG_STATE_HOME}/district/install-state.json, and district report reads its install section from that record. (#108, #109)

Fixes

  • A busy factory no longer pauses the whole fleet. district apply used to switch off every factory's timer and wait up to an hour for running passes. It now checks for running passes before touching any timer. A shared-engine install waits for the next apply while any factory is busy, leaving timers and the installed engine as they were, and exits 0. Only repositories whose units actually change are drained, and only while idle. (#110, #112)
  • Drains are bounded: an install keeps timers drained for at most 120 seconds, and timers return to their prior state on every exit path. district metrics is no longer blocked by a waiting apply. (#112)

Internal

  • The install-state record moves to schema 2, which records deferred work with its reason and since time. (#112)
  • Apply tests now check behavior (no sleeping on a busy pass, unchanged units left alone), not internal call structure. (#112)
  • Project page updated for 0.1.4. (#113)

Install / update

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

Fresh install:

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

Full Changelog: v0.1.3...v0.1.4