mlexchange / mlex_highres_segmentation

A Dash interface for ML-based segmentation of user-annotated large multi-dimensional image data
Other
5 stars 4 forks source link

Improve startup robustness and monitoring for connected services #185

Open Wiebke opened 3 months ago

Wiebke commented 3 months ago

This PR adds a new affix to the interface indicating the reachability of infrastructure including access to Tiled for input data, masks, and segmentation results, as well as Prefect server and Prefect worker. Additionally, infrastructure components not being available no longer hinders startup of the application, but instead issues a warning.

Reachability is queried once per minute. Since Prefect is also querying the state of its workers at an interval of a minute, there may be a delay in recognizing if the Prefect worker is up an running.

The state is shown with colored icons in the affix on hover and also summarized by color (red if anything is unreachable, gray if everything is reachable).

Screenshot 2024-07-31 at 11 31 04

Adresses #180.