THE GITHTML FIELD GUIDE
Use draft pull requests to make review readiness clear
A draft pull request signals that the proposal is still being prepared and cannot be merged while it remains a draft. Use it for early context or focused feedback, then mark it ready when the scope and verification are clear. Draft status does not make committed content private or prevent collaborators from reading the changes.
Use draft status to communicate a specific state
A draft can expose an approach early while making clear that full review is premature. Useful reasons include an unfinished migration path, missing tests, or a design question that should be answered before implementation continues. State that reason in the description rather than relying on a badge to explain what help you need.
Draft is not a confidentiality boundary. The head branch’s content remains accessible according to repository permissions, and secrets should never be published on the assumption that a draft is hidden. It is also not a guarantee that every notification or external integration will ignore the proposal. Use the project’s collaboration conventions and actual permissions, not status folklore.
Define readiness with a small checklist
Before marking ready, review the patch yourself, check the target branches, and record the tests you actually ran. Remove temporary experiments or explain deliberate remaining follow-ups. If you want early feedback while still in draft, name the specific question and relevant files so reviewers do not spend time on knowingly unfinished details.
- State the current blocker, such as an unresolved API choice or missing compatibility test, and identify who can help resolve it.
- Before changing status, verify that the description, commit scope, and test evidence describe the current head revision rather than an earlier draft.
- If new work makes the proposal substantially incomplete again, return it to draft and explain what changed instead of silently leaving stale readiness signals.
Keep status and approval distinct
Marking ready invites the project’s normal review process; it does not approve the code or satisfy required reviews. Code-owner requests and other review behavior depend on the repository’s configuration and the request’s state. Check the actual reviewer and merge requirements after the transition.
For a concrete example, a draft parser refactor can ask whether the new boundary is appropriate before all call sites are migrated. Once migration and focused tests are complete, update the description with the evidence and request the relevant owners. A clear transition saves reviewers from guessing whether a missing test is intentional unfinished work or an overlooked defect. Keep the state honest throughout the conversation.
- For an early design question, identify a stable part of the draft to review and name the unfinished parts explicitly. For example, request feedback on the parser boundary while noting that callers still use the old interface. This makes limited feedback useful without implying that the whole patch is ready.
- Before marking ready after a long pause, reread earlier draft comments and state which decisions were implemented or superseded. Reviewers otherwise have to reconstruct whether a proposed alternative still applies. Attach current test evidence to the resolved design, especially when the draft changed direction substantially.
Sources and further reading
AI-assisted writing with source-linked guidance and illustrative examples. Read our editorial approach or report a correction.