Prevent Alembic from altering the Python logging configuration when stamping a new database. However, allow it to alter the logging configuration when run standalone.
Fix a bug in the SocketIO stream handler. On shutdown, it had a bug that prevented it from correctly closing connections to remote hosts. The unit tests have been adjusted slightly to trigger this code to test it.
Added a function to the instance manager that can actively check running instances. This is designed to run from a periodic job to check that all instances on the local heart are still running.
Added a periodic check to actively check that instances are still running. This runs on all heart nodes every 60 seconds.
Updated the job manager (and backend) to clean misc entries out when deleting jobs. This is to clear the abort handlers list in the job manager, to stop the memory leak that was occuring because of this.
Added a periodic plugin to deregister old instances after a given timeout. Used for cleaning up ERROR instances, and optionally STOPPED instances of non-current versions of applications.
Enhanced the validation on the old instances plugin, so you can only specify valid instance state names.
Fixed a bug/edge case where Shutdowns or Deregistrations that limited the instances (as called by the health manager and other such tasks) would actually change the version state, which was undesired. When queuing up the jobs, an additional flag is set if limiting to instances to stop the version state being updated.
Updated the log viewer javascript regex for detecting the line log levels. The regex was previously matching ERROR if it appeared in the actual log message, which broke the layout of the log.