* Robustify plugin file loading
* Lock static file copying
* Improve robustness of static file copying
* Add regression tests
* Handle database not being ready
* Fix identified limitation and refactor code
* Attempt to fix CI job
* instrumentation for CI - will revert
* Another bugfix attempt
(cherry picked from commit b4cb9a9746)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>