Skip to content

Prebuilds show wrong Pending status while pulling & building image(s) #11248

Closed
@szab100

Description

@szab100

Bug description

Prebuilds show "Pending" status while they are already building the workspace's Dockerfile (basically the docker part), and the output is already being streamed to the UI as well. This phase - depending on the complexity of the used dockerfile & structure of base imgs - can last quite long and apart from the wrong UI messaging, the major issue is that due to this time spend in Pending status, Gitpod does not count it towards the time spent (and saved) during the prebuild.

image

Example:

  • image building takes 5 mins
  • running before & init commands take 7 mins
  • => Gitpod welcomes the user saying he saved only 7 mins, while if starting the same workspace from scratch w/o a prebuild, users wait the full 5 + 7 = 12 mins

Steps to reproduce

Just use some more complex dockerfile for the workspace, even better if it is using a base that has not been loaded on the node before.

Workspace affected

No response

Expected behavior

See the "Running" status while building the image, or some new differentiated status, like "Initializing" (elapsed time in this status is still counted into prebuild times).

Example repository

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    In Validation

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions