Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Tracked by #7812
geropl opened this issue Feb 14, 2022 · 5 comments
Closed
Tracked by #7812

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

geropl opened this issue Feb 14, 2022 · 5 comments
Assignees

Comments

@geropl
Copy link
Member

geropl commented Feb 14, 2022

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.

@geropl
Copy link
Member Author

geropl commented Feb 14, 2022

/cc @jldec I tried to dig up all places in the code I could think off. Might still be incomplete.

@jldec
Copy link
Contributor

jldec commented Feb 16, 2022

Thanks @geropl - I agree and made a similar comment earlier today.

The inconsistent behavior of prebuild status and logs is adding to the perception of prebuild unreliability.

@jldec jldec changed the title [dashboard, (server?)] Incosistent derivation of prebuild status [dashboard, (server?)] Inconsistent derivation of prebuild status Feb 16, 2022
@jldec jldec moved this to Scheduled in 🍎 WebApp Team Feb 21, 2022
@geropl
Copy link
Member Author

geropl commented Mar 4, 2022

A concrete bug caused by this: #8592

@easyCZ
Copy link
Member

easyCZ commented Apr 5, 2022

@easyCZ easyCZ moved this from Scheduled to In Progress in 🍎 WebApp Team Apr 5, 2022
@easyCZ easyCZ self-assigned this Apr 5, 2022
@easyCZ
Copy link
Member

easyCZ commented Apr 8, 2022

Closing, completed except for 1 instance.

The only remaining instance is
main/components/dashboard/src/components/PrebuildLogs.tsx#L87 which will require streamlining how we deal with prebuild logs. I think improvements to prebuild logs can come through the public API layer rather than here directly.

@easyCZ easyCZ closed this as completed Apr 8, 2022
Repository owner moved this from In Progress to Done in 🍎 WebApp Team Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants