feat: return github_repo and snapshot_id in GET /api/sandboxes#206
Conversation
- Add snapshot_id and github_repo to response for personal API keys - Fetch account snapshot data from account_snapshots table - Return null for both fields when using org keys (no single account) - Update database types to include github_repo column Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📝 WalkthroughWalkthroughThe Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ❌ 1❌ Failed checks (1 warning)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 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 |
Org is an account, so use orgId to fetch snapshot data for org API keys. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Fetch sandbox records and snapshot info in parallel using Promise.all. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Generated via: npx supabase gen types typescript --project-id godremdqwajrwazhbrue Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Summary
snapshot_idandgithub_repofields to GET /api/sandboxes responsegithub_repocolumnTest plan
🤖 Generated with Claude Code
Summary by CodeRabbit