I don’t pull it to run it. I pull it if I need to navigate the PR in an IDE.
Ask HN: Do you pull and run code as part of code review?
41–50 of 146 posts
Re: Ask HN: Do you pull and run code as part of code review?
#42Re: Ask HN: Do you pull and run code as part of code review?
#43Re: Ask HN: Do you pull and run code as part of code review?
#44Re: Ask HN: Do you pull and run code as part of code review?
#45Re: Ask HN: Do you pull and run code as part of code review?
#46This should be something agreed within a team, so that review standards are consistent across team members. In my previous team, the reviewer was the main responsible for the code they were approving. They were expected to test locally and should actively hunt for potential issues, such as checking in the logs that the ORM was building correct SQL. In my current team, the developer is the main responsible for the cod…
>This should be something agreed within a team, so that review standards are consistent across team members. Why? it feels like individual preference >such as checking in the logs that the ORM was building correct SQL. Couldnt the person who creates PR copy/paste sample generated SQLs into PR?
To your second point, sure, if that's what the team agrees is better.
Re: Ask HN: Do you pull and run code as part of code review?
#47Re: Ask HN: Do you pull and run code as part of code review?
#48Re: Ask HN: Do you pull and run code as part of code review?
#49Think of an rdbms, and I'm reviewing changes that optimize or allow new schema options. It would not be productive for me to design new schemas each time I review code. Instead, the person sending the review should already have done that work in tests.