Open oliver-sanders opened 1 year ago
Note, because local background jobs are submitted to the "localhost" platform, communication will be broken if the workflow restarts on a different server to the one these jobs were originally submitted to.
To avoid this, we must wait for local background jobs to complete before restarting. This is the same behaviour at the existing auto-restart plugin in cylc-flow.
Add wrapper-script aware mutation for auto-restarting workflows using newer versions of Cylc.
This is intended to make the management of long-running workflows easier by reducing the effort of upgrading to newer versions.
Note that cylc-flow already has the faculty for auto-restarting workflows so it would probably be better/safer to implement this there.
At the UIS end we would need functionality for listing Cylc versions, and some way of flagging to the UI workflows which are running using older versions of Cylc.
Pull requests welcome!