You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
UX/Runtime: Tell me what's happening when a step is spinning #4337
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.
This will prob take a bit more effort.
Reacted by Taylor Silva, Lindsayauchin, Alex Suraci and Simon Tremblay
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.
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.
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)
Activity
kcmannem commentedon Sep 2, 2019
cc @Lindsayauchin
maxknee commentedon Sep 10, 2019
#1891 I think is similar
Lindsayauchin commentedon Sep 10, 2019
@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?
kcmannem commentedon Sep 11, 2019
@Lindsayauchin I'm cool with that.
vito commentedon Sep 16, 2019
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.
vito commentedon Sep 30, 2019
Note: the
taskstep will be the most stable component to start integrating this into.jchesterpivotal commentedon Oct 1, 2019
pls to provide all the structured timing data for analysis
vito commentedon Oct 1, 2019
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)
taylorsilva commentedon Jan 6, 2025
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.