-
Notifications
You must be signed in to change notification settings - Fork 5
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
Update website to display new workload
and suite
changes correctly
#10
Conversation
Co-authored-by: Kunal Pai <[email protected]>
Can you give some context to this change with the commit message or the PR message? I don't know what I'm reviewing. |
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.
Seems like there's a lot more than just "fix workload bug" in this PR. Please update the PR description and/or commits to make it more clear how to review this.
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.
This change seems unrelated to "workload bug"
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.
This is related in the sense that this change contains new schema, we were waiting on updating website till the release. So I added the bug fix as the bug was introduced due to the updated schema for workloads. So I added the bug fix on top of the schema change.
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 a better title to the PR would be "adapt website to new schema" and one of the commits could be "fix bug <give more information."
Remember, the people reviewing the code can't read your mind, and they likely will forget all of the information that you've told them previously. Each PR should be completely stand alone and someone should be able to understand why you made each change in the PR with the information in the PR.
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.
Why are there 2-3 copies of this file?
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.
There are 2 copies of the latest schema on in the test folder and one in public. The reason for having two separate copies is to catch the change in schema and so we have to update the tests accordingly.
There is also a new folder which will keep older schemas in case we need to refer to them.
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.
Can you have a symlink from the tests to the public one?
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.
Yes, I think we can. Our thought process when adding separate files was that if there is a major schema change like in our case adding a new category then the cypress test will fail. This was to make sure that such schema changes are caught and then tests have to be modified, this also serves as a way to double check that schema does not break anything else.
I updated the PR message. |
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.
"Fix workload bug" doesn't really mean much to me here. Can we have something a bit more descriptive?
I'm honestly a bit lost as to what our schema means anymore. We're changing it here and I don't know why and what it means for gem5-resources. Can we just update this whenever we want or are there procedures we need to follow?
I think we help off on the schema update till release. I dont know if we have a strong reason part for wanting at most one schema change per release? In this update the change to schema are the following:
The older
|
workload
and suite
changes correctly
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 still have a hard time wrapping my head around what the purpose is anymore for the schema. I feel we have deviated from our original goal and i worry we're just updating it as we need it in a hacky way.
However, if this fixes the bug then we should get it in and we can discuss procedure later.
This change has 3 parts: