Improve verdi work list and verdi work report #888
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #318
Improvements to
verdi work list
andverdi work report
Recently another terminal state was added for
WorkCalculations
tobe able to support aborting running
WorkCalculations
. With thatthe state picture of a
WorkCalculation
also became a little bitbetter defined. A
WorkCalculation
has three terminal states:FINISHED
FAILED
ABORTED
These states are set by the corresponding attribute to the node
and are mutually exclusive. If the
WorkCalculation
is in neitherone of these three terminal states, it can be considered by
inference to be
RUNNING
.A node can also be sealed or unsealed. It can only be sealed until
after it has reached one of the three terminal states. If a node
is sealed but is not in a terminal state, the state is inconsistent
and so we print
Unknown
. This is to prevent fromWorkCalculations
during which the code excepted will be incorrectly labeled
as
RUNNING
, which would confuse the user.