Skip to content

UX/Runtime: Tell me what's happening when a step is spinning #4337

Closed as not planned

Description

@kcmannem

It's hard to really know what Concourse is doing when it shows you a loading spinner. This is because Concourse is doing multiple things in preparation to run the step. At a high level the loading spinner can represent any stage in [Picking a worker, Making a container, Mounting inputs, Attaching, etc...]. This is really long process that signals false positives to the users that something maybe wrong or give the impression that Concourse is slow.

In many products, when you see a loading spinner you can make a assumption for what its trying to do. The loading spinner only indicates one thing. If youtube is showing a loading spinner you can assume that its waiting for slices of video to come in. If you've scrolled to the bottom of your newsfeed and see a loading spinner, you know that more news posts are being fetched. We risk making the loading spinner even more ambiguous when the Kubernetes runtime comes in as the preparation stages there will be completely different.

Can we raise the visibility and provide feedback to users of what's happening?

The simplest approach is to write out the important Concourse debug logs (format them a bit so they're not json) to the StdOut/Err build event stream. This means they'll show up in User's step logs like how image fetching logs are shown. Or we can be a bit fancier and show something like this.
Screen Shot 2019-09-01 at 7 43 40 PM
This will prob take a bit more effort.

Activity

  1. kcmannem commented on Sep 2, 2019

    @kcmannem
    ContributorAuthor
  2. maxknee commented on Sep 10, 2019

    @maxknee

    #1891 I think is similar

  3. Lindsayauchin commented on Sep 10, 2019

    @Lindsayauchin
    Contributor

    @kcmannem This is a great idea!

    Looks like there is good user validation that this is needed system feedback for users.

    What do you think of using an inline style with just a font colour update instead of using the tooltip UI style?

    The rational is to keep the tooltip style as a label whereas I would view this as visibility of system feedback justifying a new style different from the tooltip.

    @pivotal-jamie-klassen @jomsie thoughts?

    Screen Shot 2019-09-10 at 3 29 47 PM

    Screen Shot 2019-09-10 at 4 52 22 PM

  4. kcmannem commented on Sep 11, 2019

    @kcmannem
    ContributorAuthor

    @Lindsayauchin I'm cool with that.

  5. vito commented on Sep 16, 2019

    @vito
    Contributor

    From IPM: seems like this could be additional events recording 'sub-tasks' (?) which start and finish within a step. We should support concurrent sub-tasks (i.e. volume streaming). We also talked about showing this in a non-hover tooltip, along with...various other ideas.

  6. self-assigned this
    on Sep 16, 2019
  7. vito commented on Sep 30, 2019

    @vito
    Contributor

    Note: the task step will be the most stable component to start integrating this into.

  8. jchesterpivotal commented on Oct 1, 2019

    @jchesterpivotal
    Contributor

    From IPM: seems like this could be additional events recording 'sub-tasks' (?) which start and finish within a step.

    pls to provide all the structured timing data for analysis

  9. vito commented on Oct 1, 2019

    @vito
    Contributor

    This could also be how we clean up image fetching output. It would be great if we could put those logs into one of these sub-tasks instead of directly in the task's log. Maybe even show the version of the image that was used as a 'sub-task result'. Are there other use cases for this kind of thing? Maybe worker info as a result of the 'choose worker' sub-task or something? (see #4519)

  10. taylorsilva commented on Jan 6, 2025

    @taylorsilva
    Member

    Issue Bankruptcy

    This issue is being closed as part of 2025's Issue Bankruptcy declaration. See here for details

    If you think this issue still has merit then feel free to open a new issue and reference this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions