DEV Community

Eric Meadows
Eric Meadows

Posted on

2

Splitting PRs...?

When you work on large bodies of work, stacked PRs don't work...but you can't always split it up. What do you do with large PRs?

Top comments (1)

Collapse
 
theaccordance profile image
Joe Mainwaring

PR size is secondary for me when considering how I'm packaging my code.

Ideally - my PRs are small enough to be easily consumable by reviewers, but the PR has to be able to land in the codebase and not block other collaborators on a given project.

When I do have a large PR, what I do to make it easier for my reviewers:

  • Add commentary in the PR to specfiic files and code blocks
  • I'll ask reviewers to break their reviews into multiple passes where they review a set of files that are finalized
  • Bribery

Master Kubernetes with Pulumi Cloud

Frustrated with Kubernetes? There's a better way!

Discover Pulumi's Kubernetes 4.0. Manage Kubernetes using your favorite programming language, not complex YAML. Simplify, streamline, and supercharge your deployments. Ready for a change?

Discover Pulumi

👋 Kindness is contagious

Delve into a trove of insights in this thoughtful post, celebrated by the welcoming DEV Community. Programmers of every stripe are encouraged to share their viewpoints and expand our collective expertise.

A simple “thank you” can brighten someone’s day—drop yours in the comments below!

On DEV, exchanging knowledge lightens our path and forges deeper connections. If you found this valuable, a quick note of gratitude to the author goes a long way.

Get Started