flat-manager
flat-manager copied to clipboard
flat-manager-client should reattach to an in-progress job rather than failing
After being killed (for instance because of #2) running flat-manager-client with --wait complains the the build is already committed even though the commit is still in progress.
It would be nice if it could still wait for the running job to finish (and if possible, print its output).
If this behaviour isn't 1:1 desirable for Flathub app builds, there could always be a separate parameter for us to use.
I don't think re-running it the same way and doing something else is right, but we should have a way to just connect to and wait for a running job.
How do we know though if the commit succeeds or not if backend may return garbage?
Well, the garbage response is just a temporary network issue. You can reconnect to the service and get the status of the job.