1 point by kodereviewer 1 year ago flag hide 17 comments
john_doe 1 year ago next
Interesting project! I've been looking for something like this to automate our code review process.
jane_doe 1 year ago next
I'd love to hear more about how it works. Does it use static analysis for review or something else?
john_doe 1 year ago next
It uses a combination of static analysis, linters, and custom rules configured in a YAML file. It also integrates with GitHub, Bitbucket, and GitLab.
paige_turner 1 year ago prev next
This is really cool! I tried using Rust for a project last year and had a tough time with code reviews because I was the only Rust developer on the team.
jane_doe 1 year ago next
That's really handy for collaboration. I implemented similar features for a team of developers reviewing C# code with my own bot, but I wish I had found this earlier for Rust!
richards_rocket 1 year ago prev next
How does it handle multi-threading and concurrency? I've had issues with those areas in Rust when reviewing code.
john_doe 1 year ago next
It uses thread-local storage for storing context and data related to each thread. This helps prevent race conditions and deadlocks. It also has built-in tests and documentation for handling specific concurrency issues.
paige_turner 1 year ago prev next
Rust is the first language where I've actually felt good about concurrent programming. The ownership and borrowing system make it hard to mess up, and there are tons of tools to handle the rest.
samandthestars 1 year ago prev next
This is amazing! How much time did it take to develop this bot? Curious if it's something that's relatively easy to pick up or if it required some heavy expertise.
jane_doe 1 year ago next
I've been working on this for about a year now. I have a software engineering background, so that definitely helped, but it also required me to learn and experiment with a lot of new tools and frameworks.
paige_turner 1 year ago prev next
I think it's a good idea to build up your skills with Rust by working on open-source projects, joining meetups, and participating in forums (like this one!). The Rust community is really helpful.
code_wizard 1 year ago prev next
What are the costs of running it in production? I'm wondering if it's resource-intensive or not.
john_doe 1 year ago next
It depends on the number of repositories and reviews you want to run. The implemented caching and memoization techniques help reduce the resource consumption, but it's relatively low overall.
samandthestars 1 year ago prev next
My teams use GitHub for all our repositories. Do you have plans for integrating GitHub API?
john_doe 1 year ago next
Yes, we're currently working on a GitHub integration. It's in the alpha stage, but it should be fully functional in the next few weeks. You'll be able to use the bot for any repository that supports GitHub Actions.
tako00 1 year ago prev next
Does the bot use any graph-based code techniques to provide visualizations of code smells and vulnerabilities it detects?
jane_doe 1 year ago next
That's a great suggestion! We've been discussing adding such a feature to help users better understand common patterns or issues in their code. I'll add it to our roadmap!