Repository navigation
0.1.4
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.--jsonemits a schema-versioned document; release lookup failures stayunknown. Everydistrict applyrewrites${XDG_STATE_HOME}/district/install-state.json, anddistrict reportreads its install section from that record. (#108, #109)
Fixes
- A busy factory no longer pauses the whole fleet.
district applyused 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 metricsis 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 applyFresh install:
uv tool install git+https://github.com/mikeroySoft/district@v0.1.4Full Changelog: v0.1.3...v0.1.4