Repository navigation
Tighten release hygiene verification - #440
Conversation
- add a release:verify command and CI hook for public metadata and README hygiene - convert npm-visible README links to stable GitHub URLs - document publish-from-main release verification and add regression coverage Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughAdds a release-hygiene verification script that checks package.json metadata, computes and validates the changelog anchor for the current version, enforces README link stability, integrates the check into CI via an npm script, updates README links to explicit GitHub URLs, and adds tests and docs updates. ChangesRelease Hygiene Verification System
Sequence DiagramsequenceDiagram
participant CI Job
participant release_verify_script as release:verify script
participant RepoFiles as package.json / README.md / CHANGELOG.md
participant GitHub as GitHub blob URL
CI Job->>release_verify_script: run `npm run release:verify`
release_verify_script->>RepoFiles: read package.json, README.md, CHANGELOG.md
release_verify_script->>RepoFiles: compute expected changelog anchor from package.json.version
release_verify_script->>GitHub: compute expected blob URL for changelog entry
release_verify_script->>RepoFiles: assert repository/bugs/homepage fields match GitHub URL
release_verify_script->>RepoFiles: verify README link targets and "What's new" points to computed blob URL
release_verify_script-->>CI Job: exit success or throw on mismatch
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Summary
release:verifycommand and CI check to lock public package metadata, exact changelog links, and npm-stable README URLsmainTest Plan
Closes #416
Summary by CodeRabbit
Documentation
Chores
Tests