With the new version of metadiags, it will create an output folder with a file for each diagnostic run. If a list of runs is created before starting the run with the --dry-run flag, it should then be possible to create a percent completion progress bar for the user.
The biggest issue here is how to stream the data back to the user. Do I setup websockets? Do I do a poll of the server every couple of seconds, like I am for the queue status? do I just package the percent completion into the queue status return?
Although I would like to use websockets (and I think they;re the 'correct' solution) I think it would be a bit of a pain to get them working just for this one piece.
With the new version of metadiags, it will create an output folder with a file for each diagnostic run. If a list of runs is created before starting the run with the --dry-run flag, it should then be possible to create a percent completion progress bar for the user.
The biggest issue here is how to stream the data back to the user. Do I setup websockets? Do I do a poll of the server every couple of seconds, like I am for the queue status? do I just package the percent completion into the queue status return?
Although I would like to use websockets (and I think they;re the 'correct' solution) I think it would be a bit of a pain to get them working just for this one piece.