-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add grouping for HUD View #198
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/torchci/torchci/2WiC4oLteFXgZcN3SzViNy4irXHi |
This is totally fine; I prefer this anyway.
This is 100% correct since nothing should be canceled on trunk/release/nightly.
lol
Oh hm. Will this be improved in a later PR?
Yea, though doesn't hurt to have? |
Yea I will address them in followup PRs. I think this works OK for now though.
|
I might not have been clear, but there is a "dont use group" view checkbox at the top, near search bar that shows you basically the old version. |
I think it's fine yes. Unless you have a crazily wide screen, it is pretty unreadable without it :D |
Can we get less horizontal space between grid columns? Right now, if I expand "linux" jobs, I can't see them all, even on my relatively large external monitor (which previously could fit all jobs) |
Sounds good. I added spacing because I felt that the jobs names were overlapping with each other. |
@@ -0,0 +1,196 @@ | |||
import { GroupData, RowData } from "./types"; | |||
|
|||
const groups = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should come up with a more maintainable way of grouping jobs; a collection of regexes is likely to break over time and requires changes to the HUD to change the groups.
Should we enforce some convention on CI names and group on that basis? For example, we could do: -
separated, from least specific grouping to most specific. e.g. linux-py3.7-cuda10.3
, linux-py3.7-cpu-clang12
, linux-py3.7-cpu-gcc7.3
. This code could then be turned into name.split("-")[0]
, and eventually we can build a tree-ish structure similar to https://ci.chromium.org/p/chromium/g/main/console. Thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I took this from the old HUD just to keep parity between the two. I think changing the names is a good idea since some of the workflows and stuff have different naming standards like some of the builds vs publish to s3 or something. It might also allow for better classification/parsing and stuff like how you described but it seems a bit out of scope.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just made it
pytorch/pytorch#72814
One more followup: right now the logic for collapsing groups is wrong; if I have multiple groups open and collapse one, they will all collapse. Clicking to collapse a group should only collapse that group.
yeah, I do agree that the group names look a little crowded. Ideally we can have different spacing for the group columns vs. job columns, maybe as a followup re: overall naming/regex thing. I agree it shouldn't be blocking. Can you file an issue so we track the followup? |
One more followup: right now the logic for collapsing groups is wrong; if I have multiple groups open and collapse one, they will all collapse. Clicking to collapse a group should only collapse that group. |
As long as we can expand the tabs and they enumerate the jobs in their own columns this seems like a fine default |
See title
Test Plan:
Manually verified that it works.
Screen.Recording.2022-02-14.at.10.55.53.AM.mov
Main questionable things: