Repository navigation
Build State Release and Filesystem Pressure
Summary
Suds 0.1.11 releases the build state beneath a claimed checkout, reads pressure from the filesystem as well as the arena, and brings the caches of Conan, uv, pip, and npm under budgets. A paused scheduled run now measures. Bosun's removal check must read the new registry event before any client releases build state.
Highlights
- Build state leaves while its checkout stays claimed:
suds release --build-statereleases the build state beneath a checkout alone, andsuds reclaimcan then remove that idle build state while the claim keeps the checkout. - Pressure follows the filesystem: a measurement reads the higher of the arena's level and the level of the first root's filesystem, so a full disk no longer reads as
normal. - Budgets for the caches of Conan, uv, pip, and npm:
suds storesmeasures each cache and proposes its program's own trim beyond the budget, and--applyruns it. - A paused scheduled run still measures: while
pause.jsonis active,suds maintainrecords the pressure and reclaims nothing. A partial measurement exits with status 1.
Breaking Changes
- The registry holds a new event:
suds release --build-stateappends asuds.registry/v1record whose event isbuild_state_released. A reader of the registry that accepts onlyregisteredandreleasedrejects the whole registry once any client records the new event. Bosun's removal check through 0.33.0 is such a reader.
Upgrade Notes
- Update Bosun before releasing build state: Bosun's removal check rejects a Suds registry that holds a record of
suds release --build-state. Install a Bosun release that holds the fix of pithecene/bosun#1041 before the first such release on a workstation. Otherwise each check of a worktree's removal that reads that registry fails.
References
Full Changelog: v0.1.10...v0.1.11