-
-
Notifications
You must be signed in to change notification settings - Fork 852
fix: dev env connection issue #2449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This PR fixes an issue introduced in #2391 where the dev runtime env was not being resolved correctly.
|
Caution Review failedThe pull request is closed. WalkthroughA single change in apps/webapp/app/services/apiAuth.server.ts modifies the Prisma query inside authenticatedEnvironmentForAuthentication for the personalAccessToken path. When slug === "dev", the where clause now conditionally includes orgMember: { userId: user.id } via a spread. This restricts returns to environments associated with the authenticated user as an org member for the "dev" slug. Queries for other slugs are unchanged. The include block (project: true, organization: true) and overall control flow and error handling remain the same. No exported/public entity declarations were altered. Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. 📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (1)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
This PR fixes an issue introduced in #2391 where the dev runtime env was not being resolved correctly.