Pull Request Process
Prepare a focused draft, satisfy automated checks and review, and merge a contribution safely.
Open a pull request when the change is understandable, scoped, and locally verified. Keep it in draft while implementation or validation is still in progress.
Pull Request Lifecycle
Loading graph...
Before opening
- Keep the change to one cohesive outcome. Split unrelated work; discuss unusually broad changes before investing in them.
- Format changed files and run the relevant checks from Testing ExecutionCustom DocTesting ExecutionHow to run backend, frontend, contract, browser, and documentation checks locally and interpret their results.Ownerarchitecture-enabling-teamOpen doc.
- Use a Conventional Commit-style title, such as
fix: prevent duplicate checkout. - Include the user-visible or technical outcome, relevant context, test evidence, and any rollout or compatibility notes in the description.
Move from draft to review
Open a draft pull request
Push your branch and create a draft with the GitHub CLI or web interface. Link related work and state what remains before review.
Terminal window gh pr create --draft --title "<type>: <summary>" --body "<change, rationale, and verification>"Complete the change and mark it ready
Address unfinished work, update documentation when behavior or contracts change, and mark the pull request ready for review.
Resolve automated checks
Required checks depend on changed areas. They can include backend formatting and analyzers, backend tests and contracts, frontend boundaries/types/lint/build/tests, documentation lint/fitness/build, and dependency review.
Check the current status with:
Terminal window gh pr checksFix failures and push updates; changed commits rerun affected checks.
Respond to review and merge
Address requested changes, keep the branch conflict-free, and request re-review when ready. Merge only after at least one maintainer approval and all required checks pass. Use the merge method enabled by the repository.
Do not disclose a security vulnerability in a public pull request or issue. Use the project’s private security reporting channel.
For branch naming and synchronization, see Development WorkflowCustom DocDevelopment WorkflowThe daily branch, implementation, verification, formatting, and synchronization loop for BookWorm changes.Ownerarchitecture-enabling-teamOpen doc. For test-layer selection and commands, see Testing MatrixCustom DocTesting MatrixReference tables for test scope, dependencies, local and CI execution triggers, and passing criteria.Ownerarchitecture-enabling-teamOpen doc and Testing ExecutionCustom DocTesting ExecutionHow to run backend, frontend, contract, browser, and documentation checks locally and interpret their results.Ownerarchitecture-enabling-teamOpen doc.