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

Epic: Improve reliability of prebuilds and prebuild logs #7812

Closed
8 of 9 tasks
jldec opened this issue Jan 25, 2022 · 9 comments
Closed
8 of 9 tasks

Epic: Improve reliability of prebuilds and prebuild logs #7812

jldec opened this issue Jan 25, 2022 · 9 comments
Assignees
Labels
team: webapp Issue belongs to the WebApp team type: epic

Comments

@jldec
Copy link
Contributor

jldec commented Jan 25, 2022

Summary
Users have reported sporadic issues with prebuilds not happening, or prebuild logs not showing up. The goal of this epic is to identify specific root causes in separate issues, and mitigate those one by one.

@purkhusid
Copy link

I would like to add an issue that I've seen happen for my repo:

  1. Be in the Web UI and click Open Workspace on a branch that has an active prebuild
  2. Wait until the prebuild finishes and the workspace is automatically opened
  3. Notice that the it seems like the prebuild was not presisted and the prebuild steps have been triggered inside the workspace on workspace open

@shaal
Copy link
Contributor

shaal commented Feb 8, 2022

@purkhusid I've seen that as well.
When I disable all automatic prebuild in Github - I no longer see that.
After a commit, if I didn't manually trigger a prebuild, I'll see the init tasks running when I open worksapce.
If I trigger a prebuild - I'll see the init tasks in prebuild, and after that every new workspace will not run again the init tasks.

@geropl
Copy link
Member

geropl commented Mar 3, 2022

In the context of this issue we found that failing prebuild instances would sometimes:
1.) fail on first start
2.) be re-started (why?)
3.) eventually stop, but without(!) an error: overriding the bad state with a"positive" signal in the DB ⚠️
This could be a root cause for the perceived unreliability, of course.

Note that this seems to occur most with private repos, so not sure if this is a general issue or not.
/cc @jldec @JanKoehnlein

@jldec
Copy link
Contributor Author

jldec commented Mar 7, 2022

I would like to include #8446 as part of this epic once we can identify / extract actionable sub-tasks.
#8637 may be a good candidate for an incremental prebuild UI improvement.

@jldec jldec moved this to Epic in Progress in 🍎 WebApp Team Mar 17, 2022
@geropl
Copy link
Member

geropl commented Apr 5, 2022

@easyCZ If you have a spare minute or two, and as you're the one with the most context loaded in your prefrontal cortex 😉 : Could you go through the issues listed here and see if they are still relevant? If not clear, please ask the original author for clarification.

Especially these maybe can be closed, because they are too broadly scoped, and/or the core issues have already been resolved with one of your PRs:

@easyCZ
Copy link
Member

easyCZ commented Apr 5, 2022

@geropl Thanks, I've already closed a couple yesterday and keeping an eye on these.

For #8197, there are still 2 more PRs that need to go in to fully normalize the status, will make sure I close this once they land.

@geropl
Copy link
Member

geropl commented Apr 13, 2022

@easyCZ Please ping me if I can help create a (or two!) follow-up epics for this. 🙏

@easyCZ
Copy link
Member

easyCZ commented Apr 13, 2022

Will be splitting it up this morning! Originally intended to do it yesterday after lunch but didn't want to break my flow on another topic. Will post here once complete, with pointers to the new epics.

@easyCZ
Copy link
Member

easyCZ commented Apr 13, 2022

I've reviewed and triaged this epic. We're splitting the remaining pieces of work in prebuild reliability into two new epics:

Relevant issues have been linked to the new epics.

As a result of this, I'm also closing the current epic.

@easyCZ easyCZ closed this as completed Apr 13, 2022
Repository owner moved this from Epic in Progress to Done in 🍎 WebApp Team Apr 13, 2022
@geropl geropl mentioned this issue May 30, 2022
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team: webapp Issue belongs to the WebApp team type: epic
Projects
Archived in project
Development

No branches or pull requests

5 participants