-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local Jobs UI #1066
Local Jobs UI #1066
Conversation
…g batches. A handy side effect of the JobPool is that we can fix our test cases which rely on waiting for the background jobs to complete.
…dow. Also added a tab for Details, which currently just shows the dispatcher job directory.
I added a commit which fixes #1064. |
I'm getting a |
As far as I understood, using the session id |
I guess the only real world test currently would be dispatching a A more general test might involve some fabricated |
I see, that does sound desirable - SystemCommand is another that spawns a child process, so we have a few examples already. I do seem to be able to do Of course, even if we get this to work for Linux and OSX, we're still laying down a tripwire for any would-be Windows porters. There is the psutil module which seems to do all this in a cross platform way, if we can stomach another dependency. How important do you think this feature is? |
This adds a window for tracking jobs dispatched via
LocalDispatchers
. It adds the concept of aJobPool
, and a default pool which is shared among allLocalDispatchers
that use the default constructor. There is oneLocalJobsWindow
perJobPool
, which provides a table view of the jobs in the pool, with some stats on memory and cpu usage. There is also a details tab for more information on the first selected job, and a messages tab which tracks the progress of the first selected job. Finally, there is a Kill button which can be used to interrupt the selected jobs.The job window for the default pool can be accessed via the "Execute->View Local Jobs" menu.
Fixes #872.
Note that bb998f6 also fixed a bug where failed batches wouldn't prevent downstream requirements from executing.