Healthchecks v5.0

v5.0
Added 2
  • Existing Shell integrations can be edited
  • Check description field has a 10000 character length limit
Changed 6
  • Docker image web server changed from uWSGI to gunicorn; custom docker-compose.yml command parameters must execute /opt/healthchecks/run.sh instead of uwsgi removed · inferred, marked in the notes below
  • Docker image uses the GUNICORN_WORKERS environment variable to set worker process count, falling back to UWSGI_PROCESSES if unset, and defaulting to 4 workers
  • When any child process (sendalerts, sendreports, smtpd) crashes in the container, the entire container terminates instead of only restarting the crashed process
  • HTTP notification transports accept HTTP 205 responses
  • The smtpd management command uses the minismtpd library
  • The Shell integration uses env variables instead of text substitution behavior changed · inferred, marked in the notes below
Fixed 3
  • Project invite email template mangles URLs in project names
  • Transfer request email template mangles URLs in project names
  • Email integration handles SMTP connection errors gracefully

4 changes to check, marked in the notes below

From Healthchecks

This release changes the web server included in docker images from uWSGI to gunicorn. This change may affect existing setups, hence the major version bump.

If you use a customized docker-compose.yml file, the command parameter needs to updated to execute /opt/healthchecks/run.sh instead of uwsgi. See the docker-compose.yml file in the repository for an example.

The docker image now uses the GUNICORN_WORKERS environment variable to determine how many worker processes to launch. For backwards compatibility, if GUNICORN_WORKERS is not set, the docker image then falls back to the UWSGI_PROCESSES environment variable. If neither is set, it defaults to 4 workers.

The handling of crashes in child processes has changed. Before v5.0, if any child process (sendalerts, sendreports, smtpd) inside the container crashes, it gets automatically restarted, but the other processes are unaffected. If the the problematic child process keeps crashing, it may end up in a restart loop while other processes keep operating. In v5.0, when any child process crashes, the entire container terminates. If docker is configured to restart the container, the net effect is that a crash in any child process causes a restart of all child processes. behavior changed · inferred

Improvements
  • Fix project invite email template to mangle URLs in project names
  • Fix transfer request email template to mangle URLs in project names
  • Update HTTP notification transports to accept HTTP 205 (#1347)
  • Update the smtpd management command to use the minismtpd library
  • Update the Shell integration to use env variables instead of text substitution behavior changed · inferred
  • Add ability to edit existing Shell integrations
  • Update the Docker image to use gunicorn instead of uWSGI (#1349, #1201) removed · inferred
Bug Fixes
  • Fix the email integration to handle SMTP connection errors gracefully (#1346)
  • Add 10'000 character length limit for check's description field behavior changed · inferred
View original

Upgraded? How did it go?

Discussion