userId: apiKeyInfo.userId || apiKeyInfo.email,
userId: apiKeyInfo.userId,
This change breaks the user authentication flow in src/auth/userService.ts
by assuming userId is always defined. Consider handling potential undefined values.
Greptile uses abstract syntax trees and call graphs to analyze how changes might affect other parts of your codebase, identifying hard-to-catch bugs and potential issues.
const samlResponse = getSamlResponse(request);
const samlResponse = await getSamlResponse(request);
Will this change impact our SSO authentication flow?
This change doesn't break the SSO flow, but it may introduce additional latency due to the asynchronous nature of the updated SAML response retrieval.
Engage in real-time conversations about your Pull Requests or Merge Requests directly within GitHub or GitLab using Greptile's AI-powered chat feature.
18 files changed, 0 comments.
LGTM! No significant issues detected in this change set.
Unlike verbose AI code reviews, Greptile is designed to provide concise, relevant feedback, minimizing noise and maximizing value in your development workflow.
Tailor Greptile to your team's specific needs. Customize review criteria and coding standards using natural language instructions.
“Our monorepo is too large for most code review tools to get a proper overview, but somehow Greptile just understands how everything connects.”
August Erséus, CPO
Greptile's AI bot provides insightful comments on code changes, considering their impact on the entire codebase and offering valuable recommendations.
The modification in auth.js
has implications for the user flow in profile.js
. Consider updating both files to maintain consistency and prevent potential issues.
The bot addresses potential security or compliance issues produced by changes, enhancing code safety.
The new API endpoint in routes.js
is missing input validation. This could lead to potential security vulnerabilities.
Greptile summarizes changes with codebase context, making it easier for human reviewers to parse and understand modifications.
auth.js
, login.js
, and dashboard.js
auth.js
login.js
dashboard.js
The bot references similar code or abstractions already in the codebase, helping maintain consistency and prevent duplication.
The new utility function in helpers.js
is similar to an existing one in utils/string.js
. Consider using or extending the existing function instead.
Can't find what you're looking for? Don't hesitate to contact us for more information.
Greptile chat is a fixed monthly subscription. API pricing is per request. Code review pricing is usage-based up to $50/developer, than free past that. See our pricing page for more
Yes, you can self-host the entirety of Greptile in your own AWS environment, and even use your own LLM providers for added flexibility.
Greptile offers free usage for qualified open source projects and significant discounts for pre-Series A startups. Contact hello@greptile.com to check your eligibility.
Greptile fully supports Python, JavaScript, TypeScript, Go, Elixir, Java, C, C++, C#, Swift, PHP, and Rust. Most other languages are supported with slightly lower response quality.
Yes, Greptile integrates seamlessly with GitLab and BitBucket in addition to GitHub.
Review times range from 1-5 minutes, depending on the size and complexity of the code changes.
Want to see the code review bot in action? Check out Storybook, an open source project that uses Greptile to review PRs.