Skip to content

[dashboard, (server?)] Inconsistent derivation of prebuild status #8197

@geropl

Description

@geropl

This leads to inconsistencies in our UI (prebuild says "FAILED", but re-triggering yields "cannot start - still running") and strange errors (hanging on prebuild logs).

Examples where we're interested in the state/properties of a prebuild, but use different sources:

I don't think that all of those usages are wrong per-se, but I think the fact that we see such a variety of ways to answer the same question is a strong hint that our data model/API lags functionality or reliability.
IMO it's worth going through all cases and understand the motivation and problems that the current API poses and fix those.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions