Skip to content

Dashboard: a running job counts as healthy in the overview and its card #591

Closed

Description

@7schmiede

What happens

statusBucket in ui/src/lib/status.ts puts a running service into the healthy bucket without looking at its kind. Since #544 a job (kind = "job") is running while it runs, so the overview's healthy badge and a job's shortcut card count a migration that still runs as healthy. The mock hub's summary (ui/src/api/mock/index.ts, ready) counts it the same way.

Expected

A running job is in the starting bucket until it completed, as the daemon (#573) and the hub's summary (#575) count it.

Sibling of #575 and #571 (bug class running-read-as-ready); found while fixing them, not reproduced in the dashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions