Closed
Description
Currently the alloc-status command has a 100+ line decision tree for determining what message to show given the shape and state of a task event.
The UI duplicates this logic for the allocation detail page.
alloc-status source
Nomad UI source
This should be moved up into the API so the two implementations won't drift and so other API consumers can benefit from simple message property.