Skip to content

v1.4.2

Choose a tag to compare

@wzdavid wzdavid released this 29 Sep 03:10
· 10 commits to main since this release

Stop local parse storage from filling the disk and halting Redis.

Highlights

  • Free-space watermarks on the filesystem that holds temp and output data. Defaults keep an absolute reserve (16 GiB reclaim, 8 GiB floor), capped to a percentage of small disks
  • Cleanup runs as soon as the process starts, then checks disk headroom on DISK_CHECK_INTERVAL_MINUTES even when CLEANUP_INTERVAL_HOURS is long
  • New submissions return HTTP 507, and queued tasks wait, while free space is under the reclaim line
  • /health/ready reports storage unavailable while headroom is low; liveness does not restart the API for a full disk
  • Pressure deletion skips symlinks and paths outside the configured directories, and never removes data younger than TASK_TIME_LIMIT

Upgrade notes

  • Pull v1.4.2 and recreate API, Worker, and cleanup containers. Those directories are bind-mounted, so docker compose restart does not pick up the new code or a changed cleanup command
  • If docker/.env still has CLEANUP_INTERVAL_HOURS=24, set it to 6. The old value no longer delays the first disk check, but age-based cleanup would still run only once a day
  • New DISK_FREE_* settings are optional. Defaults apply when they are unset
  • To keep outputs for about 12 hours, set RESULT_EXPIRES=43200 and CLEANUP_EXTRA_HOURS=0. For about 8 hours, use RESULT_EXPIRES=28800. RESULT_EXPIRES must stay greater than BROKER_VISIBILITY_TIMEOUT_SECONDS
  • /health/deep reports version 1.4.2

See CHANGELOG.md.