AWS Builder Center

What a fix PR needs before a maintainer merges it

A short checklist for a fix PR: a small diff, a failing case first, a test that covers it, no unrelated changes, and prompt replies to review comments.

Full-stack Developer & Security Researcher
A small fix PR is easier to review and safer to revert. Keep it to one issue.
Reproduce the bug first. Write down the failing case before you change code, so the fix has a clear test.
Add or update a test that covers that case. If the test passes without the fix, it does not prove anything.
Leave unrelated code alone. Refactors and cleanup belong in a separate PR.
Follow the repo note on changelog and contribution steps if it has one. Do not skip that step because the change is small.
Reply to review comments promptly with a new push. Address the comment in code, and say what changed. Do not argue in the thread when a push can settle it.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article