Bug 3896

Summary: improved feedback during package build
Product: [Build System, Metadata & Runtime] Hob Reporter: Trevor Woerner <twoerner>
Component: hobAssignee: Belen Barros Pena <belen.barros.pena>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: Low CC: belen.barros.pena, cristian.iorga, jessica.zhang, poky.bs.watcher, poky.watcher, valentin.popa
Version: unspecified   
Target Milestone: Future   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
running-tasks-tab.pdf none

Description Trevor Woerner 2013-02-16 21:04:30 UTC
When a user clicks on "Build Image" and the "building panel" is displayed,
I think it would be nice if the currently active build (i.e. the "green")
items were always at the top of the list (i.e. just underneath the "Build
Configuration:" block) instead of scattered throughout the list of items
that have finished building and those that are still being built.

For example, if my build is using 8 threads/parallel builds, and I'm building
core-image-minimal, then at any time up to 8 things can be building at a time.
If I want to see which things are currently building now, I have to scroll
up and down through the list to see which items are currently "green".

I think it would be better if (similar to how the new knotty interface
works) the items currently being built were always on top. Then, when a
recipe is done building, it could then be added to the downward expanding list
of already-built recipes.

So if the user wanted to see the list of things that are done building they
can scroll through the list, but otherwise anything currently actively being
built will always stay in one convenient location (no scrolling required).

I realize that the UI does show the "Running task" at the very top, but
this (and the "Recipe" line below it) only show one thing at a time, not
how all N build threads are doing.
Comment 1 Trevor Woerner 2013-02-16 21:09:28 UTC
Sorry, I was correct the first time. This is during "package" build.
Comment 2 Jessica 2013-02-22 20:51:44 UTC
Belen,

See does this involve some design work?  

Thanks,
Jessica
Comment 3 Belen Barros Pena 2013-02-25 10:08:02 UTC
It might. To be honest, knotty2 seems to be doing a pretty good job at communicating build progress. I was going to suggest embedding the knotty interface in the 'Log' tab. 

Do you think that could work?

Belen

(In reply to comment #2)
> Belen,
> 
> See does this involve some design work?  
> 
> Thanks,
> Jessica
Comment 4 Belen Barros Pena 2013-02-25 12:03:56 UTC
Created attachment 1082 [details]
running-tasks-tab.pdf

I've looked at this bug and #3897. The common request between the 2 seems to be: I want to easily see which tasks are running at any given time.

Ideally, I would like to find a single solution that satisfies the requirement for both building packages and building image situations. So, what about the following:

- In the Build screen, take out the "running task" and "recipe" lines, since they won't scale well (they'll take too much space when there is a lot of parallelism)

- Add a new tab to the screen, with label "Running tasks". We embed in it the knotty2 CLI. This is the tab we show by default and it is the place where you can see which tasks are running at any given time. 

- The log tab still displays a list of tasks by package, as it does now, but we show those packages with running tasks expanded, with the task itself (not the package) highlighted. Once the task completes, the package collapses.

I've attached a quick mockup 

Let me know what you think
Comment 5 Trevor Woerner 2013-02-26 13:06:33 UTC
(In reply to comment #4)
> Let me know what you think

I think that looks great.
Comment 6 Belen Barros Pena 2013-02-26 13:37:32 UTC
Thanks, Trevor.

Unless anybody else has some feedback, I think we have a design we can implement.

(In reply to comment #5)
> (In reply to comment #4)
> > Let me know what you think
> 
> I think that looks great.
Comment 7 Belen Barros Pena 2014-05-14 16:40:55 UTC
At this point, work will take place on toaster, not hob, so marking as won't fix.