Skip to content

Commit

Permalink
add: pr velocity init
Browse files Browse the repository at this point in the history
  • Loading branch information
ConorCorp committed Jul 24, 2024
1 parent 0b6a759 commit 2ec7d2e
Show file tree
Hide file tree
Showing 72 changed files with 6,976 additions and 135 deletions.
2 changes: 1 addition & 1 deletion archetypes/post-bundle/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ date: {{ .Date }}
draft: true
lastmod:
summary:
categories: []
categories: [writing]
tags: []
ShowToc: false
cover:
Expand Down
2 changes: 1 addition & 1 deletion config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ menu:
- name: Twitter
url: https://twitter.com/dogeeseseegucci
weight: 2
- name: πŸ’Œ Join Email List
- name: πŸ’Œ Get Emails
url: https://mailchi.mp/607d55504690/new-c0n0com
weight: 3

Expand Down
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 56 additions & 0 deletions content/posts/increasing-pr-velocity/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---
title: "Increasing PR Velocity"
date: 2024-07-24T09:42:34+02:00
draft: true
lastmod:
summary:
categories: [writing]
tags: [coding]
ShowToc: false
cover:
image: "images/speed-holes.gif"
alt: "Simpson's Speed Holes Clip"
relative: true
---
Reviewing pull requests is a pain in the hole, but a necessary one. It is also huge time sync if you’re actually reviewing your team’s PRs with care.

