Validate package artifact source heads - #529
Conversation
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (7)
📝 WalkthroughWalkthroughThis PR adds published package source repository head validation to prevent opening sessions or minting git-remote capabilities when the artifact repo is unavailable or its default-branch HEAD does not match the published commit. The changes introduce ChangesPublished package source repo head validation
Possibly related PRs
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes 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 docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
🔎 Preview deployed: https://kody-pr-529.kentcdodds.workers.dev Worker: Mocks:
|
Summary
Validation
npx vitest run packages/worker/src/mcp/capabilities/packages/get-git-remote.node.test.ts packages/worker/src/repo/repo-session-do.node.test.ts packages/worker/src/repo/artifacts.node.test.tsnpm run format:checknpm run typechecknpm run validateNotes
Summary by CodeRabbit
Release Notes