Avoid duplicate work
Several people (and AI sessions) often work from the same review report or issue list. Before starting anything that will take more than a few minutes:
-
Look for overlap. Run
gh pr list --state all,git log origin/main -15andgit worktree list. A report from the last few days is likely already being worked on. -
Claim the work. Open a draft PR (or an issue) in the first minutes. Put the report or finding IDs in the title, for example
[review-0.20.0 C-01..C-10] .... If a report is shared, split it by finding ID so no two people hold the same items. -
Merge
mainoften.git fetch origin main && git merge FETCH_HEADat least once an hour on a long branch, so a conflicting change shows up early rather than as 29 conflicted files at the end. - Keep PRs small. One concern per PR (fixes, a breaking default change, docs, new checks). Small PRs conflict less and are easy to drop or reorder.
Before you open a PR
- Run both suites: Python
PYTHONPATH=python python -m pytest tests -q, Rdevtools::test(). - Add a
NEWS.mdentry; flag breaking changes as Breaking. - Changes to shared SQL (
inst/sql/) or the DDL must be checked in both languages.