## Normal PR Process
The PR process often looks like this.
- Get slack message: β€œpwetty please review my PR :3 (don’t hate me) [pr link](https://github.com/EpicGames/Signup/pull/24)”
- Open PR in browser, scroll through the code a bit
- Inner Monologue: β€œ*This looks mostly understandable? Can I can get away without pulling this locally?*”
- Decide to **run it locally**:
- Stash current changes (*remember that you have a stash saved!*)
- Pull down PR branch
- Run the code/tests (Hopefully it runs)
- Click through all the changes, going back and forth with the PR on github.com
- See an issue, flip to the web browser, find the line, and post a comment in the PR
- Decide to just **view it in the browser**:
- Attempt to read the code
- *Optional*: Try to β€œunderstand” the logic, but often you’re just [NITing](https://stackoverflow.com/questions/27810522/what-does-nit-mean-in-hacker-speak) formatting issues because you can’t run it
- If you see a glaring issue or have a question, plop a comment in the PR

From a DX perspective, this process is slow and shit. If I think it’s slow and shit, I know my team does as well. If my team thinks that, then when they’re stressed or lazy, they’re not reviewing my PRs well, meaning they’re not always pulling down my code which leads to worse code health in the long run across the team.

The other issue here is it's is not conducive to making changes to your mates’ PRs. NITing PRs is a waste of time if you could just fix the issues, but you have to get through so many steps to make the change.

## Solution: Make PRs Easy To Touch
**Things that we don’t want to do need to be easy.** That’s why startups make it way easier to pay for subscriptions rather than to cancel them.

The PR loop of: view code, run code, fix/comment needs to be high velocity.

{{< figure src="images/github-demo.gif" caption="Github Pull Request demo. [link](https://github.com/microsoft/vscode-pull-request-github)" >}}

The best thing I’ve seen to speed up the PR loop is to have PRs in the editor right away. For this, I’ve been using VSCode’s awesome [Github Pull Request](https://github.com/microsoft/vscode-pull-request-github) extension, but you can use anything that makes it quick to pull PRs, view changes, and comment in your editor.

Basically Github PR lightly puts the GitHub web PR view into the vscode. You’ll have access to all PRs, the file changes, comments, and most importantly: a button to immediately pull down a PR’s branch (an actual hidden super power).

When you do PRs in the editor, you get some serious benefits:
1. **Speed** - You have your teammate's branch (and file diffs) locally with a single button click. No navigating the web. Less time context switching.
2. **High Touch** - You can run their code right away. You can change their code right away and push it. No need for the comment for a small change. There is no struggle to make the decision if you need to pull down the code or not. It’s there! Add in a log statement, learn what’s happening!
3. **Self Service** - It works stupendously for your PRs as well. The second you push, you can see your changes and fix any accidentally pushed code. Never leave the editor and can also quickly jump into your next branch.

# PR Velocity In Teams
The speed at which PR’s are getting reviewed is a hugely overlooked part of what slows down our feature delivery. Adding a PR tool to your editor is a solid step for speeding up the PR loop, but if you really want to see this **speed compound**, get your whole team on it.

When teams do PRs in the editor, we are not only fixing each other’s code faster, but also understanding each others’ code, and thus our whole codebase, on a deeper level. Our team at [Formly](www.formly.ai) hugely benefits from Github PR and we’re not looking back πŸ’™
6 changes: 3 additions & 3 deletions docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<meta name="description" content="Conor Lamb&#39;s Blog">
<meta name="author" content="Conor Lamb">
<link rel="canonical" href="https://c0n0.com/404.html">
<link crossorigin="anonymous" href="/assets/css/stylesheet.7575f4a9e7cb5de8b9d4a91bcaa53de52ff8ef2a71f65a4c5a79858d66b1af52.css" integrity="sha256-dXX0qefLXei51KkbyqU95S/47ypx9lpMWnmFjWaxr1I=" rel="preload stylesheet" as="style">
<link crossorigin="anonymous" href="/assets/css/stylesheet.bb99d898ad9e8d07be6f42126a2a81bdf529e3cf090ca8b48e65e7256aad9e77.css" integrity="sha256-u5nYmK2ejQe&#43;b0ISaiqBvfUp488JDKi0jmXnJWqtnnc=" rel="preload stylesheet" as="style">
<link rel="icon" href="https://c0n0.com/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="https://c0n0.com/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://c0n0.com/favicon-32x32.png">
Expand Down Expand Up @@ -138,8 +138,8 @@
</a>
</li>
<li>
<a href="https://mailchi.mp/607d55504690/new-c0n0com" title="πŸ’Œ Join Email List">
<span>πŸ’Œ Join Email List</span>&nbsp;
<a href="https://mailchi.mp/607d55504690/new-c0n0com" title="πŸ’Œ Get Emails">
<span>πŸ’Œ Get Emails</span>&nbsp;
<svg fill="none" shape-rendering="geometricPrecision" stroke="currentColor" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2.5" viewBox="0 0 24 24" height="12" width="12">
<path d="M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"></path>
Expand Down
6 changes: 3 additions & 3 deletions docs/archives/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<meta name="description" content="archives">
<meta name="author" content="Conor Lamb">
<link rel="canonical" href="https://c0n0.com/archives/">
<link crossorigin="anonymous" href="/assets/css/stylesheet.7575f4a9e7cb5de8b9d4a91bcaa53de52ff8ef2a71f65a4c5a79858d66b1af52.css" integrity="sha256-dXX0qefLXei51KkbyqU95S/47ypx9lpMWnmFjWaxr1I=" rel="preload stylesheet" as="style">
<link crossorigin="anonymous" href="/assets/css/stylesheet.bb99d898ad9e8d07be6f42126a2a81bdf529e3cf090ca8b48e65e7256aad9e77.css" integrity="sha256-u5nYmK2ejQe&#43;b0ISaiqBvfUp488JDKi0jmXnJWqtnnc=" rel="preload stylesheet" as="style">
<link rel="icon" href="https://c0n0.com/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="https://c0n0.com/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://c0n0.com/favicon-32x32.png">
Expand Down Expand Up @@ -188,8 +188,8 @@
</a>
</li>
<li>
<a href="https://mailchi.mp/607d55504690/new-c0n0com" title="πŸ’Œ Join Email List">
<span>πŸ’Œ Join Email List</span>&nbsp;
<a href="https://mailchi.mp/607d55504690/new-c0n0com" title="πŸ’Œ Get Emails">
<span>πŸ’Œ Get Emails</span>&nbsp;
<svg fill="none" shape-rendering="geometricPrecision" stroke="currentColor" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2.5" viewBox="0 0 24 24" height="12" width="12">
<path d="M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"></path>
Expand Down

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/categories/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<meta name="description" content="Conor Lamb&#39;s Blog">
<meta name="author" content="Conor Lamb">
<link rel="canonical" href="https://c0n0.com/categories/">
<link crossorigin="anonymous" href="/assets/css/stylesheet.7575f4a9e7cb5de8b9d4a91bcaa53de52ff8ef2a71f65a4c5a79858d66b1af52.css" integrity="sha256-dXX0qefLXei51KkbyqU95S/47ypx9lpMWnmFjWaxr1I=" rel="preload stylesheet" as="style">
<link crossorigin="anonymous" href="/assets/css/stylesheet.bb99d898ad9e8d07be6f42126a2a81bdf529e3cf090ca8b48e65e7256aad9e77.css" integrity="sha256-u5nYmK2ejQe&#43;b0ISaiqBvfUp488JDKi0jmXnJWqtnnc=" rel="preload stylesheet" as="style">
<link rel="icon" href="https://c0n0.com/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="https://c0n0.com/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://c0n0.com/favicon-32x32.png">
Expand Down Expand Up @@ -139,8 +139,8 @@
</a>
</li>
<li>
<a href="https://mailchi.mp/607d55504690/new-c0n0com" title="πŸ’Œ Join Email List">
<span>πŸ’Œ Join Email List</span>&nbsp;
<a href="https://mailchi.mp/607d55504690/new-c0n0com" title="πŸ’Œ Get Emails">
<span>πŸ’Œ Get Emails</span>&nbsp;
<svg fill="none" shape-rendering="geometricPrecision" stroke="currentColor" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2.5" viewBox="0 0 24 24" height="12" width="12">
<path d="M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"></path>
Expand Down
2 changes: 1 addition & 1 deletion docs/categories/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</image>
<generator>Hugo -- 0.123.7</generator>
<language>en-us</language>
<lastBuildDate>Thu, 04 Jul 2024 00:50:37 +0200</lastBuildDate>
<lastBuildDate>Fri, 05 Jul 2024 14:38:44 +0200</lastBuildDate>
<atom:link href="https://c0n0.com/categories/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Writing</title>
Expand Down
6 changes: 3 additions & 3 deletions docs/categories/retros/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<meta name="description" content="Conor Lamb&#39;s Blog">
<meta name="author" content="Conor Lamb">
<link rel="canonical" href="https://c0n0.com/categories/retros/">
<link crossorigin="anonymous" href="/assets/css/stylesheet.7575f4a9e7cb5de8b9d4a91bcaa53de52ff8ef2a71f65a4c5a79858d66b1af52.css" integrity="sha256-dXX0qefLXei51KkbyqU95S/47ypx9lpMWnmFjWaxr1I=" rel="preload stylesheet" as="style">
<link crossorigin="anonymous" href="/assets/css/stylesheet.bb99d898ad9e8d07be6f42126a2a81bdf529e3cf090ca8b48e65e7256aad9e77.css" integrity="sha256-u5nYmK2ejQe&#43;b0ISaiqBvfUp488JDKi0jmXnJWqtnnc=" rel="preload stylesheet" as="style">
<link rel="icon" href="https://c0n0.com/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="https://c0n0.com/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://c0n0.com/favicon-32x32.png">
Expand Down Expand Up @@ -139,8 +139,8 @@
</a>
</li>
<li>
<a href="https://mailchi.mp/607d55504690/new-c0n0com" title="πŸ’Œ Join Email List">
<span>πŸ’Œ Join Email List</span>&nbsp;
<a href="https://mailchi.mp/607d55504690/new-c0n0com" title="πŸ’Œ Get Emails">
<span>πŸ’Œ Get Emails</span>&nbsp;
<svg fill="none" shape-rendering="geometricPrecision" stroke="currentColor" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2.5" viewBox="0 0 24 24" height="12" width="12">
<path d="M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"></path>
Expand Down
6 changes: 3 additions & 3 deletions docs/categories/writing/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<meta name="description" content="Conor Lamb&#39;s Blog">
<meta name="author" content="Conor Lamb">
<link rel="canonical" href="https://c0n0.com/categories/writing/">
<link crossorigin="anonymous" href="/assets/css/stylesheet.7575f4a9e7cb5de8b9d4a91bcaa53de52ff8ef2a71f65a4c5a79858d66b1af52.css" integrity="sha256-dXX0qefLXei51KkbyqU95S/47ypx9lpMWnmFjWaxr1I=" rel="preload stylesheet" as="style">
<link crossorigin="anonymous" href="/assets/css/stylesheet.bb99d898ad9e8d07be6f42126a2a81bdf529e3cf090ca8b48e65e7256aad9e77.css" integrity="sha256-u5nYmK2ejQe&#43;b0ISaiqBvfUp488JDKi0jmXnJWqtnnc=" rel="preload stylesheet" as="style">
<link rel="icon" href="https://c0n0.com/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="https://c0n0.com/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://c0n0.com/favicon-32x32.png">
Expand Down Expand Up @@ -139,8 +139,8 @@
</a>
</li>
<li>
<a href="https://mailchi.mp/607d55504690/new-c0n0com" title="πŸ’Œ Join Email List">
<span>πŸ’Œ Join Email List</span>&nbsp;
<a href="https://mailchi.mp/607d55504690/new-c0n0com" title="πŸ’Œ Get Emails">
<span>πŸ’Œ Get Emails</span>&nbsp;
<svg fill="none" shape-rendering="geometricPrecision" stroke="currentColor" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2.5" viewBox="0 0 24 24" height="12" width="12">
<path d="M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"></path>
Expand Down
2 changes: 1 addition & 1 deletion docs/categories/writing/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</image>
<generator>Hugo -- 0.123.7</generator>
<language>en-us</language>
<lastBuildDate>Thu, 04 Jul 2024 00:50:37 +0200</lastBuildDate>
<lastBuildDate>Fri, 05 Jul 2024 14:38:44 +0200</lastBuildDate>
<atom:link href="https://c0n0.com/categories/writing/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Passing Thoughts Become Action</title>
Expand Down
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<meta name="description" content="Conor Lamb&#39;s Blog">
<meta name="author" content="Conor Lamb">
<link rel="canonical" href="https://c0n0.com/">
<link crossorigin="anonymous" href="/assets/css/stylesheet.7575f4a9e7cb5de8b9d4a91bcaa53de52ff8ef2a71f65a4c5a79858d66b1af52.css" integrity="sha256-dXX0qefLXei51KkbyqU95S/47ypx9lpMWnmFjWaxr1I=" rel="preload stylesheet" as="style">
<link crossorigin="anonymous" href="/assets/css/stylesheet.bb99d898ad9e8d07be6f42126a2a81bdf529e3cf090ca8b48e65e7256aad9e77.css" integrity="sha256-u5nYmK2ejQe&#43;b0ISaiqBvfUp488JDKi0jmXnJWqtnnc=" rel="preload stylesheet" as="style">
<link rel="icon" href="https://c0n0.com/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="https://c0n0.com/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://c0n0.com/favicon-32x32.png">
Expand Down Expand Up @@ -153,8 +153,8 @@
</a>
</li>
<li>
<a href="https://mailchi.mp/607d55504690/new-c0n0com" title="πŸ’Œ Join Email List">
<span>πŸ’Œ Join Email List</span>&nbsp;
<a href="https://mailchi.mp/607d55504690/new-c0n0com" title="πŸ’Œ Get Emails">
<span>πŸ’Œ Get Emails</span>&nbsp;
<svg fill="none" shape-rendering="geometricPrecision" stroke="currentColor" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2.5" viewBox="0 0 24 24" height="12" width="12">
<path d="M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"></path>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</image>
<generator>Hugo -- 0.123.7</generator>
<language>en-us</language>
<lastBuildDate>Thu, 04 Jul 2024 00:50:37 +0200</lastBuildDate>
<lastBuildDate>Fri, 05 Jul 2024 14:38:44 +0200</lastBuildDate>
<atom:link href="https://c0n0.com/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Passing Thoughts Become Action</title>
Expand Down
6 changes: 3 additions & 3 deletions docs/posts/antler-berlin-review-2021/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
After lorem ipsum">
<meta name="author" content="Conor Lamb">
<link rel="canonical" href="http://localhost:1313/posts/antler-berlin-review-2021/">
<link crossorigin="anonymous" href="/assets/css/stylesheet.7575f4a9e7cb5de8b9d4a91bcaa53de52ff8ef2a71f65a4c5a79858d66b1af52.css" integrity="sha256-dXX0qefLXei51KkbyqU95S/47ypx9lpMWnmFjWaxr1I=" rel="preload stylesheet" as="style">
<link crossorigin="anonymous" href="/assets/css/stylesheet.bb99d898ad9e8d07be6f42126a2a81bdf529e3cf090ca8b48e65e7256aad9e77.css" integrity="sha256-u5nYmK2ejQe&#43;b0ISaiqBvfUp488JDKi0jmXnJWqtnnc=" rel="preload stylesheet" as="style">
<link rel="icon" href="http://localhost:1313/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="http://localhost:1313/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="http://localhost:1313/favicon-32x32.png">
Expand Down Expand Up @@ -209,8 +209,8 @@
</a>
</li>
<li>
<a href="https://mailchi.mp/607d55504690/new-c0n0com" title="πŸ’Œ Join Email List">
<span>πŸ’Œ Join Email List</span>&nbsp;
<a href="https://mailchi.mp/607d55504690/new-c0n0com" title="πŸ’Œ Get Emails">
<span>πŸ’Œ Get Emails</span>&nbsp;
<svg fill="none" shape-rendering="geometricPrecision" stroke="currentColor" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2.5" viewBox="0 0 24 24" height="12" width="12">
<path d="M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"></path>
Expand Down
6 changes: 3 additions & 3 deletions docs/posts/chat-gpt-buddy/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<meta name="description" content="I&rsquo;m at a quietly frustrating point with my German language learning. It&rsquo;s an uncomfortable expanse within A1-A2 levels where I pick up a myriad of words in a conversation, but I&rsquo;m still not confident enough to say much. The usual solution here is one of brute force. Go make a fool of yourself, often and brazenly, in the wild. Talk to people around you, have awkward-as-hell conversations. But, how can I cash in on the ChatGPT hype that way?">
<meta name="author" content="Conor Lamb">
<link rel="canonical" href="https://c0n0.com/posts/chat-gpt-buddy/">
<link crossorigin="anonymous" href="/assets/css/stylesheet.7575f4a9e7cb5de8b9d4a91bcaa53de52ff8ef2a71f65a4c5a79858d66b1af52.css" integrity="sha256-dXX0qefLXei51KkbyqU95S/47ypx9lpMWnmFjWaxr1I=" rel="preload stylesheet" as="style">
<link crossorigin="anonymous" href="/assets/css/stylesheet.bb99d898ad9e8d07be6f42126a2a81bdf529e3cf090ca8b48e65e7256aad9e77.css" integrity="sha256-u5nYmK2ejQe&#43;b0ISaiqBvfUp488JDKi0jmXnJWqtnnc=" rel="preload stylesheet" as="style">
<link rel="icon" href="https://c0n0.com/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="https://c0n0.com/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://c0n0.com/favicon-32x32.png">
Expand Down Expand Up @@ -193,8 +193,8 @@
</a>
</li>
<li>
<a href="https://mailchi.mp/607d55504690/new-c0n0com" title="πŸ’Œ Join Email List">
<span>πŸ’Œ Join Email List</span>&nbsp;
<a href="https://mailchi.mp/607d55504690/new-c0n0com" title="πŸ’Œ Get Emails">
<span>πŸ’Œ Get Emails</span>&nbsp;
<svg fill="none" shape-rendering="geometricPrecision" stroke="currentColor" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2.5" viewBox="0 0 24 24" height="12" width="12">
<path d="M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"></path>
Expand Down
Loading

0 comments on commit 2ec7d2e

Please sign in to comment.