|
| 1 | +# Release Diff Review Checklist |
| 2 | + |
| 3 | +## Quick commands |
| 4 | + |
| 5 | +- Sync tags: `git fetch origin --tags --prune`. |
| 6 | +- Identify latest release tag (default pattern `v*`): `git tag -l 'v*' --sort=-v:refname | head -n1` or use `.codex/skills/final-release-review/scripts/find_latest_release_tag.sh`. |
| 7 | +- Generate overview: `git diff --stat BASE...TARGET`, `git diff --dirstat=files,0 BASE...TARGET`, `git log --oneline --reverse BASE..TARGET`. |
| 8 | +- Inspect risky files quickly: `git diff --name-status BASE...TARGET`, `git diff --word-diff BASE...TARGET -- <path>`. |
| 9 | + |
| 10 | +## Breaking change signals |
| 11 | + |
| 12 | +- Public API surface: removed/renamed modules, classes, functions, or re-exports; changed parameters/return types, default values changed, new required options, stricter validation. |
| 13 | +- Protocol/schema: request/response fields added/removed/renamed, enum changes, JSON shape changes, ID formats, pagination defaults. |
| 14 | +- Config/CLI/env: renamed flags, default behavior flips, removed fallbacks, environment variable changes, logging levels tightened. |
| 15 | +- Dependencies/platform: Python version requirement changes, dependency major bumps, `pyproject.toml`/`uv.lock` changes, removed or renamed extras. |
| 16 | +- Persistence/data: migration scripts missing, data model changes, stored file formats, cache keys altered without invalidation. |
| 17 | +- Docs/examples drift: examples still reflect old behavior or lack migration note. |
| 18 | + |
| 19 | +## Regression risk clues |
| 20 | + |
| 21 | +- Large refactors with light test deltas or deleted tests; new `skip`/`todo` markers. |
| 22 | +- Concurrency/timing: new async flows, asyncio event-loop changes, retries, timeouts, debounce/caching changes, race-prone patterns. |
| 23 | +- Error handling: catch blocks removed, swallowed errors, broader catch-all added without logging, stricter throws without caller updates. |
| 24 | +- Stateful components: mutable shared state, global singletons, lifecycle changes (init/teardown), resource cleanup removal. |
| 25 | +- Third-party changes: swapped core libraries, feature flags toggled, observability removed or gated. |
| 26 | + |
| 27 | +## Improvement opportunities |
| 28 | + |
| 29 | +- Missing coverage for new code paths; add focused tests. |
| 30 | +- Performance: obvious N+1 loops, repeated I/O without caching, excessive serialization. |
| 31 | +- Developer ergonomics: unclear naming, missing inline docs for public APIs, missing examples for new features. |
| 32 | +- Release hygiene: add migration/upgrade note when behavior changes; ensure changelog/notes capture user-facing shifts. |
| 33 | + |
| 34 | +## Evidence to capture in the review output |
| 35 | + |
| 36 | +- BASE tag and TARGET ref used for the diff; confirm tags fetched. |
| 37 | +- High-level diff stats and key directories touched. |
| 38 | +- Concrete files/commits that indicate breaking changes or risk, with brief rationale. |
| 39 | +- Tests or commands suggested to validate suspected risks. |
| 40 | +- Explicit release gate call (ship/block) with conditions to unblock. |
0 commit comments