Skip to content

Move task event message logic into the API #3399

Closed
@DingoEatingFuzz

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.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions