Repository navigation
4.1.2
A PATCH release: it fixes the Celery worker's healthcheck in docker-compose.yml and the benchmark check in CI. No change to the application code or the API.
Fixed
- The
celery-workerhealthcheck runs undertimeout 9. Each check starts a whole Celery process (70-120 MB); one that outlived the 10 s healthcheck timeout was counted as failed but left running, so on a CPU-starved host the checks piled up, about 30 MB more every 10 s, until the kernel killed the worker for memory. Found by a load test on a 2 vCPU server; with the fix the same setup held at about 120 MB. A test pins that the check ends itself before Docker's own timeout.
Changed
- The
benchmarkCI job times the base commit and HEAD one after the other on the same runner (.github/scripts/benchmark_ab.sh) and fails when a median on HEAD is more than 35% slower. It used to compare with a baseline saved by an earlier run onmain, which came from another runner: six reruns of the 4.1.1 commit landed on three CPU models whose medians differed by up to 2.26 times, and three of the six failed the 80% gate with no change to the code. On one runner, six runs of unchanged code put HEAD within 6% of the base on the CPU benchmarks and within 22% on the request benchmarks.
Full list: CHANGELOG.md, compare: v4.1.1...v4.1.2