{"id":171,"date":"2024-11-04T21:36:50","date_gmt":"2024-11-04T21:36:50","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/all-things-azure\/?p=171"},"modified":"2024-12-09T00:09:54","modified_gmt":"2024-12-09T00:09:54","slug":"creating-an-inclusive-code-review-culture-with-github-copilot","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/all-things-azure\/creating-an-inclusive-code-review-culture-with-github-copilot\/","title":{"rendered":"How to Create Inclusive Code Review Culture Using GitHub Copilot"},"content":{"rendered":"<p><a href=\"https:\/\/devblogs.microsoft.com\/all-things-azure\/wp-content\/uploads\/sites\/83\/2024\/10\/HC0400_MS_AzureDeveloperBlogSeries-Banner_103124_DC_V2-02-2.png\"><img decoding=\"async\" class=\"aligncenter wp-image-185 size-full\" src=\"https:\/\/devblogs.microsoft.com\/all-things-azure\/wp-content\/uploads\/sites\/83\/2024\/10\/HC0400_MS_AzureDeveloperBlogSeries-Banner_103124_DC_V2-02-2.png\" alt=\"All things Azure blog\" width=\"1920\" height=\"792\" srcset=\"https:\/\/devblogs.microsoft.com\/all-things-azure\/wp-content\/uploads\/sites\/83\/2024\/10\/HC0400_MS_AzureDeveloperBlogSeries-Banner_103124_DC_V2-02-2.png 1920w, https:\/\/devblogs.microsoft.com\/all-things-azure\/wp-content\/uploads\/sites\/83\/2024\/10\/HC0400_MS_AzureDeveloperBlogSeries-Banner_103124_DC_V2-02-2-300x124.png 300w, https:\/\/devblogs.microsoft.com\/all-things-azure\/wp-content\/uploads\/sites\/83\/2024\/10\/HC0400_MS_AzureDeveloperBlogSeries-Banner_103124_DC_V2-02-2-1024x422.png 1024w, https:\/\/devblogs.microsoft.com\/all-things-azure\/wp-content\/uploads\/sites\/83\/2024\/10\/HC0400_MS_AzureDeveloperBlogSeries-Banner_103124_DC_V2-02-2-768x317.png 768w, https:\/\/devblogs.microsoft.com\/all-things-azure\/wp-content\/uploads\/sites\/83\/2024\/10\/HC0400_MS_AzureDeveloperBlogSeries-Banner_103124_DC_V2-02-2-1536x634.png 1536w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/a>Leaders in some development teams where I worked singled out individuals. They inspected developers&#8217; code with external reviewers without including the developer or informing them about the code review. This practice created a toxic culture and instilled fear, even when developers put their heart and soul into producing quality code and following best practices.<\/p>\n<p class=\"whitespace-pre-wrap break-words\">When this happened to me, the review team (internal and external) found no issues, but I couldn&#8217;t shake off the bitter feeling. I strongly advocate for code reviews as they help maintain good standards. However, teams should conduct them inclusively. Teams that inform developers about end-to-end code reviews and involve them create valuable learning opportunities.<\/p>\n<p class=\"whitespace-pre-wrap break-words\">Many teams now conduct code reviews without involving the developer, which creates distrust and wastes learning opportunities. This approach breeds a toxic culture where developers feel scrutinized and undervalued.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/all-things-azure\/wp-content\/uploads\/sites\/83\/2024\/11\/379916599-741749f0-037f-493b-88b9-842f5cbfec9b.png\"><img decoding=\"async\" class=\"aligncenter wp-image-276 size-full\" src=\"https:\/\/devblogs.microsoft.com\/all-things-azure\/wp-content\/uploads\/sites\/83\/2024\/11\/379916599-741749f0-037f-493b-88b9-842f5cbfec9b.png\" alt=\"GitHub Copilot Code Review\" width=\"1800\" height=\"945\" srcset=\"https:\/\/devblogs.microsoft.com\/all-things-azure\/wp-content\/uploads\/sites\/83\/2024\/11\/379916599-741749f0-037f-493b-88b9-842f5cbfec9b.png 1800w, https:\/\/devblogs.microsoft.com\/all-things-azure\/wp-content\/uploads\/sites\/83\/2024\/11\/379916599-741749f0-037f-493b-88b9-842f5cbfec9b-300x158.png 300w, https:\/\/devblogs.microsoft.com\/all-things-azure\/wp-content\/uploads\/sites\/83\/2024\/11\/379916599-741749f0-037f-493b-88b9-842f5cbfec9b-1024x538.png 1024w, https:\/\/devblogs.microsoft.com\/all-things-azure\/wp-content\/uploads\/sites\/83\/2024\/11\/379916599-741749f0-037f-493b-88b9-842f5cbfec9b-768x403.png 768w, https:\/\/devblogs.microsoft.com\/all-things-azure\/wp-content\/uploads\/sites\/83\/2024\/11\/379916599-741749f0-037f-493b-88b9-842f5cbfec9b-1536x806.png 1536w\" sizes=\"(max-width: 1800px) 100vw, 1800px\" \/><\/a><\/p>\n<p class=\"whitespace-pre-wrap break-words\">GitHub Copilot&#8217;s new code review feature excites me for these reasons. Developers can now ask Copilot to review their code before pushing it and creating a pull request. Copilot can review the pull request before the development lead or PR reviewer examines it. The GitHub Copilot Code review feature offers AI-driven insights, automatic reviews using repository rules, and one-click fixes. It streamlines the code review process and lets developers start iterating while waiting for human reviewers. This feature will relieve my fellow developers, as they&#8217;ll know Copilot has reviewed their code and caught major issues, reducing scrutiny fears.<\/p>\n<p>You can learn more here: GitHub Copilot code review in GitHub.com (public preview) &#8211; <a href=\"https:\/\/github.com\/?ref=gh.io&amp;shorturl=copilot-code-review-vscode-preview-changelog\">GitHub Changelog<\/a><\/p>\n<p><figure id=\"attachment_275\" aria-labelledby=\"figcaption_attachment_275\" class=\"wp-caption aligncenter\" ><a href=\"https:\/\/devblogs.microsoft.com\/all-things-azure\/wp-content\/uploads\/sites\/83\/2024\/11\/377050432-a2a06a62-ca1d-4197-8413-bb2678eaaf1e.gif\"><img decoding=\"async\" class=\"wp-image-275 size-full\" src=\"https:\/\/devblogs.microsoft.com\/all-things-azure\/wp-content\/uploads\/sites\/83\/2024\/11\/377050432-a2a06a62-ca1d-4197-8413-bb2678eaaf1e.gif\" alt=\"GitHub Copilot Code Review\" width=\"800\" height=\"613\" \/><\/a><figcaption id=\"figcaption_attachment_275\" class=\"wp-caption-text\">GitHub Copilot Code Review<\/figcaption><\/figure><\/p>\n<p class=\"whitespace-pre-wrap break-words\">We must create an inclusive culture where developers can excel, feel trusted, and grow through continuous learning opportunities. I believe technologies like GitHub Copilot will help overcome these challenges and foster collaboration and support.<\/p>\n<p class=\"whitespace-pre-wrap break-words\">Happy Coding!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Leaders in some development teams where I worked singled out individuals. They inspected developers&#8217; code with external reviewers without including the developer or informing them about the code review. This practice created a toxic culture and instilled fear, even when developers put their heart and soul into producing quality code and following best practices. When [&hellip;]<\/p>\n","protected":false},"author":172639,"featured_media":272,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1,20,19],"tags":[22],"class_list":["post-171","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure","category-developer-productivity","category-github-copilot","tag-github-copilot"],"acf":[],"blog_post_summary":"<p>Leaders in some development teams where I worked singled out individuals. They inspected developers&#8217; code with external reviewers without including the developer or informing them about the code review. This practice created a toxic culture and instilled fear, even when developers put their heart and soul into producing quality code and following best practices. When [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/all-things-azure\/wp-json\/wp\/v2\/posts\/171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/all-things-azure\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/all-things-azure\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/all-things-azure\/wp-json\/wp\/v2\/users\/172639"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/all-things-azure\/wp-json\/wp\/v2\/comments?post=171"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/all-things-azure\/wp-json\/wp\/v2\/posts\/171\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/all-things-azure\/wp-json\/wp\/v2\/media\/272"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/all-things-azure\/wp-json\/wp\/v2\/media?parent=171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/all-things-azure\/wp-json\/wp\/v2\/categories?post=171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/all-things-azure\/wp-json\/wp\/v2\/tags?post=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}