Ideas for CLI dashboard #3301
Replies: 5 comments 45 replies
-
|
@Ciprian167 thats an interesting idea. Certainly simplifying the information stream would be helpful. We allow the web dashboard to to get updated during the run, so I think it could be as simple as implementing an abstract class of the Dashboard to allow updating of the information: We call: duing the run and for the web dashboard is rewrites a file since streamlit doesn't have a way to backchannel this information.This callback could be modified to update the table you are referencing. If this variable is set we perform the callbacks: siliconcompiler/siliconcompiler/core.py Line 93 in f735437 It might make sense to have a mockup of the configuration so we can agree on what it should look like? |
Beta Was this translation helpful? Give feedback.
-
|
@gadfort I got some time to create a draft. I got it to something like this. test.py. The green question mark from the progress bar is just a recording artifact.
I'm developing here but I'm happy to make a PR so we can discuss there. |
Beta Was this translation helpful? Give feedback.
-
|
@gadfort Thanks for scaling up the updates. I've been trying your latest changes and look good. There is one thing that I think it would make sense from a usability perspective. In large jobs, like verification jobs where you have 30-40 tests running, the dashboard can become cluttered. Would it be possible to have a view where we display only the RUNNING ones and ERROR ones? I initially started like you, but then changed to only display the RUNNING and ERROR ones, because of the clutter. Then changed the RUNNING ones into green to provide some positive feedback to the user. But that can remain yellow. I think it would benefit from shrinking the foot print. Now I don't even get to see what the SC logger prints. :D |
Beta Was this translation helpful? Give feedback.
-
|
@Ciprian167 I think it's ready to be merged in. |
Beta Was this translation helpful? Give feedback.
-
|
@gadfort some of my mates tried the cli dashboard, and they seem happy. I used it in various scenarios and seems quite stable for now. One big feature that's missing is the multi-job support. If you can point me to the right directions, I can start working on it. |
Beta Was this translation helpful? Give feedback.






Uh oh!
There was an error while loading. Please reload this page.
-
In projects with complex flowgraphs, the CLI logging can get quite cluttered, especially when there are multiple flow nodes running at the same time. When there are multiple jobs running, the user will always have to run with
(option, quiet)set, and possibly the(option,verbosity,error). But by setting those, it takes away some of the feedback provided to the user, especially the verbosity setting.What I would like to see when I run SC would be a list of all the nodes in the graph, in a table-like fashion, with a status column, and pointers to logs if the node has errors. I'm wondering how hard it would be to implement something like this. There are libraries like rich that can help.
I know there is a web dashboard that users should probably use for this purpose, but a CLI dashboard would be a very nice addition.
Would it be hard to implement a "CLI dashboard" in the current architecture? Can you give me some pointers on where I could start? In particular I'm interested on how I can get "real time" information from the scheduler, without polling the schema.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions