Closed TheLortex closed 1 year ago
what do you think ? it's low level but would it be possible to have that somewhere in the ocurrent api ?
I guess we could have a Current.observe
that does that.
A general purpose show-failed-nodes feature sounds useful too.
(and if the failed nodes are always cluster jobs then the Query page will find them already)
Currently it's hard to figure out why packages fail. One can randomly look at failures but it is not efficient.
This PR adds a current web page to display which packages are not displayed on the documentation website and gives an overview of at which stage it went wrong.
I have also added a minimal example using the monitor module to test its behaviour.
warning
I needed to expose ocurrent's executor module to obtain this feature.
The rationale is that I don't want to maintain the monitor's state using ocurrent because it would require tracking a lot of nodes. Instead it's better to query the ocurrent state occasionally (when the page is requested) using this function. It's done in this commit: https://github.com/TheLortex/ocurrent/commit/c9f5f9a882d02426937988dccdd7ba291185be29 @talex5 what do you think ? it's low level but would it be possible to have that somewhere in the ocurrent api ?