You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The hub's summary counts a running job as ready #575
Since #544 a job (kind = "job") is running while it runs. The hub's summary (crates/devstack-hub/src/notify/rules.rs, Scope::glance) counts a running service as ready, so a stack whose migration job still runs shows as ready on the start page and in its notifications. starting is no longer set for a job, so nothing there says it is still coming up.
Expected
A running job counts as starting, as the daemon's own checks do (start_and_wait, ensure_after, a command's requires, and since #573 a lane's start on a node). The summary needs the service's kind for that: service events carry no kind, so it would come from the snapshot.
Found in a code review before 0.49.4 (sibling of #573).
Activity
fix(daemon,hub): a running job is not counted as ready or live
fix(ui): a job that still runs is not counted as healthy (#601)