Skip to content

v0.19.0 — ship / start-dev review the base diff before opening the PR

Choose a tag to compare

@kompiro kompiro released this 12 Oct 11:51
ea11554

Changed

  • ship / start-dev: the code review now runs on the branch's diff against its base (git diff origin/main...HEAD) before the PR is opened, not on the draft PR afterwards. The order is: review the base diff → commit the fixes and re-run lint / test → push → gh pr create --draft → gh pr ready. The review fixes are part of the PR's first push, so code that has not been reviewed is never pushed and the draft needs no second push. An automated reviewer such as CodeRabbit still reviews once, when the PR is marked ready. Use the host's review command when it names one (e.g. /engineering:code-review); a command that needs a PR number (/review <pr-number>) cannot run before the PR exists. ship keeps the review step for a branch that is already pushed or already has a PR, and pushes the fixes before gh pr ready. This follows kompiro/karasu ADR-3052, which superseded the order from #88. (#94)

  • ship / start-dev: the PR body separates what a reviewer can verify before merge from what can only be observed or done after it. Manual Verification Checklist now holds only items checkable on the PR's preview or a local checkout; a new Post-merge follow-ups section holds the rest (the next release, the next automated review, a backfill to run once the code is on main). A PR with follow-ups links its Issue with Refs #N instead of Closes #N so the Issue stays open, and cleanup appends the items to the Issue body unless a host workflow already did (per-PR marker <!-- post-merge-followups #<PR> -->). The Issue keeps status: in-review, which pick-issue already excludes, and the user closes it once the items are done. Previously such items sat unchecked in the review checklist at merge time and were lost in the merged PR's body (kompiro/karasu#2957).

Fixed

  • test-perspective / design-doc: a proactive TPL raised under an Issue now takes that Issue's number and names it in discovered_from.issue. The skill and TEMPLATE.md described issue: as the retrospective marker and the PR number as the usual source for proactive TPLs ("proactive TPL は Issue が無いことが多い"), though design-doc opens design docs from Issues and raises proactive TPLs in the same PR. Numbering now has one test: does the work that raises the TPL have an Issue? issue: is the numbering anchor for both origins, and a proactive TPL is recognised by its root_cause_file / root_cause_adr entry. On kompiro/karasu#3025 a proactive TPL-3022 was numbered correctly but left out issue: per the template, and review read it as having no originating Issue (ADR-92). (#92)

Full Changelog: v0.18.0...v0.19.0