-
Notifications
You must be signed in to change notification settings - Fork 28
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
Code review process needs revamping #186
Comments
coding conventions are now in their own document. Note that over in phetsims/chipper#1180 I will be pushing to combine the coding-conventions and the typescript-conventions document. To reiterate, I heard two sentiments during the conversation today that seemed like ways to tangibly improve the code review experience:
In addition to these, some time could be devoted (since we are on the topic), to more extreme revamping ideas. None come to mind currently, but I wanted to leave the door open! Marking for dev meeting. |
I will do that here too! I just found that a decision we made about how to export variables was documented in the tyepscript conventions after discussion in #184, but no changes were made to the document: https://github.com/phetsims/phet-info/blob/master/doc/best-practices-for-modules.md which is used in the CRC. we have too many different conventions documents, and they should be combined. |
From today's dev meeting conversation: @chrisklus identifies that it is awkward to use the long monolithic checklist, and it would be good to modularize. Consensus: We would like to have a more modular code review process. Question: Should the "typescript conventions" doc be more like a checklist with checkboxes? @kathy-phet asked for volunteers in breaking up the large code review checklist. @jonathanolson: I'll review the typescript conventions doc and make recommendations. I'll look through my review comments and see if things need to be added. The review is phetsims/geometric-optics#402. I'll also check the latest version of the TypeScript conventions doc to see if there is more for the review. @zepumph: Can you please also glance through the main code review checklist, to see if other parts can be pulled out to modules? Are there typescript-specific changes our team has made that would warrant other changes to the code review checklist? @jonathanolson says: sounds good. @zepumph asks if anyone wants the TypeScript conventions reads more like a checklist? @kathy-phet: Maybe more junior members would benefit more from the checklisty aspects. @zepumph: The "coding conventions" doc is a checklist, but "typescript conventions" is not. @samreid: The main problem with checking off the large list, is it takes 5 seconds or so for a checkbox to check. We agreed to make this a subgroup centered on @jonathanolson and then we can discuss whether we want to keep making it more modular. |
|
This seems like it might be related to #192 and the work the subgroup is doing there. Bringing back to |
12/22/22 We will continue discussing this in January, we ran out of time. |
From phetsims/chipper#1180
@samreid had some great thoughts about how challenging it was to conduct a code review because of the length and formatting of the CRC. During our discussion about where to put the typescript-specific conventions over in phetsims/chipper#1180, we decided that keeping a separate document made sense. Perhaps the best path to fix the CRC more generally would be to split out pieces that take up a lot of space, and have a lot of content, and if something in it fails, to create another issue where that can be annotated. Members attending the dev meeting today agreed.
We should discuss this more in next dev meeting, because we ran out of time, but as a proof-of-concept, the "Coding Conventions" section can be easily moved out to another document. I'll do that
@samreid: This feels like something that will bleed into future quarters, and that is OK!
The text was updated successfully, but these errors were encountered: