fix(sentry): set commits explicitly instead of --auto#1690
Conversation
`setCommits: { auto: true }` reads commits from a local .git, which is
excluded from the Docker build (.dockerignore), so commit association
always failed — silently before, and as a hard failure once upload
errors were made fatal.
Pass repo + commit (SENTRY_RELEASE) explicitly instead; Sentry resolves
it via the GitHub integration with no .git needed. Verified against the
real org for both a SHA (staging) and a tag ref (production).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📜 Recent review details⏰ Context from checks skipped due to timeout. (2)
🧰 Additional context used📓 Path-based instructions (1)packages/**/*.{ts,tsx}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
🔇 Additional comments (1)
📝 WalkthroughWalkthroughThe Sentry Vite plugin now associates releases with commits using an explicit repository and a commit SHA read from ChangesSentry release commit mapping
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
setCommits: { auto: true }reads commits from a local .git, which is excluded from the Docker build (.dockerignore), so commit association always failed — silently before, and as a hard failure once upload errors were made fatal.Pass repo + commit (SENTRY_RELEASE) explicitly instead; Sentry resolves it via the GitHub integration with no .git needed. Verified against the real org for both a SHA (staging) and a tag ref (production).
Summary by CodeRabbit